x11/fbpanel: pkg fallout at 10.x

Baptiste Daroussin bapt at FreeBSD.org
Fri Dec 20 06:58:29 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131220/5a29a282/attachment.sig>


More information about the freebsd-ports mailing list