From owner-freebsd-ports@FreeBSD.ORG Fri Dec 20 07:47:38 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 63E62955; Fri, 20 Dec 2013 07:47:38 +0000 (UTC) Received: from fep23.mx.upcmail.net (fep23.mx.upcmail.net [62.179.121.43]) by mx1.freebsd.org (Postfix) with ESMTP id 29D8B171F; Fri, 20 Dec 2013 07:47:36 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep23-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20131220074729.XWMN15161.viefep23-int.chello.at@edge04.upcmail.net>; Fri, 20 Dec 2013 08:47:29 +0100 Received: from [127.0.0.1] ([178.84.134.112]) by edge04.upcmail.net with edge id 3jnU1n01g2Rg3Ey03jnUxR; Fri, 20 Dec 2013 08:47:29 +0100 X-SourceIP: 178.84.134.112 Message-ID: <52B3F60E.6050100@rainbow-runner.nl> Date: Fri, 20 Dec 2013 08:47:26 +0100 From: Koop Mast User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Baptiste Daroussin , Boris Samorodov Subject: Re: x11/fbpanel: pkg fallout at 10.x References: <52B3E6DE.8060300@passap.ru> <20131220065824.GE11355@ithaqua.etoilebsd.net> In-Reply-To: <20131220065824.GE11355@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 131219-0, 19-12-2013), Outbound message X-Antivirus-Status: Clean 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 07:47:38 -0000 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