Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2010 22:01:50 -0400
From:      Michael Powell <nightrecon@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How do I fix the broken python26 port in 7.2-RELEASE ?
Message-ID:  <hns1iq$ffq$1@dough.gmane.org>
References:  <510299.56442.qm@web111601.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

This is the wrong distfile.

> => Either /usr/ports/lang/python26/distinfo is out of date, or
> => Python-2.6.1.tgz is spelled incorrectly.
> *** Error code 1
> 
> Stop in /usr/ports/lang/python26.
> *** Error code 1
> 
> Stop in /usr/ports/lang/python26.
> 
> 
> I have no idea how to make this work.  I grepped everywhere for both
> "Python-2.6.1.tgz" and "python26-2.6.4" in an attempt to change them by
> hand, but I cannot find a single file in my filesystem that contains those
> strings, so I have no idea where the ports tree is getting this
> information.
> 
> This was not an odd or non-standard operation - what am I doing wrong ?
> 

I believe something in your juxtaposition of commands in your command line 
above [near beginning of post] has produced an out of order and munged path. 
I haven't built the python26 port anytime recently, but have several django 
related things running fine under it.

What I do is csup the ports tree by itself (not trying to do it at the same 
time on the same command line as the build). I keep my csup housekeeping and 
supfiles in /usr/sup so I just cd /usr/sup and csup -L 2 ports where my 
'ports' file simply contains:

*default host=cvsup.nl.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix compress
ports-all

After the ports tree refresh is finished then I install software by changing 
to the appropriate port directory and do the usual make && make install && 
make clean dance. I also use portupgrade so there are additional 
embellishments for use in an update/upgrade scenario.

Try separating the steps, ala do the ports tree refresh to completion first, 
then attempt to install the port.

-Mike







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hns1iq$ffq$1>