When emerging gnome-mplayer-0.9.6, this error occurs : x86_64-pc-linux-gnu-gcc -Wall -g -DGTK2_12_ENABLED -DGLIB2_14_ENABLED -DGIO_ENABLED -DHAVE_ASOUNDLIB -DHAVE_GCONF -DNOTIFY_ENABLED -DHAVE_MUSICBRAINZ -march=native -O2 -pipe -msse3 -O1 -Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,-zdynsort -Wl,--sort-common -z combreloc -o gnome-mplayer gui.o playlist.o support.o mntent_compat.o main.o dbus-interface.o thread.o -pthread -Wl,--as-needed /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so /usr/lib64/libasound.so /usr/lib64/libnotify.so -L/usr/lib64 /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libdbus-glib-1.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libdirectfb.so /usr/lib64/libfusion.so /usr/lib64/libdirect.so /usr/lib64/libglitz-glx.so /usr/lib64/libGL.so /usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libSM.so -luuid /usr/lib64/libICE.so /usr/lib64/libXi.so /usr/lib64/libXext.so -lpthread /usr/lib64/libglitz.so /usr/lib64/libpng12.so /usr/lib64/libxcb-render-util.so /usr/lib64/libxcb-render.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpango-1.0.so -lm /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libdbus-1.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -lmusicbrainz3 /usr/lib64/libneon.so /usr/lib64/libsocks.so -lnsl -lcrypt -ldl /usr/lib64/libexpat.so /usr/lib64/libdiscid.so /usr/lib64/libcurl.so /usr/lib64/libcares.so /usr/lib64/libidn.so /usr/lib64/libssh2.so -lrt /usr/lib64/libgnutls.so /usr/lib64/libtasn1.so -lz /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so libgmtk/.libs/libgmtk.a libgmlib/.libs/libgmlib.a libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_unset': gm_pref_store.c:(.text+0x36): undefined reference to `gconf_client_unset' libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_set_string': gm_pref_store.c:(.text+0x8e): undefined reference to `gconf_client_unset' gm_pref_store.c:(.text+0xd5): undefined reference to `gconf_client_set_string' libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_get_string': gm_pref_store.c:(.text+0x115): undefined reference to `gconf_client_get_string' libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_set_float': gm_pref_store.c:(.text+0x182): undefined reference to `gconf_client_set_float' libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_get_float': gm_pref_store.c:(.text+0x1d6): undefined reference to `gconf_client_get_float' libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_set_int': gm_pref_store.c:(.text+0x241): undefined reference to `gconf_client_set_int' libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_get_int': gm_pref_store.c:(.text+0x295): undefined reference to `gconf_client_get_int' libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_get_int_with_default': gm_pref_store.c:(.text+0x302): undefined reference to `gconf_client_get_without_default' gm_pref_store.c:(.text+0x318): undefined reference to `gconf_client_get_int' gm_pref_store.c:(.text+0x322): undefined reference to `gconf_value_free' libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_set_boolean': gm_pref_store.c:(.text+0x391): undefined reference to `gconf_client_set_bool' libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_get_boolean_with_default': gm_pref_store.c:(.text+0x3f2): undefined reference to `gconf_client_get_without_default' gm_pref_store.c:(.text+0x408): undefined reference to `gconf_client_get_bool' gm_pref_store.c:(.text+0x412): undefined reference to `gconf_value_free' libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_get_boolean': gm_pref_store.c:(.text+0x475): undefined reference to `gconf_client_get_bool' libgmlib/.libs/libgmlib.a(libgmlib_la-gm_pref_store.o): In function `gm_pref_store_new': gm_pref_store.c:(.text+0x53b): undefined reference to `gconf_client_get_default' collect2: ld returned 1 exit status make[3]: *** [gnome-mplayer] Erreur 1 make[3]: quittant le répertoire « /var/tmp/portage/media-video/gnome-mplayer-0.9.6/work/gnome-mplayer-0.9.6/src » make[2]: *** [all-recursive] Erreur 1 make[2]: quittant le répertoire « /var/tmp/portage/media-video/gnome-mplayer-0.9.6/work/gnome-mplayer-0.9.6/src » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /var/tmp/portage/media-video/gnome-mplayer-0.9.6/work/gnome-mplayer-0.9.6 » make: *** [all] Erreur 2 * * ERROR: media-video/gnome-mplayer-0.9.6 failed. Reproducible: Always Without "gnome" USE flag, the compilation runs fine. Emerge --info is following.
Created attachment 193785 [details] emerge --info
I've had this same today, this is because of -Wl,--hash-style=gnu in LDFLAGS, try removing it. I don't know what has changed from 0.9.5 to 0.9.6 but this is definately a REGRESSION.
Kevin, would you look at this, please?
My compilation looks nothing like that. What options are you using to compile this code... Does ./configure --prefix=/usr make clean make build it correctly? It looks like something in the linker (perhaps the --as-needed) flag isn't working right?
Also someone sent in a patch that should fix this.
(In reply to comment #5) > Also someone sent in a patch that should fix this. > Weird, I could have sworn it was the hash-style, but you are right, it's the -Wl,--as-needed Dunno how I mistested it. :/ Could you attach the patch here please?
(In reply to comment #4) > My compilation looks nothing like that. What options are you using to compile > this code... > > Does > ./configure --prefix=/usr > make clean > make > > build it correctly? It looks like something in the linker (perhaps the > --as-needed) flag isn't working right? > Also no, "make clean" doesn't help here. It's the -Wl,--as-needed.
Created attachment 193805 [details, diff] Patch from the issue on c.g.c Link to the patch. http://code.google.com/p/gnome-mplayer/issues/detail?id=193
Created attachment 193807 [details, diff] Ebuild patch I put in a WANT_AUTOMAKE as it was complaining that "WANT_AUTOMAKE latest" was not correct.
Can someone add http://code.google.com/p/gnome-mplayer/issues/detail?id=193 to the url field?
gnome-mplayer has been patched today to remove the need for libtool. So perhaps someone from the Gentoo team could check SVN. I had this code in freeze for a couple of weeks and the day after it gets released I get these bugs. So perhaps some involvement in the project by a someone using gentoo would help prevent issues like this.
(In reply to comment #9) > Created an attachment (id=193807) [edit] > Ebuild patch > > I put in a WANT_AUTOMAKE as it was complaining that "WANT_AUTOMAKE latest" was > not correct. > Because latest is the default, it's not valid to add default's to the ebuilds. :) Also because this pkg is using autoconf, I've added full eautoreconf instead of eautomake to avoid future cases where running only automake might trigger maintainer-mode.. Thanks guys, patch works and is applied in Portage.