Trying to emerge crystalspace-cvs-0.97 crashes while compiling the python scripting modules. This is due to using MAKEOPTS="-j2". After submitting this bug report I will attach the modified ebuild that ensures this does not happen. Reproducible: Always Steps to Reproduce: 1.emerge crystalspave-cvs (with MAKEOPTS="-j2") 2. 3. Actual Results: compiling stage of the emerge process failed this is the output from the python modules compilation *-------------------------------------------------------------------------* Building Crystal Script Python plug-in Building for UNIX/GCC/X86 in optimize mode *-------------------------------------------------------------------------* g++ -c -o out/UNIX/X86/optimize/plugins/console/output/standard/conbuff.o plugins/console/output/standard/conbuff.cpp -D__CRYSTAL_SPACE__ -Wall -Wno-unknown-pragmas -pipe -march=i586 -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I. -I./apps -I./include -I./libs -I./plugins g++ -c -o out/UNIX/X86/optimize/plugins/console/output/standard/csconout.o plugins/console/output/standard/csconout.cpp -D__CRYSTAL_SPACE__ -Wall -Wno-unknown-pragmas -pipe -march=i586 -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I. -I./apps -I./include -I./libs -I./plugins echo 's/\([ ]*#[ ]*include[ ] [ ]*[<"]Python.h[>"]\)/\'>out/UNIX/X86/derived/python/cspython.sed echo '#ifndef __STDC_CONSTANT_MACROS\'>>out/UNIX/X86/derived/python/cspython.sed echo '#define __STDC_CONSTANT_MACROS\'>>out/UNIX/X86/derived/python/cspython.sed echo '#endif\'>>out/UNIX/X86/derived/python/cspython.sed echo '#ifndef __STDC_LIMIT_MACROS\'>>out/UNIX/X86/derived/python/cspython.sed echo '#define __STDC_LIMIT_MACROS\'>>out/UNIX/X86/derived/python/cspython.sed echo '#endif\'>>out/UNIX/X86/derived/python/cspython.sed echo '#ifndef DEBUG_PYTHON\'>>out/UNIX/X86/derived/python/cspython.sed echo '#undef _DEBUG\'>>out/UNIX/X86/derived/python/cspython.sed echo '#endif\'>>out/UNIX/X86/derived/python/cspython.sed echo '\1/'>>out/UNIX/X86/derived/python/cspython.sed echo '/\$Header:/d'>>out/UNIX/X86/derived/python/cspython.sed g++ -c -o out/UNIX/X86/optimize/cspython.o plugins/cscript/cspython/cspython.cpp -D__CRYSTAL_SPACE__ -Wall -Wno-unknown-pragmas -pipe -march=i586 -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I. -I./apps -I./include -I./libs -I./plugins -I/usr/include/python2.3 -DSWIG_GLOBAL -Wno-unused -Wno-uninitialized In file included from /usr/include/python2.3/Python.h:8, from plugins/cscript/cspython/cspython.cpp:19: /usr/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdio.h:28, from plugins/cscript/cspython/cspython.cpp:18: /usr/include/features.h:131:1: warning: this is the location of the previous definition g++ -c -o out/UNIX/X86/optimize/pytocs.o plugins/cscript/cspython/pytocs.cpp -D__CRYSTAL_SPACE__ -Wall -Wno-unknown-pragmas -pipe -march=i586 -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I. -I./apps -I./include -I./libs -I./plugins -I/usr/include/python2.3 -DSWIG_GLOBAL -Wno-unused -Wno-uninitialized if ! diff ./plugins/console/output/standard/csconout.csplugin ./csconout.csplugin > /dev/null 2>&1 ; then rm -f ./csconout.csplugin ; cp ./plugins/console/output/standard/csconout.csplugin ./csconout.csplugin ; fi g++ -shared -Wl,-soname,csconout.so -o csconout.so out/UNIX/X86/optimize/plugins/console/output/standard/conbuff.o out/UNIX/X86/optimize/plugins/console/output/standard/csconout.o -lcsgeom -lcsutil -ldl -lm -lnsl -Lout/UNIX/X86/optimize -L/usr/local/lib -L/usr/local/lib -lpthread Generate python cs-config extension... swig -python -c++ -shadow -I./include -o out/UNIX/X86/derived/python/cs_pyth.cpp \ ./include/ivaria/cspace.i In file included from /usr/include/python2.3/Python.h:8, from plugins/cscript/cspython/pytocs.cpp:25: /usr/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdint.h:26, from include/cstypes.h:102, from include/csdef.h:27, from include/cssysdef.h:26, from plugins/cscript/cspython/pytocs.cpp:20: /usr/include/features.h:131:1: warning: this is the location of the previous definition *-------------------------------------------------------------------------* Building Crystal Space Python module Building for UNIX/GCC/X86 in optimize mode *-------------------------------------------------------------------------* swig -python -c++ -shadow -I./include -o out/UNIX/X86/derived/python/cs_pyth.cpp \ ./include/ivaria/cspace.i sed -f out/UNIX/X86/derived/python/cspython.sed < out/UNIX/X86/derived/python/cs_pyth.cpp > out/UNIX/X86/derived/python/cs_pyth.cpp.sed sed -f out/UNIX/X86/derived/python/cspython.sed < out/UNIX/X86/derived/python/cs_pyth.cpp > out/UNIX/X86/derived/python/cs_pyth.cpp.sed rm -f out/UNIX/X86/derived/python/cs_pyth.cpp mv out/UNIX/X86/derived/python/cs_pyth.cpp.sed out/UNIX/X86/derived/python/cs_pyth.cpp g++ -c -o out/UNIX/X86/optimize/cs_pyth.o out/UNIX/X86/derived/python/cs_pyth.cpp -D__CRYSTAL_SPACE__ -Wall -Wno-unknown-pragmas -pipe -march=i586 -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I. -I./apps -I./include -I./libs -I./plugins -I/usr/include/python2.3 -DSWIG_GLOBAL -Wno-unused -Wno-uninitialized rm -f out/UNIX/X86/derived/python/cs_pyth.cpp mv out/UNIX/X86/derived/python/cs_pyth.cpp.sed out/UNIX/X86/derived/python/cs_pyth.cpp mv: cannot stat `out/UNIX/X86/derived/python/cs_pyth.cpp.sed': No such file or directory make[1]: *** [out/UNIX/X86/derived/python/cspace.py] Error 1 make: *** [pythmod] Error 2 make: *** Waiting for unfinished jobs.... In file included from out/UNIX/X86/derived/python/cs_pyth.cpp:1187: include/inetwork/socket2.h:26:3: warning: #warning This file is deprecated please use iNetworkSocket if ! diff ./plugins/cscript/cspython/cspython.csplugin ./cspython.csplugin > /dev/null 2>&1 ; then rm -f ./cspython.csplugin ; cp ./plugins/cscript/cspython/cspython.csplugin ./cspython.csplugin ; fi \ g++ -shared -Wl,-soname,cspython.so -o cspython.so out/UNIX/X86/optimize/cs_pyth.o out/UNIX/X86/optimize/cspython.o out/UNIX/X86/optimize/pytocs.o -lcstool -lcsgfx -lcsgeom -lcsutil -ldl -lm -lnsl -Lout/UNIX/X86/optimize -L/usr/local/lib -L/usr/local/lib -lpthread -L/usr/lib/python2.3 -L/usr/lib/python2.3/config -L/usr/lib -L/usr/libs -lpython2.3 -lpthread -ldl -lutil -lm -lpthread \ !!! ERROR: dev-games/crystalspace-cvs-0.97 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message) Expected Results: It should have compiled Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.4.9 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=i686" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -march=i686" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 3dnow 3ds X aalib acl acpi alsa apm arts artswrappersuid ati avi berkdb cdr crypt cups directfb doc dvd encode esd fftw flac foomaticdb gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 hdf5 i8x0 imlib jack java jikes jpeg kde lcms ldap libg++ libwww livecd mad mikmod mmx motif mpeg mpi msn multilib nas ncurses netcdf nls oggvorbis opengl oss pam pdflib perl plotutils png ppds python qt quicktime radeon readline samba sdk sdl slang slp speex spell sse ssl svga tcltk tcpd tetex tiff truetype usb video_cards_radeon wmf x86 xinerama xml xml2 xmms xv zlib"
Created attachment 30364 [details] ebuild that prevents this bug made emake all into emake -j1 all and solved this bug
Fixed in CVS. Thanks for the bug report.