I can build singular-3.0.1.1 with MAKEOPTS="-j1", but it croaks thusly with -j6: gcc -O2 -march=athlon-tbird -I. -DHAVE_CONFIG_H -DOM_NDEBUG -c omalloc.c -o omalloc.o omalloc.c:16:21: omalloc.h: No such file or directory omalloc.c: In function `calloc': omalloc.c:31: error: parse error before "void" omalloc.c: In function `malloc': omalloc.c:41: error: parse error before "void" omalloc.c: In function `realloc': omalloc.c:76: error: parse error before "void" omalloc.c: In function `strdup_': omalloc.c:98: warning: assignment makes pointer from integer without a cast omalloc.c: In function `reallocSize': omalloc.c:115: error: parse error before "void" make[2]: *** [omalloc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... omConfig.h is unchanged creating omlimits.h omlimits.h is unchanged creating omMalloc.h omMalloc.h is unchanged make[2]: Leaving directory `/var/tmp/portage/singular-3.0.1.1/work/Singular-3-0-1/omalloc' make install in ntl /bin/sh: line 0: cd: ntl: No such file or directory make install in factory /bin/sh: line 0: cd: factory: No such file or directory make install in libfac /bin/sh: line 0: cd: libfac: No such file or directory make install in kernel /bin/sh: line 0: cd: kernel: No such file or directory make install in Singular /bin/sh: line 0: cd: Singular: No such file or directory make install in IntegerProgramming /bin/sh: line 0: cd: IntegerProgramming: No such file or directory echo "* do not forget to install Singular-3-0-1-share.tar.gz" * do not forget to install Singular-3-0-1-share.tar.gz make[1]: Leaving directory `/var/tmp/portage/singular-3.0.1.1/work/Singular-3-0-1' >>> Test phase [not enabled]: sci-mathematics/singular-3.0.1.1 >>> Install singular-3.0.1.1 into /var/tmp/portage/singular-3.0.1.1/image/ category sci-mathematics /usr/portage/sci-mathematics/singular/singular-3.0.1.1.ebuild: line 66: cd: /var/tmp/portage/singular-3.0.1.1/work/Singular-3-0-1/ix86-Linux: No such file or directory rm: cannot remove `Singular': No such file or directory !!! ERROR: sci-mathematics/singular-3.0.1.1 failed. !!! Function src_install, Line 69, Exitcode 1 !!! failed to remove Singular !!! If you need support, post the topmost build error, NOT this status message. DreamGate Singular-3-0-1 # DreamGate Singular-3-0-1 # emerge info Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-tbird" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /usr/spool/PBS /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-tbird" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo http://mirror.gentoo.gr.jp ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://ftp.rhnet.is/pub/gentoo/ http://ftp.gentoo.or.kr/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO ftp://194.117.143.72/mirrors/gentoo http://194.117.143.70 http://gentoo.seren.com/gentoo ftp://194.117.143.69/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://212.219.56.146/sites/www.ibiblio.org/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aalib alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts blas bzip2 cairo cdr crypt cups curl dvd dvdr eds emacs emboss encode esd ethereal examples exif expat fam fastcgi ffmpeg firefox flac flash foomaticdb fortran gd gdbm geoip ggi gif glut gmp gpm gstreamer gtk gtk2 guile idn imagemagick imlib ipv6 java jpeg junit kde kdeenablefinal lcms libg++ libwww lm_sensors logitech-mouse mad mdb mhash mikmod ming mmx mmxext mng motif mozilla mp3 mpeg mysql ncurses nls nptl odbc ogg oggvorbis openexr opengl oss pam pcre pdflib perl plotutils png postgres povray python qt quicktime readline ruby samba sdl sndfile spell sqlite ssl svg svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev usb vorbis wmf xemacs xml xml2 xmms xscreensaver xv xvid yaz zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY DreamGate Singular-3-0-1 #
I get the same behavior with MAKEOPTS="-jx", where x > 1. It looks like the makefile doesn't like to be compiled using more than one job. I'll see if I can fix it.
*** Bug 125180 has been marked as a duplicate of this bug. ***
same with 2 jobs. please force 1 job at time. (sorry for duplicate)
Hi folks, Thanks for reporting and I have just updated the singular-3.0.1.2.ebuild force -j1 in emake to prevent build failure. I'll also try to get in touch with upstream and ask them to have a look at this. Thanks, Markus
please reopen, this is not fixed. my bug is completly different. make[3]: Entering directory `/var/tmp/portage/singular-3.0.1.2/work/Singular-3-0-1/ntl/src' make[3]: *** No rule to make target `setup1'. Stop. make[3]: Leaving directory `/var/tmp/portage/singular-3.0.1.2/work/Singular-3-0-1/ntl/src' make[2]: *** [setup1] Error 1 make[2]: Leaving directory `/var/tmp/portage/singular-3.0.1.2/work/Singular-3-0-1/ntl' make install in factory /bin/sh: line 0: cd: factory: No such file or directory make install in libfac /bin/sh: line 0: cd: libfac: No such file or directory make install in kernel /bin/sh: line 0: cd: kernel: No such file or directory make install in Singular /bin/sh: line 0: cd: Singular: No such file or directory make install in IntegerProgramming /bin/sh: line 0: cd: IntegerProgramming: No such file or directory echo "* do not forget to install Singular-3-0-1-share.tar.gz" * do not forget to install Singular-3-0-1-share.tar.gz make[1]: Leaving directory `/var/tmp/portage/singular-3.0.1.2/work/Singular-3-0-1' that's a make target failing. ps. jacub i tink this is not a duplicate so.
found the fix: cd /var/tmp/portage/singular-3.0.1.2/work/Singular-3-0-1/ntl/src ./configure (this writes the Makefile) make.. please fix the ebuild (it seems an upstream bug however)
(In reply to comment #6) > found the fix: > > cd /var/tmp/portage/singular-3.0.1.2/work/Singular-3-0-1/ntl/src > ./configure (this writes the Makefile) > > make.. > > please fix the ebuild (it seems an upstream bug however) > Hi Patrizio, Thanks for reporting! Is this related to the MAKEOPTS issues to which this bug relates, i.e. does it happen only with j2 and up or also with j1? In the latter case it is unrelated to this bug and please reopen your previous bug and we'll deal with the issue there. Thanks, Markus
oki reopening bug 125180 as bug is still there with j1 too. i'll copy solution too.