Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 07:58:24 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Boris Samorodov <bsam@passap.ru>
Cc:        FreeBSD Ports <ports@freebsd.org>
Subject:   Re: x11/fbpanel: pkg fallout at 10.x
Message-ID:  <20131220065824.GE11355@ithaqua.etoilebsd.net>
In-Reply-To: <52B3E6DE.8060300@passap.ru>
References:  <52B3E6DE.8060300@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--Ns7jmDPpOpCD+GE/
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Dec 20, 2013 at 10:42:38AM +0400, Boris Samorodov wrote:
> Hi All!
>=20
> 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: =EF=BF=BD: 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 invocati=
on)
> gmake[2]: *** [fbpanel] Error 1
> -----
>=20
> Full log is here:
> http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-12-19_20h45m51s/l=
ogs/fbpanel-6.1_4.log
>=20
> 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
>=20
> Any help is appreciated. Thanks.
>=20

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: =EF=BF=BD: invalid DSO for symbol `XChangeGC' definition
> //usr/local/lib/libX11.so.6: could not read symbols: Bad value

LDFLAGS+=3D -lX11 should solve this.

regards,
Bapt

--Ns7jmDPpOpCD+GE/
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (FreeBSD)

iEYEARECAAYFAlKz6pAACgkQ8kTtMUmk6EwcHQCfS8crbpJDtHBgjitiIfyFwcM3
BtIAn3V1YszpbPMsxZunJvDvHs5PR+Bt
=wJaR
-----END PGP SIGNATURE-----

--Ns7jmDPpOpCD+GE/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131220065824.GE11355>