Bug 37489 - can't build upower 0.9.10 with glib 2.28.7
Summary: can't build upower 0.9.10 with glib 2.28.7
Status: RESOLVED FIXED
Alias: None
Product: upower
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium critical
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 01:33 UTC by Takahiro HASHIMOTO
Modified: 2011-05-23 01:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Takahiro HASHIMOTO 2011-05-23 01:33:19 UTC
Upower 0.9.10 includes glib-unix.h in src/up-main.c if the version of glib is 2.28.7

But I have checked glib sources, glib-unix.h is found in only 2.29.4, the latest version of glib.

Due to this I can't build upower 0.9.10 with glib 2.28.7 on Gentoo.

I think the version check of glib have to be fixed to the correct one.

Please see the bug report of Gentoo.

http://bugs.gentoo.org/show_bug.cgi?id=367363
Comment 1 Richard Hughes 2011-05-23 01:42:57 UTC
commit 2b42890480f21d55a2516de9126a9d83a54742da
Author: Richard Hughes <richard@hughsie.com>
Date:   Mon May 23 09:42:38 2011 +0100

    Only include glib-unix.h if the GLib version is >= 2.29.4
    
    Many thanks to Takahiro HASHIMOTO for debugging the problem. Fixes fdo#37489


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.