From owner-freebsd-ports@FreeBSD.ORG Fri Feb 7 04:56:12 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 325CA695; Fri, 7 Feb 2014 04:56:12 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (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 C8D941E35; Fri, 7 Feb 2014 04:56:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=9/IbuWOZ2XE8LWW+YNwGMwWup829UBReW7/5C99ivU0=; b=RlW8ld/h63N5+pBDX29LqnUF0/SQUAs7BMCJQOKw90W/amiCxgQgpifziRBaacFxKrD0/o+xdaozV3JoxRNM2xs1XPDLA9yP3aeFEwG6/u3sCCd4aZkA87iD92Q3e5OtfpXXpCSs6VVeDhM8geJLAokCnVjBBtJp2ngt7PsD2gY=; Received: from [39.214.247.190] (port=38490 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1WBcy0-0023fT-SD; Thu, 06 Feb 2014 21:23:06 -0700 Date: Fri, 7 Feb 2014 12:22:51 +0800 From: Erich Dollansky To: Rainer Hurling Subject: Re: graphics/rawtherapee: r342622 crashes on HEAD Message-ID: <20140207122251.05d50784@X220.alogt.com> In-Reply-To: <52F35570.2030404@gwdg.de> References: <52F2952E.3090509@gwdg.de> <52F29CE7.2050208@FreeBSD.org> <20140205212042.GP23872@ithaqua.etoilebsd.net> <52F325AA.4060507@gwdg.de> <20140206075206.GR23872@ithaqua.etoilebsd.net> <52F35570.2030404@gwdg.de> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: Baptiste Daroussin , Dimitry Andric , ports-list freebsd , Matthias Andree 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, 07 Feb 2014 04:56:12 -0000 Hi, I just faced the same problem. On Thu, 06 Feb 2014 10:27:12 +0100 Rainer Hurling wrote: > > > 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 > It looks to me that the entry in libmap.conf is not even needed as there is a link in /usr/local/lib anyway. Rawtherapee is a very sensitive program from my point of view. It works after one update and it crashes after the next. It might also be just random. Erich