ports/138837: lang/python26 compile failure
David Southwell
david at vizion2000.net
Tue Sep 15 09:30:08 UTC 2009
>Number: 138837
>Category: ports
>Synopsis: lang/python26 compile failure
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 15 09:30:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: David Southwell
>Release: Freebsd 7.2-p3
>Organization:
Vision Communications
>Environment:
FreeBSD dns1.vizion2000.net 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Thu Aug 20 12:54:34 BST 2009 david at dns1.vizion2000.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
This is a resubmission of ports/138835: Python compile failure
which was closed prematurely on the grounds the maintainer could not replicate it although the bug has been reported by others.
From: David Southwell <david at vizion2000.net>
Date: Tue, 15 Sep 2009 08:06:57 GMT
Subject: Python compile failure
Send-pr version: www-3.1
Number: 138835
Category: ports
Synopsis: Python compile failure
Severity: serious
Priority: high
Responsible: freebsd-ports-bugs at FreeBSD.org
State: closed
Class: sw-bug
Arrival-Date: Tue Sep 15 08:10:02 UTC 2009
Closed-Date: Tue Sep 15 08:18:07 UTC 2009
Last-Modified: Tue Sep 15 08:50:03 UTC 2009
Originator: David Southwell
Release: 7.2-p3
Organization:
Vision Communications
Environment:
FreeBSD dns1.vizion2000.net 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Thu Aug 20 12:54:34 BST 2009 david at dns1.vizion2000.net:/usr/obj/usr/src/sys/GENERIC amd64
Description:
dns1# cd python26
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.
How-To-Repeat:
attempt compile again
Fix:
Release-Note:
Audit-Trail:
State Changed
From-To: open->closed
By: miwi
When: Tue Sep 15 08:16:58 UTC 2009
Why: Sorry I can't confirm this error:
[10:17] root at miwi /usr/home/miwi/dev/ports/lang/python26# make patch
===> 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/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Lib/plat-freebsd8
/usr/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Lib/plat-freebsd9
/bin/mkdir -p
/usr/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/portbld.static
/usr/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/portbld.shared/Modules
/bin/ln
/usr/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Lib/smtpd.py
/usr/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Tools/scripts/
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'
/usr/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Tools/scripts/2to3
> /usr/home/miwi/dev/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/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Tools/scripts/idle
> /usr/home/miwi/dev/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/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Tools/scripts/pydoc
> /usr/home/miwi/dev/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/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Tools/scripts/smtpd.py
> /usr/home/miwi/dev/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/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Lib/pydoc.py
/usr/bin/sed -i.bak -e 's|^( *prefixes = .*)]$|1, "/usr/local"]|g'
/usr/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Lib/site.py
/usr/bin/sed -i.bak -e 's|^ (..ASDLGEN.*)$| true|g'
/usr/home/miwi/dev/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/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Makefile.pre.in
/usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python2.6|'
/usr/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Misc/python-config.in
> /usr/home/miwi/dev/ports/lang/python26/work/python2.6-config
/usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python-shared2.6|'
/usr/home/miwi/dev/ports/lang/python26/work/Python-2.6.2/Misc/python-config.in
> /usr/home/miwi/dev/ports/lang/python26/work/python-shared2.6-config
===> Applying FreeBSD patches for python26-2.6.2_3
Reply via E-mail
From: David Southwell <david at vizion2000.net>
Date: Tue, 15 Sep 2009 09:30:03 +0100
Please change state to open. This has been closed prematurely. There are other
reports of the same failure.
David
Reply via E-mail
From: David Southwell <david at vizion2000.net>
Date: Tue, 15 Sep 2009 09:20:54 +0100
Also reported to freebsd-ports and freebsd-python lists by:
james chang <james.technew at gmail.com>
on 15th September. I originally reported the bug to the lists last week.
David
_______________________________________________________________________________
_________________________________________________________________________________
From: James Chang <james.technew at gmail.com>
To: freebsd-ports at freebsd.org
CC: python at freebsd.org, perky at freebsd.org
Der Sir,
When I build python26 from FreeBSD ports, it shown me the
following ERROR messages:
====================================================================
<-root->make depend all
===> Vulnerability check disabled, database not found
===> 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 extra patch
/usr/ports/lang/python26/files/extra-patch-configure-pth
===> 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.
Best Regards!
James Chang
Unformatted:
>How-To-Repeat:
Attempt to recompile
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list