Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409875 - nm-applet-0.9.2.0 build failure (missing link to libgnome-keyring)
Summary: nm-applet-0.9.2.0 build failure (missing link to libgnome-keyring)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://git.gnome.org/browse/network-m...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-27 13:35 UTC by Marien Zwart (RETIRED)
Modified: 2012-03-27 14:43 UTC (History)
0 users

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


Attachments
failing build log (build.log,34.81 KB, text/plain)
2012-03-27 13:35 UTC, Marien Zwart (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart (RETIRED) gentoo-dev 2012-03-27 13:35:39 UTC
Created attachment 306857 [details]
failing build log

Building nm-applet-0.9.2.0 on a ~amd64 with part of gnome 3.4 installed (having gnome 3.4 may or may not be necessary to reproduce this) fails like so:

libtool: link: x86_64-pc-linux-gnu-gcc -ggdb -O2 -march=amdfam10 -pipe -Wl,-O1 -o test-upgrade test_upgrade-test-upgrade.o test_upgrade-fake-keyring.o test_upgrade-fake-gconf.o -Wl,--export-dynamic -pthread  -Wl,--as-needed ./../.libs/libgconf-helpers-test.a -lnm-glib -lnm-util -lnm-glib-vpn -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -pthread
test_upgrade-test-upgrade.o: In function `_create_keyring_add_attr_list':
/var/tmp/portage/gnome-extra/nm-applet-0.9.2.0-r1/work/network-manager-applet-0.9.2.0/src/gconf-helpers/tests/test-upgrade.c:240: undefined reference to `gnome_keyring_attribute_list_new'
test_upgrade-test-upgrade.o: In function `test_keyring':
/var/tmp/portage/gnome-extra/nm-applet-0.9.2.0-r1/work/network-manager-applet-0.9.2.0/src/gconf-helpers/tests/test-upgrade.c:140: undefined reference to `gnome_keyring_attribute_list_new'
/var/tmp/portage/gnome-extra/nm-applet-0.9.2.0-r1/work/network-manager-applet-0.9.2.0/src/gconf-helpers/tests/test-upgrade.c:160: undefined reference to `gnome_keyring_attribute_list_new'
./../.libs/libgconf-helpers-test.a(libgconf_helpers_test_la-gconf-helpers.o): In function `_create_keyring_add_attr_list':
/var/tmp/portage/gnome-extra/nm-applet-0.9.2.0-r1/work/network-manager-applet-0.9.2.0/src/gconf-helpers/gconf-helpers.c:122: undefined reference to `gnome_keyring_attribute_list_new'
./../.libs/libgconf-helpers-test.a(libgconf_helpers_test_la-gconf-upgrade.o): In function `vpn_helpers_save_secret':
/var/tmp/portage/gnome-extra/nm-applet-0.9.2.0-r1/work/network-manager-applet-0.9.2.0/src/gconf-helpers/gconf-upgrade.c:614: undefined reference to `gnome_keyring_attribute_list_new'
collect2: ld returned 1 exit status
make[5]: *** [test-upgrade] Error 1

Applying upstream commit 9c01a7a03b0914453308affe68ceee8ccd5324cd ("Fix linking with gnome-keyring in a gconf-helpers test program.") and running eautoreconf fixes this.

I'm afraid I do not know exactly what is necessary to trigger this (I'd previously built nm-applet successfully, a rebuild failed until I applied the patch), but please consider applying it as the extra link shouldn't hurt anywhere. Full (failing) build log attached.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-03-27 14:06:16 UTC
nm-applet-0.9.4.0, which fixes this issue, was added to the tree yesterday.
Comment 2 Marien Zwart (RETIRED) gentoo-dev 2012-03-27 14:16:18 UTC
Right, but nm-applet-0.9.4* is currently in package.mask. Is my build failure tied to the gnome 3.4 stuff I have installed? A dependency tweak/block in nm-applet-0.9.2 seems helpful in that case. Do you have hints on which change/package on my system might have triggered the failure in 0.9.2?
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-03-27 14:43:53 UTC
(In reply to comment #2)
> Right, but nm-applet-0.9.4* is currently in package.mask. Is my build
> failure tied to the gnome 3.4 stuff I have installed?

Yes, I believe that is the case. I experienced the same build failure with nm-applet-0.9.2.0 in gnome-3.4 (which is the reason why I added 0.9.4.0 to portage), but nm-applet-0.9.2.0 builds happily on my gnome-3.2 setup.

I do not know what change in gnome-3.4 causes the build failure in nm-applet-0.9.2.0.

Since networkmanager-0.9.4.x and friends will be unmasked no later than gnome-3.4 is added to portage and unmasked, I believe that additional blockers should not be needed.