From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 4 17:30:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CC8209A8 for ; Tue, 4 Jun 2013 17:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BF8DD1087 for ; Tue, 4 Jun 2013 17:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r54HU2Nb096557 for ; Tue, 4 Jun 2013 17:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r54HU28O096556; Tue, 4 Jun 2013 17:30:02 GMT (envelope-from gnats) Date: Tue, 4 Jun 2013 17:30:02 GMT Message-Id: <201306041730.r54HU28O096556@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Anderson Guzman Subject: Re: ports/179165: graphics/openimageio fail to compile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Anderson Guzman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 17:30:02 -0000 The following reply was made to PR ports/179165; it has been noted by GNATS. From: Anderson Guzman To: Shane Ambler Cc: bug-followup@FreeBSD.org Subject: Re: ports/179165: graphics/openimageio fail to compile Date: Tue, 4 Jun 2013 12:56:49 -0430 Hi Shane, nice to write you again... I'll response to you between lines > I thought the GLIBCXX_3.4.11 came from gcc46 but the same appears to be > generated when building with gcc48. The rpath should end with gcc48 if > you have gcc48 and not gcc46. Yes, the rpath should be gcc48 and not gcc46... > Are you building with gcc48 by adding USE_GCC=4.8 or are you doing > CC=gcc48? Using USE_GCC should add the rpath setting for you. The 2nd try to compile ports/openimageio only I edit GH_COMMIT in MakeFile and /etc/make.conf is untouched... I never try adding USE_GCC=4.8 > > If opencolorio and openimageio are both built with gcc from the base > system you might still get the GLIBCXX linking issue through boost-libs. I checked GLIBCXX strings from libboost 1.52.0: Boost: # strings /usr/local/lib/libboost_filesystem.so | grep GLIBCXX GLIBCXX_3.4 Your comment invite me to check opencolorio GLIBCXX strings and I see that is linking to gcc48 (GLIBCXX_3.4.11), later I uninstalled opencolorio and try to compile it again but with gcc from base. Opencolorio was installed perfectly and later I try to compile openimageio and it compile perfect too... > I'll attach a patch here to fix the gcc48 compilation which I will add > to the 1.1.11 update. You can either save it to > /usr/ports/graphics/openimageio/files/patch-ptex.imageio_ptex_PtexWriter.cpp > or wait for the update to be applied. > When 1.1.11 update is available in ports tree I'll test it with gcc48... Thanks for your time Shane, efforts and fast response, -- Anderson Guzman