From owner-freebsd-ports@FreeBSD.ORG Fri Dec 20 06:58:29 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A3B3B9F for ; Fri, 20 Dec 2013 06:58:29 +0000 (UTC) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1B9421380 for ; Fri, 20 Dec 2013 06:58:28 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id u57so2086184wes.9 for ; Thu, 19 Dec 2013 22:58:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=SZ4J7wuJD1OtsedxJ4rsidUIMJyGsmyeNaa8a+AIUZU=; b=sHMKbR6pF8/Nk037gLEuHSUzIX8ScdG8wOSbmppm8uzU6NKBnYVy4hEsNHNwG2c2m6 yo2dVPkZYzGsqvNqr7lek4BT6Y5Vs5X5RYp7IqoqUjLgXevIwTtnuB5ACAcwZwmeY9NY AuAbkZhUcspicKGlk0vRvuzLgttAd500e1tg4l/jlvse6a/tJ3ZDR6nHcCRrP2E0oW5o deNIgOD4/dZ+uL3Cp3nMBzy62FB4622FgGWC7KOjaIEv2pgS4uP05SlmmRjB+GECT4PC QMCpkPJ03J5Q3yR71/cMyG96aU6uGBnmAXAIZYX3nEwSS+w3pjpYL5YmATPR2xt0RxlE SXKA== X-Received: by 10.194.58.136 with SMTP id r8mr5399498wjq.4.1387522707459; Thu, 19 Dec 2013 22:58:27 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id hb7sm13038302wib.6.2013.12.19.22.58.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 19 Dec 2013 22:58:26 -0800 (PST) Sender: Baptiste Daroussin Date: Fri, 20 Dec 2013 07:58:24 +0100 From: Baptiste Daroussin To: Boris Samorodov Subject: Re: x11/fbpanel: pkg fallout at 10.x Message-ID: <20131220065824.GE11355@ithaqua.etoilebsd.net> References: <52B3E6DE.8060300@passap.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ns7jmDPpOpCD+GE/" Content-Disposition: inline In-Reply-To: <52B3E6DE.8060300@passap.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2013 06:58:29 -0000 --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/--