From owner-freebsd-ports@FreeBSD.ORG Thu Feb 6 09:27:16 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 65720621; Thu, 6 Feb 2014 09:27:15 +0000 (UTC) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A82DF1937; Thu, 6 Feb 2014 09:27:14 +0000 (UTC) Received: from gate.nw-fva.de ([134.76.242.1] helo=pc028.nfv) by mailer.gwdg.de with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1WBLEm-0004u7-J0; Thu, 06 Feb 2014 10:27:12 +0100 Message-ID: <52F35570.2030404@gwdg.de> Date: Thu, 06 Feb 2014 10:27:12 +0100 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: graphics/rawtherapee: r342622 crashes on HEAD References: <52F2952E.3090509@gwdg.de> <52F29CE7.2050208@FreeBSD.org> <20140205212042.GP23872@ithaqua.etoilebsd.net> <52F325AA.4060507@gwdg.de> <20140206075206.GR23872@ithaqua.etoilebsd.net> In-Reply-To: <20140206075206.GR23872@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: Dimitry Andric , Matthias Andree , ports-list freebsd 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, 06 Feb 2014 09:27:16 -0000 Am 06.02.2014 08:52 (UTC+1) schrieb Baptiste Daroussin: > On Thu, Feb 06, 2014 at 07:03:22AM +0100, Rainer Hurling wrote: >> Am 05.02.2014 22:20 (UTC+1) schrieb Baptiste Daroussin: >>> On Wed, Feb 05, 2014 at 09:19:51PM +0100, Matthias Andree wrote: >>>> Am 05.02.2014 21:08, schrieb Dimitry Andric: >>>> >>>>>> #17 0x00000000484c0ee0 in std::__1::locale::id::__next_id () from >>>>>> /usr/local/lib/libc++.so.1 >>>>> >>>>> Hmm, is this a ports version of libc++? I was not aware Baptiste had >>>>> already committed this? :) >>>> >>>> Yes, it is (as a build requisite, but apparently remained installed on >>>> the destination machine), because we need to match the libraries that >>>> the requisites use (Glibmm for one). >>>> >>>> I have given up on compiling RawTherapee with clang++ for now, and use >>>> GCC 4.8 on all systems. RawTherapee is somewhat demanding, especially >>>> at higher optimization level, and kills the 10.0-RELEASE base clang and >>>> Port GCC 4.6 and 4.7, all with internal compiler errors. Since GCC 4.8 >>>> worked for me, I did not bother to send Gerald the details. >>>> >>>> We may want to retry with clang if we've got the next clang version. >>>> Feel free to use Rawtherapee as compiler system test ;) >>>> >>> >>> try with something like this in libmap.conf >>> libc++.so.1 /usr/local/lib/libc++.so.1 >>> If that fixes the problem, then a rpath with /usr/local/lib should be set while >>> building the port >> >> Hmm, I am not very familiar with libmapping. After adding it to >> /etc/libmap.conf I get >> >> #rawtherapee >> Shared object "/usr/local/lib/libc++.so.1" not found, required by >> "rawtherapee" >> >> Thanks for the tip, >> Rainer >> >>> >>> regards, >>> Bapt >>> > > try reinstalling devel/libc++ and keeping the libmap.conf entry, that should do > the trick > > as it was a build only dep it may have been removed. > just remove the line from libmap.conf before reinstalling devel/libc++ and readd > it once it is installed. I commented out libmap.conf entry, reinstalled devel/libc++ and readded libmap.conf entry. After that, I get the same error, when starting rawtherapee. In a second step I tried to rebuild graphics/rawtherapee with the entry in /etc/libmap.conf active. That also fails with: [..snip..] /bin/mkdir -p /usr/ports/graphics/rawtherapee/work/.build Shared object "/usr/local/lib/libc++.so.1" not found, required by "cmake" *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/rawtherapee *** Error code 1 Rainer > > Bapt >