From owner-freebsd-ports@FreeBSD.ORG Sun Jul 19 21:15:27 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C08C1106566C for ; Sun, 19 Jul 2009 21:15:27 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [64.146.239.50]) by mx1.freebsd.org (Postfix) with ESMTP id 963E88FC19 for ; Sun, 19 Jul 2009 21:15:27 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from kstewart2.owt.com (kstewart2.owt.com [64.146.237.228]) (authenticated bits=0) by smtp.owt.com (8.13.8/8.13.8) with ESMTP id n6JKv9kZ020397; Sun, 19 Jul 2009 13:57:09 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=owt.com; s=default; t=1248037030; bh=aBiFBTq1yRZ48eKCzbfkU8VVB0doClum9HlLLUaKPN0=; h=From:To:Subject:Date:Cc:References:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id; b=tIFZgdO5Wkb94 ab1cqy56UCgjwjyhRO9EcedhDAVDE9m8m8gc/HiXtoUMTv6fmYYibxtJLdO7ZWVzvOV kDwAmieihIX1nsz6EWfnrUtINM/PJRAr1OjfWJIg3RyY1yMVzsJeWCZi2O/85XJp6o8 MhDkp04GKuHh3b57UF/nZ10s= From: Kent Stewart To: freebsd-ports@freebsd.org Date: Sun, 19 Jul 2009 13:57:08 -0700 User-Agent: KMail/1.9.10 References: <20090719063924.10d42573@scorpio.seibercom.net> <20090719122327.GB1226@medusa.sysfault.org> <20090719180831.GA82226@misty.eyesbeyond.com> In-Reply-To: <20090719180831.GA82226@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907191357.08666.kstewart@owt.com> Cc: Subject: Re: Unable to build "graphics/gd" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2009 21:15:28 -0000 On Sunday 19 July 2009 11:08:31 am Greg Lewis wrote: > On Sun, Jul 19, 2009 at 02:23:27PM +0200, Marcus von Appen wrote: > > On, Sun Jul 19, 2009, Jerry wrote: > > > On Sun, 19 Jul 2009 13:00:30 +0200 > > > Marcus von Appen wrote: > > > > > > [snip] > > > > > > > Looks like it tries to link against the older version that's still > > > > installed. Try to deinstall gd first, then build and install it > > > > again. > > > > > > Thanks, that fixed it. Strange, but I have not had that problem before. > > > > Just for informational purposes: > > > > It is a problem with how the FreeBSD upgrade tools work and how a port > > (read: application, library, whatever) manages its own build. > > > > Usually a port, in case it links to one of its own components, should do > > that by using the just built component in its build directory. Some of > > them however do not do that but use the complete system environment, > > thus it can happen that they link to e.g. an older version of themselves > > or so, causing anything to fail as you just noticed. > > In this case, the port was trying to link against the just built version > of its shared library, it just also tries to link against some other > libraries from other ports and puts -L/usr/local/lib earlier in the search > path than the path to the newly built libgd.so so the linker picks up > libgd.so from /usr/local/lib and uses that, hence the failure above. I > saw the same problem. > > So just a little variant on what you said. Its trying to do the right > thing but just getting the ordering wrong. I did the recursive pkg_delete as specified in UPDATING and now I have an unworkable KDE. Everything wants to reinstall jpeg-6, which fails because it is already installed. That left me with around 20 modules required by KDE that wouldn't build. When the current portupgrade fails, I will do the PKG_FORCE thing but I shouldn't have to do that. GD not building is just a small piece of the problem. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html