Bug 37489

Summary: can't build upower 0.9.10 with glib 2.28.7
Product: upower Reporter: Takahiro HASHIMOTO <kenya888.en>
Component: generalAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.