bluez-4.63 fails to compile with "undefined reference to `g_strcmp0'", with USE="-consolekit" option Reproducible: Always Steps to Reproduce: 1. emerge =dev-libs/glib-2.22.4 ??? 2. emerge =net-wireless/bluez-4.63 Actual Results: audio/unix.o: In function `.L265': unix.c:(.text+0x2408): undefined reference to `g_strcmp0' serial/proxy.o: In function `remove_proxy': proxy.c:(.text+0x1c8): undefined reference to `g_strcmp0' collect2: ld returned 1 exit status make[1]: *** [src/bluetoothd] Error 1 make: *** [all] Error 2 Expected Results: successful compiling Bluez-4.63 compiles with glib-2.22.4. Due to old & slow hardware, i can't check other versions of glib, maybe they will be ok. P.S.: sorry for my english :) if something is hard to understand, i'll try to make it easy throw email or skype: nazarovyv P.P.S.: i'm working about bluetooth NAP on gentoo machine and can help if somebody is interested in it too.
I doubt "consolekit" USE flag is involved since it only modifies bluetooth.conf :-/ Are your running on a full updated system? Please provide "emerge --info" output and full build.log file
(In reply to comment #1) > I doubt "consolekit" USE flag is involved since it only modifies bluetooth.conf > :-/ > > Are your running on a full updated system? Please provide "emerge --info" > output and full build.log file No, my system is not fully updated. On fully updated system no problems. But when emerging bluez, glib doesn't updates. But must be. It is a bug in ebuild. PS sorry for my english.
What dev-libs/glib version was causing problems for you?
(In reply to comment #3) > What dev-libs/glib version was causing problems for you? > glib-2.22.4
It builds fine for me even with 2.22.4 :-/
Upstream seems to say >= 2.14 should work: ./acinclude.m4: PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.14, dummy=yes, I added that but no help for this bug.
If it still fails for you, please attach full build.log file
(In reply to comment #7) > If it still fails for you, please attach full build.log file >