Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293607 - dev-libs/eggdbus-0.6 fails with parallel make
Summary: dev-libs/eggdbus-0.6 fails with parallel make
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mounir Lamouri (volkmar) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-18 10:40 UTC by Wolfram Schlich (RETIRED)
Modified: 2010-02-23 09:08 UTC (History)
1 user (show)

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


Attachments
Fix parallel make (eggdbus-0.6.ebuild.patch,341 bytes, patch)
2010-02-10 09:09 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2009-11-18 10:40:39 UTC
--8<--
>>> Compiling source in /var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6 ...
make -j3 --load-average=2
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6'
Making all in src
make[2]: Entering directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6/src'
Making all in eggdbus
make[3]: Entering directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6/src/eggdbus'
glib-genmarshal eggdbusmarshal.list --prefix=eggdbus_marshal --header > eggdbusmarshal.h
( top_builddir=`cd ../.. && pwd`; \
          cd . && glib-mkenums --template eggdbusenumtypes.c.template eggdbusinterface.h eggdbusconnection.h eggdbuserror.h eggdbusmessage.h  ) > \
            eggdbusenumtypes.c.tmp && mv eggdbusenumtypes.c.tmp eggdbusenumtypes.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -DPACKAGE_LIBEXEC_DIR=\""/usr/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/etc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\" -DPACKAGE_LOCALSTATE_DIR=\""/var/lib"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LIB_DIR=\""/usr/lib64"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT    -D_EGG_DBUS_COMPILATION -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -O2 -march=nocona -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -c -o eggdbus_binding_tool-eggdbusbindingtool.o `test -f 'eggdbusbindingtool.c' || echo './'`eggdbusbindingtool.c
In file included from ../../src/eggdbus/eggdbuserror.h:29,
                 from eggdbusbindingtool.c:26:
../../src/eggdbus/eggdbustypes.h:31:38: error: eggdbus/eggdbusenumtypes.h: No such file or directory
make[3]: *** [eggdbus_binding_tool-eggdbusbindingtool.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6/src/eggdbus'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6'
make: *** [all] Error 2
make: INTERNAL: Exiting with 4 jobserver tokens available; should be 3!
 * ERROR: dev-libs/eggdbus-0.6 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   49:  Called src_compile
 *   environment, line 3077:  Called _eapi2_src_compile
 *     ebuild.sh, line  629:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =dev-libs/eggdbus-0.6',
 * the complete build log and the output of 'emerge -pqv =dev-libs/eggdbus-0.6'.
 * The complete build log is located at '/var/log/portage/dev-libs:eggdbus-0.6:20091118-094407.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/eggdbus-0.6/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6'
--8<--

With MAKEOPTS="-j1" it compiled fine.
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2009-12-09 15:36:10 UTC
... as you can guess from the log-output it helps to install gtk-doc first.
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2009-12-09 15:36:28 UTC
bah, wrong bug, sorry.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-02-10 09:07:35 UTC
I think you can solve this by adding:

emake -C src/eggdbus eggdbusenumtypes.h

before emake itself, that will ensure the file is there.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-02-10 09:09:54 UTC
Created attachment 219073 [details, diff]
Fix parallel make
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-02-17 10:15:12 UTC
volkmar, ok to apply in tree?
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-02-23 09:08:12 UTC
No response in 2 weeks, so applied the patch,

+  23 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> eggdbus-0.6.ebuild:
+  Fix parallel make wrt #293607, thanks to Wolfram Schlich for reporting.