Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212246 - libbonobo 2.20.3 & 2.20.4 fail to build
Summary: libbonobo 2.20.3 & 2.20.4 fail to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-04 06:53 UTC by G. Gibson
Modified: 2008-03-11 21:17 UTC (History)
0 users

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


Attachments
2.20.3 bulid log (build.log,97.69 KB, text/plain)
2008-03-04 06:55 UTC, G. Gibson
Details
2.20.4 build log (build.log,8.25 KB, text/plain)
2008-03-04 06:55 UTC, G. Gibson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description G. Gibson 2008-03-04 06:53:57 UTC
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.
Comment 1 G. Gibson 2008-03-04 06:55:17 UTC
Created attachment 145249 [details]
2.20.3 bulid log
Comment 2 G. Gibson 2008-03-04 06:55:44 UTC
Created attachment 145250 [details]
2.20.4 build log
Comment 3 Mart Raudsepp gentoo-dev 2008-03-04 17:48:12 UTC
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.
Comment 4 Mart Raudsepp gentoo-dev 2008-03-11 21:17:28 UTC
Done, thanks.