Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341549 - sys-power/upower-0.9.6 breaks with new check added to >=dev-libs/gobject-introspection-0.9.8 when USE="introspection" is set
Summary: sys-power/upower-0.9.6 breaks with new check added to >=dev-libs/gobject-intr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-17 22:56 UTC by Mike Auty (RETIRED)
Modified: 2010-10-18 09:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2010-10-17 22:56:35 UTC
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.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2010-10-17 22:59:06 UTC
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.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-10-18 09:45:32 UTC
+  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.