Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 22:16:39 +0100
From:      David Southwell <david@vizion2000.net>
To:        freebsd-python@freebsd.org
Subject:   python26-2.6.2_3 failed on amd64 Freebsd 7.2
Message-ID:  <200909112216.39823.david@vizion2000.net>

next in thread | raw e-mail | index | archive | help
portupgrade -a failed. I then attempted the following which also failed with 
identical error messages:

dns1# make
===>  Found saved configuration for python26-2.6.2_3
===>  Extracting for python26-2.6.2_3
=> MD5 Checksum OK for python/Python-2.6.2.tgz.
=> SHA256 Checksum OK for python/Python-2.6.2.tgz.
===>  Patching for python26-2.6.2_3
/bin/cp -r /usr/ports/lang/python26/work/Python-2.6.2/Lib/plat-freebsd8  
/usr/ports/lang/python26/work/Python-2.6.2/Lib/plat-freebsd9
/bin/mkdir -p /usr/ports/lang/python26/work/Python-2.6.2/portbld.static 
/usr/ports/lang/python26/work/Python-2.6.2/portbld.shared/Modules
/bin/ln /usr/ports/lang/python26/work/Python-2.6.2/Lib/smtpd.py 
/usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'  
/usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/2to3  > 
/usr/ports/lang/python26/work/`echo 2to3 | /usr/bin/sed -E -e 
's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e 's,(idle|pydoc|python-shared|
python),\12.6,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'  
/usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/idle  > 
/usr/ports/lang/python26/work/`echo idle | /usr/bin/sed -E -e 
's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e 's,(idle|pydoc|python-shared|
python),\12.6,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'  
/usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/pydoc  > 
/usr/ports/lang/python26/work/`echo pydoc | /usr/bin/sed -E -e 
's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e 's,(idle|pydoc|python-shared|
python),\12.6,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'  
/usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/smtpd.py  > 
/usr/ports/lang/python26/work/`echo smtpd.py | /usr/bin/sed -E -e 
's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e 's,(idle|pydoc|python-shared|
python),\12.6,'`
/usr/bin/sed -i.bak -e  's,/usr/doc/python-
docs-,/usr/local/share/doc/python,g'  
/usr/ports/lang/python26/work/Python-2.6.2/Lib/pydoc.py
/usr/bin/sed -i.bak -e  's|^\( *prefixes = .*\)\]$|\1, "/usr/local"]|g'  
/usr/ports/lang/python26/work/Python-2.6.2/Lib/site.py
/usr/bin/sed -i.bak -e  's|^    \(..ASDLGEN.*\)$|       true|g'  
/usr/ports/lang/python26/work/Python-2.6.2/Makefile.pre.in
/usr/bin/sed -i.bak -e  's|*\(..INSTALL_SCRIPT.*\)python-config$|#port \1|'  
/usr/ports/lang/python26/work/Python-2.6.2/Makefile.pre.in
/usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python2.6|'  
/usr/ports/lang/python26/work/Python-2.6.2/Misc/python-config.in > 
/usr/ports/lang/python26/work/python2.6-config
/usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python-shared2.6|'  
/usr/ports/lang/python26/work/Python-2.6.2/Misc/python-config.in > 
/usr/ports/lang/python26/work/python-shared2.6-config
===>  Applying extra patch /usr/ports/lang/python26/files/extra-patch-setup.py
===>  Applying FreeBSD patches for python26-2.6.2_3
1 out of 11 hunks failed--saving rejects to setup.py.rej
=> Patch patch-setup.py failed to apply cleanly.
=> Patch(es) patch-Lib_test_test_threading.py patch-Modules-_ctypes-libffi-
configure patch-Python2.6-Lib_local.py patch-Python_thread__pthread.h applied 
cleanly.
*** Error code 1

Stop in /usr/ports/lang/python26.
*** Error code 1

Stop in /usr/ports/lang/python26.
dns1#
Thanks in advance for any advice

David
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909112216.39823.david>