-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: ui2_util.o: undefined reference to symbol 'XInternAtom' /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'XInternAtom' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line /usr/lib64/libX11.so.6: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status Makefile:373: recipe for target 'gqradio' failed make[3]: *** [gqradio] Error 1 make[3]: Leaving directory '/var/tmp/portage/media-sound/gqradio-1.9.2/work/gqradio-1.9.2/src' Makefile:453: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-sound/gqradio-1.9.2/work/gqradio-1.9.2/src' Makefile:331: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-sound/gqradio-1.9.2/work/gqradio-1.9.2' Makefile:199: recipe for target 'all' failed make: *** [all] Error 2 emake failed * Reproducible: Always Steps to Reproduce: 1.emerge 2.build 3.fail I did add libX11 into the ebuild but not successful Actual Results: build failed in both cases Expected Results: completed build
Created attachment 364120 [details] emerge info
Created attachment 364122 [details] build log for gqradio
can any one point me to the right area to add this into ldconfig,there appears to be no x11 stuff in env.d geoff
(In reply to Geoff Madden from comment #3) > can any one point me to the right area to add this into ldconfig,there > appears to be no x11 stuff in env.d That would be the *wrong* solution. AFAICT, the problem here is simply that binutils 2.23 is bit more strict about things and gqradio fails to link to libX11 directly.
--- gqradio-1.9.2.ebuild +++ gqradio-1.9.2.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/gqradio/gqradio-1.9.2.ebuild,v 1.5 2012/05/05 08:27:48 mgorny Exp $ -EAPI=2 +EAPI=5 +inherit autotools eutils DESCRIPTION="An FM radio tuner app from the people who brought you GQmpeg." HOMEPAGE="http://gqmpeg.sourceforge.net/radio.html" @@ -18,6 +19,11 @@ virtual/pkgconfig sys-devel/gettext" +src_prepare() { + epatch "${FILESDIR}"/${P}-underlinking.patch + eautoreconf +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed." dodoc AUTHORS ChangeLog NEWS README SKIN-SPECS TODO
Created attachment 369052 [details, diff] gqradio-1.9.2-underlinking.patch
(In reply to Ted Tanberry from comment #6) > Created attachment 369052 [details, diff] [details, diff] > gqradio-1.9.2-underlinking.patch Thanks for your time Ted,both patches worked to get a completed compile. Now all I have todo is figure out /dev/radio. Geoff
in portage. thanks for reporting, patch, etc.