From owner-freebsd-ports@FreeBSD.ORG Fri Dec 20 21:39:27 2013 Return-Path: Delivered-To: freebsd-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 F1D6F46A; Fri, 20 Dec 2013 21:39:26 +0000 (UTC) Received: from forward13.mail.yandex.net (forward13.mail.yandex.net [95.108.130.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9F77A1D7A; Fri, 20 Dec 2013 21:39:26 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward13.mail.yandex.net (Yandex) with ESMTP id 1440214228D; Sat, 21 Dec 2013 01:39:17 +0400 (MSK) Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 94692E409B2; Sat, 21 Dec 2013 01:39:16 +0400 (MSK) Received: from 46.38.32.182.tel.ru (46.38.32.182.tel.ru [46.38.32.182]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5ARDtKGzVE-dFoSr35d; Sat, 21 Dec 2013 01:39:15 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) X-Yandex-Uniq: 109dee11-0ee7-46da-afcd-e5619331d560 Message-ID: <52B4B903.5030408@passap.ru> Date: Sat, 21 Dec 2013 01:39:15 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130806 Thunderbird/17.0.7 MIME-Version: 1.0 To: Koop Mast Subject: Re: x11/fbpanel: pkg fallout at 10.x References: <52B3E6DE.8060300@passap.ru> <20131220065824.GE11355@ithaqua.etoilebsd.net> <52B44C2C.4060001@passap.ru> <52B44D7B.7060407@marino.st> <52B4B49D.1070808@rainbow-runner.nl> In-Reply-To: <52B4B49D.1070808@rainbow-runner.nl> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: marino@freebsd.org, bsam@freebsd.org, freebsd-ports@freebsd.org 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 21:39:27 -0000 21.12.2013 01:20, Koop Mast пишет: > On 20-12-2013 15:00, John Marino wrote: >> On 12/20/2013 14:54, Boris Samorodov wrote: >>> 20.12.2013 10:58, Baptiste Daroussin пишет: >>>> On Fri, Dec 20, 2013 at 10:42:38AM +0400, Boris Samorodov wrote: >>>> 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. >>> I've seen some similar commit at the portstree. The problem is: I can't >>> reproduce the errors (hence can't test a fix). >> I've recently seen dozens of similar, new errors on dports/dragonfly. >> It's definitely a pkgconf issue and it just appeared. >> I haven't tracked it done yet, but adding LDFLAGS+= to every broken port >> is not ideal. It's better to figure out which .pc file is broken and >> fix that. > > Should be fixed now, I restored the "old" behaviour. Thank you! -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve