How do I fix the broken python26 port in 7.2-RELEASE ?

Michael Powell nightrecon at hotmail.com
Sat Mar 20 19:11:34 UTC 2010


George Sanders wrote:

> 
> 
>> Virgin 7.2-RELEASE install.
>>
>> I run:
>>
>> csup -h cvsup4.freebsd.org -i ports/lang/python26 -g -L 2
>> /usr/share/examples/cvsup/ports-supfile
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> and now I have a /usr/ports/lang/python26/distinfo that looks like:
>>
>> MD5 (python/Python-2.6.4.tgz) = 17dcac33e4f3adb69a57c2607b6de246
>> SHA256 (python/Python-2.6.4.tgz) =
>> 1a25a47506e4165704cfe2b07c0a064b0b5762a2d18b8fbdad5af688aeacd252 SIZE
>> (python/Python-2.6.4.tgz) = 13322131
>>
>> This looks like mine.
>>
>> Perfect. I'll just do a 'make install' and ...
>>
>> # make install
>> ===> Vulnerability check disabled, database not found
>> ===> Found saved configuration for python26-2.6.4
>> => Python-2.6.1.tgz is not in /usr/ports/lang/python26/distinfo.
>> => Either /usr/ports/lang/python26/distinfo is out of date, or
>> => Python-2.6.1.tgz is spelled incorrectly.
>> *** Error code 1
>>
>> This is the wrong distfile.
> 
> 
> Ok, but as you can see from the paste above, I _do_ have the right
> distfile in my /ports/lang/python26 directory.
> 
> So where is it getting this wrong distfile from, and why is it using it ?
> 
> I am NOT csup'ing and installing the port all in one operation - I am
> doing two distinct things:
> 
> 1. csup ONLY the python26 port

And by doing this and not refreshing the entire ports tree you are trying to 
build with an out of date /usr/ports/Mk. With other ports which have 
dependencies this would become apparent much quicker. Since python26 does 
not, it would seem the bsd.python.mk thinks you should be trying to build 
python 2.6.1.

> 2. make install the python26 port
> 
> Why is this rocket science ?
> 

Dunno - works for me.

-Mike





More information about the freebsd-questions mailing list