After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 655056 - Can't build gnome-settings-daemon due to missing dependency on upower
Can't build gnome-settings-daemon due to missing dependency on upower
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: module sets
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2011-07-21 15:20 UTC by Tobias Mueller
Modified: 2011-07-22 23:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[3.x] Fixed build of gnome-settings-daemon by depending on upower (1.34 KB, patch)
2011-07-21 15:33 UTC, Tobias Mueller
reviewed Details | Review

Description Tobias Mueller 2011-07-21 15:20:07 UTC
Apparently, gnome-settings-daemon needs upower-glib, but upower is not installed.

checking pkg-config is at least version 0.16... yes
checking for GNOME_DESKTOP... yes
checking for COLORD... yes
checking for LIBCANBERRA... yes
checking for LCMS... yes
checking for LIBNOTIFY... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XINPUT... yes
checking for XFIXES... yes
checking for FONTCONFIG... yes
checking for XF86MiscQueryExtension in -lXxf86misc... yes
checking for X11/extensions/xf86misc.h... yes
checking X11/extensions/XKB.h usability... yes
checking X11/extensions/XKB.h presence... yes
checking for X11/extensions/XKB.h... yes
checking for LIBGNOMEKBDUI... yes
checking for GIOUNIX... yes
checking for UPOWER... no
configure: error: Package requirements (upower-glib >= 0.9.1) were not met:

No package 'upower-glib' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables UPOWER_CFLAGS
and UPOWER_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error during phase configure of gnome-settings-daemon: ########## Error running ./autogen.sh --prefix /opt/gnome2 --libdir '/opt/gnome2/lib64'  --disable-gconf-bridge --disable-pulse --disable-packagekit --disable-gudev --disable-smartcard-support --disable-polkit --disable-cups  *** [12/42]


$ jhbuild list gnome-settings-daemon | grep upower | wc -l
0
$


After having upower installed, gnome-settings-daemon built fine.
Comment 1 Tobias Mueller 2011-07-21 15:33:38 UTC
Created attachment 192382 [details] [review]
[3.x] Fixed build of gnome-settings-daemon by depending on upower
Comment 2 Matthias Clasen 2011-07-22 01:32:30 UTC
Review of attachment 192382 [details] [review]:

Looks right for 3.2. I don't think we want to touch 3.0, though.