User-Agent: Build Identifier: When building the new (masked) gnome-base/control-center-2.2.0, the compile fails if the MAKEOPTS is set for a parallel build, i.e. MAKEOPTS="-j2", which is the default configuration. Works fine on a non-parallel build. Reproducible: Always Steps to Reproduce: 1. emerge gnome-base/control-center-2.2.0.ebuild Actual Results: /bin/sh ../../libtool --mode=link gcc -march=pentium4 -O3 -pipe -Wall -o gnome-theme-test gnome-theme-test.o -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lglade-2.0 -lgnome-desktop-2 -lgnomeui-2 -lSM -lICE -lstartup-notification-1 -lbonoboui-2 -lxml2 -lz -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -llinc -lgmodule-2.0 -ldl -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lSM -lICE -L/usr/X11R6/lib -lX11 ../../capplets/common/libcommon.la libtool: link: cannot find the library `../../capplets/common/libcommon.la' make[3]: *** [gnome-theme-test] Error 1 make[3]: *** Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGNOME_ICONDIR=\"/usr/share/pixmaps\" -DG_LOG_DOMAIN=\"capplet-common\" -DINSTALL_PREFIX=\"/usr\" -I../../ -I../../libbackground -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gnome-vfs-module-2.0 -march=pentium4 -O3 -pipe -Wall -c capplet-stock-icons.c -o capplet-stock-icons.o >/dev/null 2>&1 mv -f .libs/capplet-stock-icons.lo capplet-stock-icons.lo make[3]: Leaving directory `/var/tmp/portage/control-center-2.2.0/work/control-center-2.2.0/capplets/common' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/control-center-2.2.0/work/control-center-2.2.0/capplets' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/control-center-2.2.0/work/control-center-2.2.0' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-base/control-center-2.2.0 failed. !!! Function gnome2_src_compile, Line 41, Exitcode 2 !!! compile failure Expected Results: Successful merge
Try setting MAKEOPTS="-j1" while emerging this one (duh i already knew about it). Anyway there's a big fit warning up there in p.mask that it's not yet ready for unmasking.
I can confirm this bug. Though the ebuild is actually _unmasked_ as of today. -j1 doesn't work for me. I'm still 1.2 user, so I use gcc 2.xxx (cd .libs && rm -f libcommon.la && ln -s ../libcommon.la libcommon.la) gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DG NOME_ICONDIR=\""/usr/share/pixmaps"\" -DG_LOG_DOMAIN=\"capplet-common\" -DINSTAL L_PREFIX=\"/usr\" -I../../ -I../../libbackground -DORBIT2=1 -pthread -I/usr/incl ude/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pan go-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/ usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/ include/linc-1.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/us r/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonobou i-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome -vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/ usr/include/libglade-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/gnome-v fs-module-2.0 -O2 -mcpu=i686 -pipe -Wall -c gnome-theme-test.c gnome-theme-test.c: In function `main': gnome-theme-test.c:15: parse error before `monitor_not_added' gnome-theme-test.c:18: `monitor_not_added' undeclared (first use in this functio n) gnome-theme-test.c:18: (Each undeclared identifier is reported only once gnome-theme-test.c:18: for each function it appears in.) gnome-theme-test.c:20: `themes' undeclared (first use in this function) gnome-theme-test.c:28: `list' undeclared (first use in this function) make[3]: *** [gnome-theme-test.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/control-center-2.2.0/work/control-c enter-2.2.0/capplets/common' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/control-center-2.2.0/work/control-c enter-2.2.0/capplets' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/control-center-2.2.0/work/control-c enter-2.2.0' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-base/control-center-2.2.0 failed. !!! Function gnome2_src_compile, Line -6973, Exitcode 2 !!! compile failure :(
I got it to work by setting MAKE_OPTS="". The only reason I unmasked it was that I had been working on my own ebuilds for 2.1.90 and .91 and then these showed up, so it wasn't particularly going to break anything that I hadn't already broken.
dweazle : your problem is different then Andy's, but it should be fixed in the tree now. Anyway, control-center-2.2.0 not being masked was a mistake, so don't upgrade if you wan't to run stable. Andy : MAKE_OPTS does nothing afaik, so it's pure luck. But the problem there should be fixed too in the tree. And MAKEOPTS="" makes all options default (which might just be -j1 or -j2 im not sure).