Hiya, So it turns out upower-0.9.6 won't compile with USE="introspection" when gobject-introspection-0.9.8 or greater is installed. The error message received is: GISCAN UPowerGlib-1.0.gir Namespace is empty; likely causes are: * Not including .h files to be scanned * Broken --identifier-prefix It looks as though upstream are already aware of this and have produced a patch: http://cgit.freedesktop.org/upower/commit/?id=cfd3641501b23ae68beb9656489e8c3077c3dad5 There is an additional commit that looks like it'll clean up some warnings too: http://cgit.freedesktop.org/upower/commit/?id=58f3d9fbdff88173276f05e0d6da2cf864758381 In the interim, a short term solution would be to disable the introspection USE flag.
Seems there's a few other issues coming out of the woodwork. One of the pages (http://osdir.com/ml/blfs-dev/2010-10/msg00006.html) reporting this issue, also points out the following post and patch: http://lists.freedesktop.org/archives/devkit-devel/2010-August/000880.html With more stringent checks introduced by polkit-0.97 causing similar problems.
+ 18 Oct 2010; Samuli Suominen <ssuominen@gentoo.org> upower-0.9.6.ebuild, + +files/upower-0.9.6-introspection.patch, + +files/upower-0.9.6-introspection-2.patch: + Fix building with recent gobject-introspection wrt #341549 by Mike Auty.