Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187243 - sys-block/iscsi-initiator-core-tools-2.3 parallel build fails
Summary: sys-block/iscsi-initiator-core-tools-2.3 parallel build fails
Status: RESOLVED DUPLICATE of bug 198621
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
: 248405 (view as bug list)
Depends on: 198621
Blocks:
  Show dependency tree
 
Reported: 2007-07-31 12:11 UTC by Andreas Kobara
Modified: 2011-08-19 13:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kobara 2007-07-31 12:11:30 UTC
ebuild needs: MAKEOPTS="${MAKEOPTS} -j1"

otherwise when using more parallel jobs the build will fail:

>>> Compiling source in /var/tmp/portage/sys-block/iscsi-initiator-core-tools-2.3/work/iscsi-initiator-core-tools-2.3 ...
gcc -march=pentium4 -O2 -mtune=pentium4 -mmmx -msse -msse2 -pipe -fomit-frame-pointer -DLINUX -Iinclude/ -c src/md5.c
gcc -march=pentium4 -O2 -mtune=pentium4 -mmmx -msse -msse2 -pipe -fomit-frame-pointer -DLINUX -Iinclude/ -c src/initiator_chap.c
gcc -march=pentium4 -O2 -mtune=pentium4 -mmmx -msse -msse2 -pipe -fomit-frame-pointer -DLINUX -Iinclude/ -o initiator_authd src/initiator_authd.c md5.o initiator_chap.o
gcc -march=pentium4 -O2 -mtune=pentium4 -mmmx -msse -msse2 -pipe -fomit-frame-pointer -DLINUX -Iinclude/ -Iinclude/  -o initiator_ctl src/initiator_ctl.c
gcc: initiator_chap.o: No such file or directory
gcc -march=pentium4 -O2 -mtune=pentium4 -mmmx -msse -msse2 -pipe -fomit-frame-pointer -DLINUX -Iinclude/ -Iinclude/  -o initiator_iname src/initiator_iname.c md5.o
make: *** [initiator_authd] Error 1
make: *** Waiting for unfinished jobs....
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-01-14 01:22:53 UTC
herd gets these, per my -dev mail.
Comment 2 Stefan Behte (RETIRED) gentoo-dev Security 2008-03-09 16:03:44 UTC
It does not fail when using -j2 for me, but it does with -j3.

-j1 might be wise.

>>> Emerging (1 of 1) sys-block/iscsi-initiator-core-tools-2.3 to /
 * iscsi-initiator-core-tools-2.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                [ ok ]
 * checking iscsi-initiator-core-tools-2.3.tar.bz2 ;-) ...                                                                                                            [ ok ]
>>> Unpacking source...
>>> Unpacking iscsi-initiator-core-tools-2.3.tar.bz2 to /var/tmp/portage/sys-block/iscsi-initiator-core-tools-2.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-block/iscsi-initiator-core-tools-2.3/work/iscsi-initiator-core-tools-2.3 ...
gcc -Os -march=k8 -fomit-frame-pointer -pipe -msse3 -DLINUX -Iinclude/ -c src/md5.c
gcc -Os -march=k8 -fomit-frame-pointer -pipe -msse3 -DLINUX -Iinclude/ -c src/initiator_chap.c
gcc -Os -march=k8 -fomit-frame-pointer -pipe -msse3 -DLINUX -Iinclude/ -o initiator_authd src/initiator_authd.c md5.o initiator_chap.o
gcc: md5.o: No such file or directory
gcc: initiator_chap.o: No such file or directory
gcc -Os -march=k8 -fomit-frame-pointer -pipe -msse3 -DLINUX -Iinclude/ -Iinclude/  -o initiator_ctl src/initiator_ctl.c
make: *** [initiator_authd] Error 1
make: *** Waiting for unfinished jobs....
 *
 * ERROR: sys-block/iscsi-initiator-core-tools-2.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2313:  Called die
 * The specific snippet of code:
 *       emake all AUTHFLAGS="${CFLAGS}" DEBUGFLAGS="${CFLAGS}" || die "failed to compile"
 *  The die message:
 *   failed to compile
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-block/iscsi-initiator-core-tools-2.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-block/iscsi-initiator-core-tools-2.3/temp/environment'.
 *

 * Messages for package sys-block/iscsi-initiator-core-tools-2.3:

 *
 * ERROR: sys-block/iscsi-initiator-core-tools-2.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2313:  Called die
 * The specific snippet of code:
 *       emake all AUTHFLAGS="${CFLAGS}" DEBUGFLAGS="${CFLAGS}" || die "failed to compile"
 *  The die message:
 *   failed to compile
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-block/iscsi-initiator-core-tools-2.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-block/iscsi-initiator-core-tools-2.3/temp/environment'.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-20 00:07:21 UTC
*** Bug 248405 has been marked as a duplicate of this bug. ***
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-20 00:14:38 UTC
I've worked this around with a -j1 in ebuild; it's not worth looking after this on 2.3 version; when the bump to 3.x happens it might be good to check it out.
Comment 5 Stefan Behte (RETIRED) gentoo-dev Security 2011-08-19 13:15:29 UTC

*** This bug has been marked as a duplicate of bug 198621 ***