From owner-freebsd-ports@FreeBSD.ORG Fri Jul 24 06:15:06 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 89723106564A for ; Fri, 24 Jul 2009 06:15:06 +0000 (UTC) (envelope-from freebsd-ports@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 18D9D8FC19 for ; Fri, 24 Jul 2009 06:15:05 +0000 (UTC) (envelope-from freebsd-ports@dino.sk) Received: from via.dino.sk ([84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Fri, 24 Jul 2009 08:15:01 +0200 id 0002E038.4A695165.00012451 From: Milan Obuch To: Mel Flynn Date: Fri, 24 Jul 2009 08:14:39 +0200 User-Agent: KMail/1.9.10 References: <20090721064034.44a40391@scorpio.seibercom.net> <200907211259.30376.freebsd-ports@dino.sk> <200907231358.03734.mel.flynn+fbsd.ports@mailing.thruhere.net> In-Reply-To: <200907231358.03734.mel.flynn+fbsd.ports@mailing.thruhere.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907240814.43577.freebsd-ports@dino.sk> Cc: freebsd-ports@freebsd.org Subject: Re: Unable to build /x11/kdelibs3 with updated jpeg-7 port 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: Fri, 24 Jul 2009 06:15:06 -0000 On Thursday 23 July 2009 23:58:03 Mel Flynn wrote: > On Tuesday 21 July 2009 02:59:29 Milan Obuch wrote: > > On Tuesday 21 July 2009 12:40:34 Jerry wrote: > > > It appears that the /x11/kdelibs3 ports insists on using the older > > > "libjpeg.so.9" library. Since updating to jpeg-7, this library is > > > no-longer available. Therefore, I cannot build this port. > > > > > > A complete copy of the build log is available here: > > > > > > http://filebin.ca/yrdvkw/kdelibs.log > > > > There is notice in UPDATING, section 20090719, > > > > I found temporary workaround > > > > ln -s /usr/local/lib/libjpeg.so.10 /usr/local/lib/libjpeg.so.9 > > I don't know why people keep advising this, it only makes future upgrades > harder. > Please read again: it is temporary workaround. At least for me. It makes my installed ports working *immediately* with small possibility something will not work at all due some ABI chabge or somesuch. Rebuilding some KDE ports took me couple of days (finding the way, compile etc). The difference - works immediately vs. a week or so without working kde is immense. > The solution is also very simple to determine: > % ldd -a /usr/local/lib/libkdefx.so.6|egrep '(^/|jpeg.so)' How did you determine this is exactly the lib to look into? Just wondering... > /usr/local/lib/libkdefx.so.6: > libjpeg.so.10 => /usr/local/lib/libjpeg.so.10 (0x28b31000) > /usr/local/lib/libqt-mt.so.3: > libjpeg.so.10 => /usr/local/lib/libjpeg.so.10 (0x28b31000) > /usr/local/lib/libpng.so.5: > /lib/libz.so.5: > /usr/local/lib/libXext.so.6: > /usr/local/lib/libX11.so.6: > /usr/local/lib/libSM.so.6: > /usr/local/lib/libICE.so.6: > /usr/local/lib/libXrender.so.1: > /usr/local/lib/libjpeg.so.10: > /usr/lib/libstdc++.so.6: > /lib/libm.so.5: > /lib/libgcc_s.so.1: > /usr/local/lib/libaudio.so.2: > /usr/local/lib/libXt.so.6: > /usr/local/lib/libmng.so.1: > libjpeg.so.10 => /usr/local/lib/libjpeg.so.10 (0x28b31000) > > From this you can tell that you need to rebuild libqt-mt.so.3 and > libmng.so.1. One more step: > % egrep -l '(libqt-mt.so.3|libmng.so.1)' /var/db/pkg/*/+CONTENTS | xargs > grep -h '@comment ORIGIN:' > @comment ORIGIN:graphics/libmng > @comment ORIGIN:x11-toolkits/qt33 > > And those are the ports to rebuild for kdelibs3 to be able to build. After my symlink trick, portmaster rebuilt everything necessary, so aj could remove the symlink afterwards. So I think it was kind of hackish solution, but made my fixing *much* easier and, more important, less stressfull. That's it. Maybe not nice, but really effective. Regards, Milan