python 2.7 missing patch file(s)?
Robert Huff
roberthuff at rcn.com
Wed Nov 13 13:42:22 UTC 2013
Hello:
On a system running:
FreeBSD 10.0-CURRENT #0 r248938: Sun Mar 31 06:24:42 EDT 2013 amd64
with these options:
===> The following configuration options are available for python27-2.7.5_4:
EXAMPLES=on: Build and/or install examples
FPECTL=off: Floating point exception handling
IPV6=on: IPv6 protocol support
NLS=on: Enable Gettext support for the locale module
PTH=off: Threading/multiprocessing via GNU Pth
PYMALLOC=on: Use Python's internal malloc
SEM=on: POSIX semaphores support
THREADS=on: Threading support
====> Options available for the single UCS: you have to select exactly one of them
UCS2=on: Unicode UCS-2 encoding support
UCS4=off: Unicode UCS-4 encoding support
I get this:
===>>> Currently installed version: python27-2.7.5_3
===>>> Port directory: /usr/ports/lang/python27
===>>> Gathering distinfo list for installed ports
===>>> Launching 'make checksum' for lang/python27 in background
===>>> Gathering dependency list for lang/python27 from ports
===>>> Initial dependency check complete for lang/python27
===>>> Starting build for lang/python27 <<<===
===>>> All dependencies are up to date
===> Cleaning for python27-2.7.5_4
===> Found saved configuration for python27-2.7.5_4
===> python27-2.7.5_4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by python27-2.7.5_4 for building
===> Extracting for python27-2.7.5_4
=> SHA256 Checksum OK for python/Python-2.7.5.tar.xz.
/bin/chmod -R og=u-w /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Tools /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Demo
===> Patching for python27-2.7.5_4
/bin/cp -r /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd8 /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd9
/bin/cp -r /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd8 /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd10
/bin/cp -r /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd8 /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd11
/bin/mkdir -p /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/portbld.static /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/portbld.shared/Modules
/bin/ln /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Lib/smtpd.py /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Tools/scripts/
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.7,' /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Tools/scripts/2to3 > /data/port-work/usr/ports/lang/python27/work/`echo 2to3 | /usr/bin/sed -E -e 's,smtpd,smtpd2.7,' -e 's,2to3,2to3-2.7,' -e 's,(idle|pydoc|python-shared|python),\12.7,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.7,' /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Tools/scripts/idle > /data/port-work/usr/ports/lang/python27/work/`echo idle | /usr/bin/sed -E -e 's,smtpd,smtpd2.7,' -e 's,2to3,2to3-2.7,' -e 's,(idle|pydoc|python-shared|python),\12.7,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.7,' /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Tools/scripts/pydoc > /data/port-work/usr/ports/lang/python27/work/`echo pydoc | /usr/bin/sed -E -e 's,smtpd,smtpd2.7,' -e 's,2to3,2to3-2.7,' -e 's,(idle|pydoc|python-shared|python),\12.7,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.7,' /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Tools/scripts/smtpd.py > /data/port-work/usr/ports/lang/python27/work/`echo smtpd.py | /usr/bin/sed -E -e 's,smtpd,smtpd2.7,' -e 's,2to3,2to3-2.7,' -e 's,(idle|pydoc|python-shared|python),\12.7,'`
/usr/bin/sed -i.bak -e 's,/usr/doc/python-docs-,/usr/local/share/doc/python,g' /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Lib/pydoc.py
/usr/bin/sed -i.bak -e 's|^\( *prefixes = .*\)\]$|\1, "/usr/local"]|g' /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Lib/site.py
/usr/bin/sed -i.bak -e 's|^ \(..ASDLGEN.*\)$| true|g; s|[(]LIBDIR[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Makefile.pre.in
/usr/bin/sed -i.bak -e 's|*\(..INSTALL_SCRIPT.*\)python-config$|#port \1|' /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Makefile.pre.in
/usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python2.7|' -e 's|libs = getvar|libs = getvar("LDFLAGS").split() + getvar|' /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Misc/python-config.in > /data/port-work/usr/ports/lang/python27/work/python2.7-config
/usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python-shared2.7|' -e 's|libs = getvar|libs = getvar("LDFLAGS").split() + getvar|' /data/port-work/usr/ports/lang/python27/work/Python-2.7.5/Misc/python-config.in > /data/port-work/usr/ports/lang/python27/work/python-shared2.7-config
cannot open /usr/ports/lang/python27/files/extra-patch-setup.py: No such file or directory
*** [post-patch] Error code 2
Stop in /usr/ports/lang/python27.
*** [build] Error code 1
I'm pretty sure this is not something I broke. Help, please?
Respectfully,
Robert Huff
More information about the freebsd-python
mailing list