From owner-freebsd-ports@FreeBSD.ORG Thu Jan 23 19:04:35 2014 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 73D2FC43 for ; Thu, 23 Jan 2014 19:04:35 +0000 (UTC) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 5E6641F23 for ; Thu, 23 Jan 2014 19:04:35 +0000 (UTC) Received: from eagle.yuri.org (localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id s0NJ4WMx045429; Thu, 23 Jan 2014 11:04:33 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <52E167BF.8050103@rawbw.com> Date: Thu, 23 Jan 2014 11:04:31 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Shane Ambler , ports@freebsd.org Subject: Re: USE_GCC doesn't set rpath References: <52DEE7EE.6010909@rawbw.com> <52DF0346.6000108@ShaneWare.Biz> In-Reply-To: <52DF0346.6000108@ShaneWare.Biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Gerald Pfeifer 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: Thu, 23 Jan 2014 19:04:35 -0000 On 01/21/2014 15:31, Shane Ambler wrote: > I think you will find that qbittorrent will need to be built with the > same gcc version as libtorrent-rasterbar. > > I believe qbittorrent is loading /usr/lib/libstdc++.so.6 then it loads > libtorrent-rasterbar.so.7 which tries to load libstdc++ and it is given > the already open copy which doesn't have GLIBCXX_3.4.15 that it needs to > run. Yes, you are right, thst's what is happening. So if any dependency has USE_GCC set, all dependent packages should also have USE_GCC set. Can ports build infrastructure automatically set USE_GCC for dependent ports? Because doing this by hand in each port is tedious and error prone. Yuri