This is quite similar to bug 341549, except without the existing patches (to my knowledge). Basically gobject-introspection got a bit more strict, and now detects when it's not handed any headers and throws an error. This stops the emerge midway through. It builds fine with USE="-introspection", but that doesn't feel like a real solution... CCLD test-plugins CCLD test-class g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=native -pipe -ggdb -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -c -o /var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/work/gnome-bluetooth-2.32.0/lib/tmp-introspectOuY4uq/GnomeBluetooth-1.0.o /var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/work/gnome-bluetooth-2.32.0/lib/tmp-introspectOuY4uq/GnomeBluetooth-1.0.c g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC --silent gcc -o /var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/work/gnome-bluetooth-2.32.0/lib/tmp-introspectOuY4uq/GnomeBluetooth-1.0 -export-dynamic -O2 -march=native -pipe -ggdb -L. -lgnome-bluetooth -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/work/gnome-bluetooth-2.32.0/lib/tmp-introspectOuY4uq/GnomeBluetooth-1.0.o Namespace is empty; likely causes are: * Not including .h files to be scanned * Broken --identifier-prefix make[4]: *** [GnomeBluetooth-1.0.gir] Error 1 make[4]: Leaving directory `/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/work/gnome-bluetooth-2.32.0/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/work/gnome-bluetooth-2.32.0/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/work/gnome-bluetooth-2.32.0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-wireless/gnome-bluetooth-2.32.0/work/gnome-bluetooth-2.32.0' make: *** [all] Error 2 emake failed
Maybe the following fixes from master could help: http://git.gnome.org/browse/gnome-bluetooth/commit/?id=fd89195dc3173b37e35299b07e673b3ec0253647 http://git.gnome.org/browse/gnome-bluetooth/commit/?id=485f07a4a0679991351af948e29f88ae1709eb1d But I am not sure... if it's still broken even with them, probably a bug should be opened to upstream for letting them know 2.32 branch is broken
Created attachment 253353 [details, diff] gnome-bluetooth-2.32.0-introspection.patch Thanks for finding those! They didn't apply cleanly because gnome-bluetooth had already been bumped to build against gtk-3. (The patches also bumped the minimum required gobject-introspection to 0.9.5), but I found another patch [1] just before the first one of those. That also didn't apply due to gtk-3, but I massaged it a bit and it now seems to compile with the most recent gobject-introspection. I don't have an older gobject-introspection to test if it still builds, so this will need a little more testing, if someone's got the time? [1] http://git.gnome.org/browse/gnome-bluetooth/commit/?id=599ee16645203c90ce500b206f318e65fb711bc3
Hmmm, since my patch ended up being identical (save for where the add and remove lines occur) from the one in upstream gnome bug 630024, it's probably fine to go in the ebuild. I've mentioned in the new upstream bug that it also needs applying to the 2.32 branch for 2.32.1...
+ 19 Dec 2010; Pacho Ramos <pacho@gentoo.org> gnome-bluetooth-2.32.0.ebuild, + +files/gnome-bluetooth-2.32.0-introspection-build.patch: + Fix build with gobject-introspection 0.9, bug #344227 by Mike Auty. +