From owner-freebsd-ports@FreeBSD.ORG Thu Jul 23 21:58:07 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 1C464106566B for ; Thu, 23 Jul 2009 21:58:07 +0000 (UTC) (envelope-from mel.flynn+fbsd.ports@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id A46288FC15 for ; Thu, 23 Jul 2009 21:58:05 +0000 (UTC) (envelope-from mel.flynn+fbsd.ports@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 9AA8E7E818; Thu, 23 Jul 2009 13:58:04 -0800 (AKDT) From: Mel Flynn To: freebsd-ports@freebsd.org Date: Thu, 23 Jul 2009 13:58:03 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <20090721064034.44a40391@scorpio.seibercom.net> <200907211259.30376.freebsd-ports@dino.sk> In-Reply-To: <200907211259.30376.freebsd-ports@dino.sk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200907231358.03734.mel.flynn+fbsd.ports@mailing.thruhere.net> Cc: Milan Obuch 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: Thu, 23 Jul 2009 21:58:07 -0000 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=20 harder. The solution is also very simple to determine: % ldd -a /usr/local/lib/libkdefx.so.6|egrep '(^/|jpeg.so)' /usr/local/lib/libkdefx.so.6: libjpeg.so.10 =3D> /usr/local/lib/libjpeg.so.10 (0x28b31000) /usr/local/lib/libqt-mt.so.3: libjpeg.so.10 =3D> /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 =3D> /usr/local/lib/libjpeg.so.10 (0x28b31000) =46rom this you can tell that you need to rebuild libqt-mt.so.3 and libmng.= so.1.=20 One more step: % egrep -l '(libqt-mt.so.3|libmng.so.1)' /var/db/pkg/*/+CONTENTS | xargs gr= ep=20 =2Dh '@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. =2D-=20 Mel