Date: Sat, 5 Jun 2004 22:31:28 -0400 From: Andrew J Caines <A.J.Caines@halplant.com> To: FreeBSD ports <FreeBSD-Ports@FreeBSD.org> Subject: bsd.port.mk/bsd.python.mk broken? lang/python clean and INDEX build errors Message-ID: <20040606023128.GA87036@hal9000.halplant.com>
next in thread | raw e-mail | index | archive | help
Latest ports cvsuped. # cd /usr/ports/lang/python # make clean sed: 1: "s!%%instruction!g ": unescaped newline inside substitute pattern "/usr/ports/Mk/bsd.port.mk", line 2494: warning: "echo %%PREFIX%%/lib | /usr/bin/sed -e s!%%PYVER%%!2.3!g -e s!%%PYTHON_INCLUDEDIR%%!Illegal!g -e s!%%instruction!g -e s!%%include/python2.3!g -e s!%%PYTHON_LIBDIR%%!Illegal!g -e s!%%instruction!g -e s!%%lib/python2.3!g -e s!%%PYTHON_PLATFORM%%!freebsd4!g -e s!%%PYTHON_SITELIBDIR%%!Illegal!g -e s!%%instruction!g -e s!%%lib/python2.3/site-packages!g -e s!%%PYTHON_VERSION%%!python2.3!g -e s!%%X86_ONLY%%!""!g -e s!%%32BIT_ONLY%%!""!g -e s!%%OSREL%%!4.10!g -e s!%%PREFIX%%!%D!g -e s!%%LOCALBASE%%!/usr/local!g -e s!%%X11BASE%%!/usr/X11R6!g -e s!%%PORTDOCS%%!""!g -e s!%%PORTOBJFORMAT%%!elf!g -e s!%%XAWVER%%!7!g -e s!%%PERL_VERSION%%!5.8.2!g -e s!%%PERL_VER%%!5.8.2!g -e s!%%PERL_ARCH%%!mach!g -e s!%%SITE_PERL%%!lib/perl5/site_perl/5.8.2!g -e s!%%DOCSDIR%%!"share/doc/python"!g -e s!%%EXAMPLESDIR%%!"share/examples/python"!g -e s!%%DATADIR%%!"share/python"!g" returned non-zero status sed: 1: "s!%%instruction!g ": unescaped newline inside substitute pattern "/usr/ports/Mk/bsd.port.mk", line 2494: warning: "echo %%PREFIX%%/lib | /usr/bin/sed -e s!%%PYVER%%!2.3!g -e s!%%PYTHON_INCLUDEDIR%%!Illegal!g -e s!%%instruction!g -e s!%%include/python2.3!g -e s!%%PYTHON_LIBDIR%%!Illegal!g -e s!%%instruction!g -e s!%%lib/python2.3!g -e s!%%PYTHON_PLATFORM%%!freebsd4!g -e s!%%PYTHON_SITELIBDIR%%!Illegal!g -e s!%%instruction!g -e s!%%lib/python2.3/site-packages!g -e s!%%PYTHON_VERSION%%!python2.3!g -e s!%%X86_ONLY%%!""!g -e s!%%32BIT_ONLY%%!""!g -e s!%%OSREL%%!4.10!g -e s!%%PREFIX%%!%D!g -e s!%%LOCALBASE%%!/usr/local!g -e s!%%X11BASE%%!/usr/X11R6!g -e s!%%PORTDOCS%%!""!g -e s!%%PORTOBJFORMAT%%!elf!g -e s!%%XAWVER%%!7!g -e s!%%PERL_VERSION%%!5.8.2!g -e s!%%PERL_VER%%!5.8.2!g -e s!%%PERL_ARCH%%!mach!g -e s!%%SITE_PERL%%!lib/perl5/site_perl/5.8.2!g -e s!%%DOCSDIR%%!"share/doc/python"!g -e s!%%EXAMPLESDIR%%!"share/examples/python"!g -e s!%%DATADIR%%!"share/python"!g" returned non-zero status ===> Cleaning for python-2.3.4 sed: 1: "s!%%instruction!g ": unescaped newline inside substitute pattern "/usr/ports/Mk/bsd.port.mk", line 2494: warning: "echo %%PREFIX%%/lib | /usr/bin/sed -e s!%%PYVER%%!2.3!g -e s!%%PYTHON_INCLUDEDIR%%!Illegal!g -e s!%%instruction!g -e s!%%include/python2.3!g -e s!%%PYTHON_LIBDIR%%!Illegal!g -e s!%%instruction!g -e s!%%lib/python2.3!g -e s!%%PYTHON_PLATFORM%%!freebsd4!g -e s!%%PYTHON_SITELIBDIR%%!Illegal!g -e s!%%instruction!g -e s!%%lib/python2.3/site-packages!g -e s!%%PYTHON_VERSION%%!python2.3!g -e s!%%X86_ONLY%%!""!g -e s!%%32BIT_ONLY%%!""!g -e s!%%OSREL%%!4.10!g -e s!%%PREFIX%%!%D!g -e s!%%LOCALBASE%%!/usr/local!g -e s!%%X11BASE%%!/usr/X11R6!g -e s!%%PORTDOCS%%!""!g -e s!%%PORTOBJFORMAT%%!elf!g -e s!%%XAWVER%%!7!g -e s!%%PERL_VERSION%%!5.8.2!g -e s!%%PERL_VER%%!5.8.2!g -e s!%%PERL_ARCH%%!mach!g -e s!%%SITE_PERL%%!lib/perl5/site_perl/5.8.2!g -e s!%%DOCSDIR%%!"share/doc/python"!g -e s!%%EXAMPLESDIR%%!"share/examples/python"!g -e s!%%DATADIR%%!"share/python"!g" returned non-zero status The updates which might include something relevant are: Edit ports/Mk/bsd.port.mk Add delta 1.490 2004.05.31.18.07.57 pav Checkout ports/lang/python/Makefile Edit ports/lang/python/files/patch-configure Add delta 1.10 2004.06.04.05.21.57 perky ..though I don't see what's relevant in those changes. I've not seen this error except with lang/python and ports which depend on it (which are quite a few thanks to the libxml2 default include - overridable with WITHOUT_PYTHON). The index build also failed with ----8<---- Generating INDEX.tmp - please wait..===> archivers/alz2zip failed: "/usr/ports/Mk/bsd.python.mk", line 143: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.python.mk", line 143: Malformed conditional (!empty(_PYTHON_VERSION_MINIMUM) && ( ${_PYTHON_VERSION} < ${_PYTHON_VERSION_MINIMUM})) "/usr/ports/Mk/bsd.python.mk", line 146: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.python.mk", line 146: Malformed conditional (!empty(_PYTHON_VERSION_MAXIMUM) && ( ${_PYTHON_VERSION} > ${_PYTHON_VERSION_MAXIMUM})) "/usr/ports/Mk/bsd.port.mk", line 1184: if-less endif "/usr/ports/Mk/bsd.port.mk", line 1184: Need an operator make: fatal errors encountered -- cannot continue *** Error code 1 ******************************************************************** Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. If so, then report the failure to ports@FreeBSD.org together with relevant details of your ports configuration (including FreeBSD version, environment and /etc/make.conf settings). ******************************************************************** *** Error code 1 Stop in /data/ports. *** Error code 1 ----8<---- Perhaps the bsd.python.mk changes[1] are to blame. It is worth noting that this may be a local problem, as I've been beating this system and its ports very hard since the last update, however I don't believe I have done anything non-standard which might affect this. [1] http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.python.mk -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040606023128.GA87036>