GNOME Bugzilla – Bug 637797
nautilus-actions-3.0.2 compile failure
Last modified: 2010-12-22 23:14:54 UTC
Created attachment 176870 [details] nautilus-actions-3.0.2 build.log I am attempting to put together a package for Gentoo and can't figure out how to get past this error; /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wmissing-prototypes -ansi -Wno-overlength-strings -Wformat=2 -march=native -O2 -pipe -ggdb -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o test-virtuals test-virtuals.o -Wl,--export-dynamic -pthread -lgconf-2 -lxml2 -lnautilus-extension -lgtop-2.0 -lSM -lICE -luuid -lunique-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgmodule-2.0 -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lnautilus-extension ../../src/core/.libs/libna-core.so: undefined reference to `dbus_g_proxy_new_for_name' ../../src/core/.libs/libna-core.so: undefined reference to `uuid_unparse_lower' ../../src/core/.libs/libna-core.so: undefined reference to `dbus_g_bus_get' ../../src/core/.libs/libna-core.so: undefined reference to `dbus_g_connection_unref' ../../src/core/.libs/libna-core.so: undefined reference to `uuid_generate' collect2: ld returned 1 exit status make[3]: *** [test-reader] Error 1 make[3]: *** Waiting for unfinished jobs.... Here is the bug on Gentoo Bugzilla with the same error from 2.30.3, down at the bottom. http://bugs.gentoo.org/show_bug.cgi?id=104816
When I run configure and make in my home directory it completes fine.
*** Bug 637764 has been marked as a duplicate of this bug. ***
somebody should learn how to mark duplicate bugs. 637764 was filled first and it has more informations, like what cause of the failure. 637764->637797
@Ionut: thanks for your constructive comment. I will try to act better in the future. Promis. Nonetheless, thanks to both for having taken the time to open these bug reports. Unfortunately, I am not familiar with Gentoo environment. I have so spent our hour before finding http://www.gentoo.org/proj/en/qa/asneeded.xml. It would have been nice to have this link in the bug report, too. The issue has been fixed in master. Regards Pierre @dabbott: PS: I do not see any reason for the build being successful in your home directory, and not elsewhere. I must admit that I do not have searched for that as I have reproduced the bug in my own home..
@Pierre is built successfully in his home folder because LDFLAGS is not set in the environment, compared with emerge or whatever it has, in which case is automatically exporting LDFLAGS from their configuration file
@Pierre thanks for your prompt reply and quick fix :)