i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPREFIX=\"/usr\" -DBONOBO_LIBDIR=\"/usr/lib\" -DBONOBO_DATADIR=\"/usr/share\" -DBONOBO_PIXMAPDIR=\"/usr/share/pixmaps\" -DBONOBO_BINDIR=\"/usr/bin\" -DBONOBO_LOCALSTATEDIR=\"/var/lib\" -DBONOBO_LOCALEDIR=\"/usr/share/locale\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=GETTEXT_PACKAGE -DG_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"Bonobo\" -DVERSION=\"2.20.3\" -march=pentium4 -msse2 -O3 -pipe -Wno-error -MT bonobo-main.lo -MD -MP -MF .deps/bonobo-main.Tpo -c bonobo-main.c -o bonobo-main.o >/dev/null 2>&1 bonobo-moniker.c: In function `bonobo_moniker_set_parent': bonobo-moniker.c:79: error: `G_GNUC_PRETTY_FUNCTION' undeclared (first use in this function) bonobo-moniker.c:79: error: (Each undeclared identifier is reported only once bonobo-moniker.c:79: error: for each function it appears in.) bonobo-moniker.c: In function `bonobo_moniker_get_parent': bonobo-moniker.c:111: error: `G_GNUC_PRETTY_FUNCTION' undeclared (first use in this function) bonobo-moniker.c: In function `impl_set_name': bonobo-moniker.c:280: error: `G_GNUC_PRETTY_FUNCTION' undeclared (first use in this function) make[3]: *** [bonobo-moniker.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/bonobo-main.Tpo .deps/bonobo-main.Plo make[3]: Leaving directory `/var/tmp/portage/gnome-base/libbonobo-2.20.3/work/libbonobo-2.20.3/bonobo' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnome-base/libbonobo-2.20.3/work/libbonobo-2.20.3/bonobo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-base/libbonobo-2.20.3/work/libbonobo-2.20.3' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge libbonobo 2. 3. Actual Results: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPREFIX=\"/usr\" -DBONOBO_LIBDIR=\"/usr/lib\" -DBONOBO_DATADIR=\"/usr/share\" -DBONOBO_PIXMAPDIR=\"/usr/share/pixmaps\" -DBONOBO_BINDIR=\"/usr/bin\" -DBONOBO_LOCALSTATEDIR=\"/var/lib\" -DBONOBO_LOCALEDIR=\"/usr/share/locale\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=GETTEXT_PACKAGE -DG_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"Bonobo\" -DVERSION=\"2.20.3\" -march=pentium4 -msse2 -O3 -pipe -Wno-error -MT bonobo-main.lo -MD -MP -MF .deps/bonobo-main.Tpo -c bonobo-main.c -o bonobo-main.o >/dev/null 2>&1 bonobo-moniker.c: In function `bonobo_moniker_set_parent': bonobo-moniker.c:79: error: `G_GNUC_PRETTY_FUNCTION' undeclared (first use in this function) bonobo-moniker.c:79: error: (Each undeclared identifier is reported only once bonobo-moniker.c:79: error: for each function it appears in.) bonobo-moniker.c: In function `bonobo_moniker_get_parent': bonobo-moniker.c:111: error: `G_GNUC_PRETTY_FUNCTION' undeclared (first use in this function) bonobo-moniker.c: In function `impl_set_name': bonobo-moniker.c:280: error: `G_GNUC_PRETTY_FUNCTION' undeclared (first use in this function) make[3]: *** [bonobo-moniker.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/bonobo-main.Tpo .deps/bonobo-main.Plo make[3]: Leaving directory `/var/tmp/portage/gnome-base/libbonobo-2.20.3/work/libbonobo-2.20.3/bonobo' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnome-base/libbonobo-2.20.3/work/libbonobo-2.20.3/bonobo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-base/libbonobo-2.20.3/work/libbonobo-2.20.3' make: *** [all] Error 2 Expected Results: libbonobo merged. both 2.20.3 and 2.20.4 break build at the same point, whether I use gcc3.46, or gcc4.22.
Created attachment 145249 [details] 2.20.3 bulid log
Created attachment 145250 [details] 2.20.4 build log
Same deal as bug 212163 Note that this happens only with glib-2.15.x, which is a development version that you must have from an overlay (you didn't include emerge --info despite the need to do so, so I don't know which). However, I'm glad that you reported this, as we need to identify all packages that fail with glib-2.15.x in this manner (G_GNUC_FUNCTION related) and fix them prior to adding soon-to-be-officially-out stable glib-2.16 to the tree, rather than fix them after the breakage in portage tree. Thanks. We need to filter out the -DG_DISABLE_DEPRECATED being passed to gcc, basically.
Done, thanks.