Subject: pkg/36758: py-flup fails to build.
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: B Harder <brad.harder@gmail.com>
List: pkgsrc-bugs
Date: 08/09/2007 17:55:04
>Number:         36758
>Category:       pkg
>Synopsis:       py-flup not building
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 09 17:55:04 +0000 2007
>Originator:     "B Harder" <brad.harder@gmail.com>
>Release:        NetBSD 4.0_BETA2
>Organization:
        methodlogic.net
>Description:
Error on building py-flup-2311:

        => Unwrapping files-to-be-installed.
        ===> Installing for py24-flup-2311
        => Creating installation directories
        (cd /usr/pkgsrc/www/py-flup/work/flup-0.5/ && /usr/bin/env
USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -p
thread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= CC=cc
CFLAGS=-O2\ -mtune=pentium-m\ -I/usr/pkg/include/py
thon2.4\ -I/usr/include CPPFLAGS=-I/usr/pkg/include/python2.4\
-I/usr/include CXX=c++ CXXFLAGS=-O2\ -mtune=pentium-m\ -I/usr/pk
g/include/python2.4\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=f77
FC=f77 FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSA
GES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C
LDFLAGS=-L/usr/pkg/lib/python2.4/config\
-Wl,-R/usr/pkg/lib/python2.4/config\ -L/usr
/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R
PATH=/usr/pkgsrc/www/py-flup/work/.wrapper/bin:/usr/pkgsrc/www/py
-flup/work/.buildlink/bin:/usr/pkgsrc/www/py-flup/work/.gcc/bin:/usr/pkgsrc/www/py-flup/work/.tools/bin:/usr/pkg/bin:/sbin:/usr
/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/pkg/bin:/us
r/pkg/xorg/bin PREFIX=/usr/pkg PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp
CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE
_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive
X11BASE=/usr/pkg/xorg X11PREFIX=/usr/pkg PKGMANDIR=
man MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no
BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 555
BS
D_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 555
BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\
-m\ 555 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 444
BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\
 wheel\ -m\ 444 BSD_INSTALL=/usr/bin/install
BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755
BSD_INS
TALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755
BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ whee
l\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\
-m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o
\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\
root\ -g\ wheel\ -m\ 555 BSD_INSTALL_GAME_DATA=/usr/b
in/install\ -c\ -o\ root\ -g\ wheel\ -m\ 444
BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755
INSTALL_IN
FO= MAKEINFO=/usr/pkgsrc/www/py-flup/work/.tools/bin/makeinfo PKG_CONFIG=
PKG_CONFIG_LIBDIR=/usr/pkgsrc/www/py-flup/work/.build
link/lib/pkgconfig:/usr/pkgsrc/www/py-flup/work/.buildlink/share/pkgconfig
PKG_CONFIG_LOG=/usr/pkgsrc/www/py-flup/work/.pkg-con
fig.log WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg
/usr/pkg/bin/python2.4  setup.py "install"  -c -O1 --single
-version-externally-managed)
        running install
        error: You must specify --record or --root when building system
packages
        *** Error code 1

>How-To-Repeat:
        make update in pkgsrc/www/py-flup
>Fix:

------=_Part_7997_17908634.1186681722932
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

&gt;Submitter-Id:&nbsp; net<br>&gt;Originator:<br>&gt;Organization:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://methodlogic.net">methodlogic.net</a><br>&gt;Confidential:&nbsp; no<br>&gt;Synopsis:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; py-flup not building<br>&gt;Severity:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; serious
<br>&gt;Priority:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; medium<br>&gt;Category:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pkg<br>&gt;Class:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sw-bug<br>&gt;Release:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NetBSD 4.0_BETA2<br>System: NetBSD manchester 4.0_BETA2 NetBSD 4.0_BETA2 (manchester) #45: Sun Aug 5 15:55:55 PDT 2007 
root@manchester:/usr/obj/sys<br>/arch/i386/compile/manchester i386<br>Architecture: i386<br>Machine: i386<br>&gt;Description:<br>Error on building py-flup-2311:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; Unwrapping files-to-be-installed.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ===&gt; Installing for py24-flup-2311
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; Creating installation directories<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (cd /usr/pkgsrc/www/py-flup/work/flup-0.5/ &amp;&amp; /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\&nbsp; PTHREAD_LDFLAGS=\ -p<br>thread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= CC=cc CFLAGS=-O2\ -mtune=pentium-m\ -I/usr/pkg/include/py
<br>thon2.4\ -I/usr/include CPPFLAGS=-I/usr/pkg/include/python2.4\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -mtune=pentium-m\ -I/usr/pk<br>g/include/python2.4\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSA
<br>GES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib/python2.4/config\ -Wl,-R/usr/pkg/lib/python2.4/config\ -L/usr<br>/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/www/py-flup/work/.wrapper/bin:/usr/pkgsrc/www/py
<br>-flup/work/.buildlink/bin:/usr/pkgsrc/www/py-flup/work/.gcc/bin:/usr/pkgsrc/www/py-flup/work/.tools/bin:/usr/pkg/bin:/sbin:/usr<br>/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/pkg/bin:/us
<br>r/pkg/xorg/bin PREFIX=/usr/pkg PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE<br>_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/pkg/xorg X11PREFIX=/usr/pkg PKGMANDIR=
<br>man MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 555 BS<br>D_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 555 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\
<br>-m\ 555 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 444 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\<br>&nbsp;wheel\ -m\ 444 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INS
<br>TALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ whee<br>l\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o
<br>\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 555 BSD_INSTALL_GAME_DATA=/usr/b<br>in/install\ -c\ -o\ root\ -g\ wheel\ -m\ 444 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 INSTALL_IN
<br>FO= MAKEINFO=/usr/pkgsrc/www/py-flup/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/pkgsrc/www/py-flup/work/.build<br>link/lib/pkgconfig:/usr/pkgsrc/www/py-flup/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/www/py-flup/work/.pkg-con
<br>fig.log WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg /usr/pkg/bin/python2.4&nbsp; setup.py &quot;install&quot;&nbsp; -c -O1 --single<br>-version-externally-managed)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; running install<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error: You must specify --record or --root when building system packages
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *** Error code 1<br><br>&gt;How-To-Repeat:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make update in pkgsrc/www/py-flup<br>&gt;Fix:<br><br>

------=_Part_7997_17908634.1186681722932--

>Unformatted:
 ------=_Part_7997_17908634.1186681722932
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 System: NetBSD manchester 4.0_BETA2 NetBSD 4.0_BETA2 (manchester) #45: Sun
 Aug 5 15:55:55 PDT 2007 root@manchester:/usr/obj/sys
 /arch/i386/compile/manchester i386
 Architecture: i386
 Machine: i386