Gregory Wright | 1 Mar 2004 18:38
Picon

Re: pfaedit fixed, now onto maxima errors


Hi Will,

Thanks for the update. I'll leave the maxima-lisp port name as it is. 
If there are people
who have trouble in the next couple of weeks we can guide them through 
a work-around.

I understand the trouble with the DP code. At my old company, I wrote 
the networking
code for test equipment in C, but the interface group wrote the 
configuration code in Tcl.
And there were always surprises in the Tcl code....

(Of course, I could crash the box in 120 nanoseconds, but that's a 
different story ;-) )

Best Wishes,
Greg

On Mar 1, 2004, at 11:14 AM, Will Barton wrote:

> Greg,
>
> I don't think you should rename the port.  The problem is a bug in the 
> uninstall code... and a very difficult one to fix due to the way 
> receipts are named.  Obviously this problem was one of the 
> inspirations for my new receipts code.
>
> Right now the uninstall code just does a glob and assumes everything 
> after a '-' is part of the version (IIRC).  We discussed it about a 
> month or so ago, and I had a regexp that will fix that but will also 
> miss some other ports (I think the problem at that point were 
> characters in the version string).
>
> As far as I can remember, we decided it was best to rewrite the whole 
> thing than to commit a half-fix... although this problem does keep 
> biting.  I can't see myself having very much time to work on my port 
> images/registry code this week, although Paul is continuing to work on 
> it.  Hopefully next week I will have some more time and we can get 
> this stuff in (the zope-* ports have this problem as well, and it 
> annoys the heck out of me constantly).
>
> -Will
>
> On Feb 29, 2004, at 5:46 PM, Gregory Wright wrote:
>
>>
>> Shantou,
>>
>> The problem is if there is a '-' in the name field of the Portfile. 
>> The current parsing mechanism
>> assumes that everything after the first '-' is the version. So 
>> maxima-lisp-2.29 installs as
>> 'maxima', version 'lisp-2.29'. The directory name under which the 
>> Portfile lives is not involved.
>>
>> Getting rid of the '-' in the name field fixes the problem. But this 
>> is likely to come up again,
>> since fftw-3 has a '-' in its name too. It is probably being confused 
>> with fftw, but the issue
>> has not come to the fore because no other port depends on fftw-3.
>>
>> Greg
>>
>>
>> On Feb 29, 2004, at 4:15 PM, Shantonu Sen wrote:
>>
>>> Wait, is the problem having a port with "-" in the name? I count 
>>> over 200 of those in darwinports right
>>> now, so....
>>>
>>> I guess if you really want you can rename the port. Anthony, can you 
>>> just remove the old
>>> receipt? Should be in /opt/local/var/db/dports/receipts/, named 
>>> maxima- something
>>>
>>> Shantonu
>>>
>>>
>>> On Feb 29, 2004, at 11:30 AM, Gregory Wright wrote:
>>>> Ugh. I can rename the maxima-lisp port to maxima_lisp or maximalisp 
>>>> if that will work
>>>> around the problem for now. I held off doing so before because the 
>>>> consensus of the list
>>>> seemed to be that Port Images would be added soon. As always, the 
>>>> last 10 percent of the
>>>> work takes 90 percent of the time....
>>>>
>>>> What do people think? My preference is to use the underscore '_'. 
>>>> Will that cause any
>>>> problems?
>>>>
>>>> Best Wishes,
>>>> Greg
>>>>
>>>> _______________________________________________
>>>> Darwinports mailing list
>>>> Darwinports <at> opendarwin.org
>>>> http://www.opendarwin.org/mailman/listinfo/darwinports
>>>
>>
>> _______________________________________________
>> Darwinports mailing list
>> Darwinports <at> opendarwin.org
>> http://www.opendarwin.org/mailman/listinfo/darwinports
>>
>

Gmane