Just for fun, I uninstalled everything...

Bryan Blackburn blb at macports.org
Tue Jun 2 21:28:06 PDT 2009


On Tue, Jun 02, 2009 at 09:20:04PM -0700, Scott Haneda said:
> On Jun 2, 2009, at 9:05 PM, Bryan Blackburn wrote:
>
>> On Tue, Jun 02, 2009 at 08:46:03PM -0700, Scott Haneda said:
>>> I ran a sudo port -df uninstall installed
>>> I then ran a local port install assp I am working on, any idea what  
>>> is up
>>> with netaddr-ip.  It is my port file, and it worked before.
>>>
>>> --->  Attempting to fetch NetAddr-IP-4.023.tar.gz from ftp://ftp.cpan.org/pub/CPAN/modules/by-module/NetAddr
>> [...more fetch failures...]
>>
>> It looks like that particular version of the distfile isn't available on
>> CPAN, so it fails to fetch.  4.024 (the current port version) is  
>> available,
>> as well as the latest 4.026.
>>
>> If it worked before I'm guessing you had the 4.023 distfile then, and 
>> ended
>> up deleting it via some method (clean --all, clean --dist, or manual  
>> removal
>> of files in ${prefix}/var/macports/distfiles/perl5).
>
>
> Good, my thoughts exactly.  So when someone makes a port file, and they 
> target a version number, it is only reliably going to work for the period 
> of time from that s-ware having that version number, up to the point in 
> time that version is bumped to a higher version?

Actually it is realiable as long as the given version's distfile is
available; older versions of NetAddr-IP are available, but 4.023 isn't (for
whatever reason) one of them, but 4.007 is...

>
> How do you suggest I edit this port file to make it bullet proof?  One  
> way would be for me to host the file, or for ports to host the file, or 
> there is a third way to bring reliability to this situation I am not 
> seeing.

If the distfile is available then the port should be fine; the MacPorts'
mirror [1] can usually keep these, but for this particular port 4.024 was
the first version ever in MacPorts.

Bryan

[1] - <http://distfiles.macports.org/>


>
> Thanks
> -- 
> Scott * If you contact me off list replace talklists@ with scott@ *
>


More information about the macports-dev mailing list