From owner-freebsd-ports@FreeBSD.ORG Tue Feb 11 22:02:18 2014 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 76E09C48 for ; Tue, 11 Feb 2014 22:02:18 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E416F1771 for ; Tue, 11 Feb 2014 22:02:17 +0000 (UTC) Received: from mandree.no-ip.org ([92.228.137.179]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LobGI-1VWprB3J1e-00gVa6 for ; Tue, 11 Feb 2014 23:02:16 +0100 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id C760823CEEB; Tue, 11 Feb 2014 23:02:13 +0100 (CET) Message-ID: <52FA9DE5.9080503@gmx.de> Date: Tue, 11 Feb 2014 23:02:13 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Rainer Hurling , freebsd-ports@freebsd.org Subject: Re: PATCH: Re: graphics/rawtherapee: r342622 crashes on HEAD References: <706bd12f0dfa77b042ec36685b08c572.squirrel@mx.waitman.net> <20140209223228.GR80056@ithaqua.etoilebsd.net> <20140209223830.GS80056@ithaqua.etoilebsd.net> <53abb5a25f86f9c10fabcabb83e4157d.squirrel@mx.waitman.net> <20140210104037.7dcaf6b0@X220.alogt.com> <52F895F3.6070606@FreeBSD.org> <20140211010834.384f8a34@X220.alogt.com> <52F95186.9010503@FreeBSD.org> <52F9E549.4070205@gwdg.de> <52F9E8DB.6070301@gmx.de> <52F9F16E.6040809@gwdg.de> In-Reply-To: <52F9F16E.6040809@gwdg.de> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:yJk15j3tDlnKOe0GSITSbWKJ4meuC4zhtkoXTvVfXCCEYmvypsC 72gqhfsZm7K8gYw/+g+q+tAxQBHoP+y+vAVOFhD4sJh22swxM4EPqyqIzTmEtkksOt8Cl0N Va53oC+AwaWKLIPlIIB+ZckaYl7Nkiv7JXnx211qXLh5hIT8ZK57b+/H0zVxeQMN1LYhsRs Ic6TVsB95XJ+66sEeLOFA== Cc: Koop Mast , Baptiste Daroussin 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: Tue, 11 Feb 2014 22:02:18 -0000 Am 11.02.2014 10:46, schrieb Rainer Hurling: > I just recognized another issue, what I think is not intended. > > Newest graphics/rawtherapee installs and uses devel/libc++. This wanted > behaviour is included in the ports Makefile for OpenMP reasons. > > As a side effect, other ports with c++ usage also seem to grab > devel/libc++, even if devel/libc++ is not mentioned in the ports > Makefile. You can try this by rebuilding and reinstalling e.g. > graphics/darktable. This leads to I think that is an artifact of the same library being installed in two places. As far as I understood bapt@ (Cc'd), the idea is that the port mirrors the c++ library we have in the base system, and both are compatible, and particularly, they have the same ABI. Basically we need the libc++ headers to make use of libc++'s inline namespace so that rawtherapee references libc++'s symbols (in the std::__1:: namespace) rather than libstdc++ (in the std:: namespace). If you are willing to experiment, you should be able to deinstall libc++ now, and both darktable and rawtherapee should continue to work with the base libc++. > #pkg info -r libc++-200683 > libc++-200683: > rawtherapee-4.0.12_1 > darktable-1.2.3_3 > > #ldd /usr/local/bin/darktable | grep c++ > libc++.so.1 => /usr/local/lib/libc++.so.1 (0x4690e000)