Date: Fri, 20 Dec 2013 08:47:26 +0100 From: Koop Mast <kwm@rainbow-runner.nl> To: Baptiste Daroussin <bapt@FreeBSD.org>, Boris Samorodov <bsam@passap.ru> Cc: FreeBSD Ports <ports@freebsd.org> Subject: Re: x11/fbpanel: pkg fallout at 10.x Message-ID: <52B3F60E.6050100@rainbow-runner.nl> In-Reply-To: <20131220065824.GE11355@ithaqua.etoilebsd.net> References: <52B3E6DE.8060300@passap.ru> <20131220065824.GE11355@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 20-12-2013 7:58, Baptiste Daroussin wrote: > On Fri, Dec 20, 2013 at 10:42:38AM +0400, Boris Samorodov wrote: >> Hi All! >> >> The last week I started to get pkg-fallout@ emails about x11/fbpanel >> error: >> ----- >> cc panel.o misc.o plugin.o gtkbar.o bg.o gtkbgbox.o ev.o run.o xconf.o >> gconf.o gconf_panel.o gconf_plugins.o -o fbpanel -L/usr/local/lib >> -lglib-2.0 -lintl -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 >> -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 >> -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig >> -L/usr/local/lib -lfreetype -Wl,--export-dynamic -lgmodule-2.0 >> -pthread -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib >> -lglib-2.0 -lintl -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 >> -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 >> -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig >> -L/usr/local/lib -lfreetype >> /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition >> //usr/local/lib/libX11.so.6: could not read symbols: Bad value >> cc: error: linker command failed with exit code 1 (use -v to see invocation) >> gmake[2]: *** [fbpanel] Error 1 >> ----- >> >> Full log is here: >> http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-12-19_20h45m51s/logs/fbpanel-6.1_4.log >> >> However I can not reproduce it myself: >> http://gw.wart.ru/bulk/10-i386-testing/2013-12-19_21h02m40s/logs/fluxbox-1.3.5.log >> http://gw.wart.ru/bulk/10-amd64-testing/2013-12-19_21h01m49s/logs/fluxbox-1.3.5.log >> >> Any help is appreciated. Thanks. >> > That is probably a gtk2 upgrade fallout. > > gtk2 pkgconfig file is not adding -lX11 to LDFLAGS anymore. > > In general: on FreeBSD 10+, the ld(1) behaviour has been changed so that it does > not recursively get the DT_NEEDED from libraries it linked binaries to. > > Meaning in that case something exposes a X function to fbpanel, but does not > tell it is needs to link to X11 > >> /usr/bin/ld: �: invalid DSO for symbol `XChangeGC' definition >> //usr/local/lib/libX11.so.6: could not read symbols: Bad value > LDFLAGS+= -lX11 should solve this. > > regards, > Bapt Yeah this is my fault, will fix. --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52B3F60E.6050100>