From owner-freebsd-ports@FreeBSD.ORG Fri Feb 12 11:25:19 2010 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 B0520106566B for ; Fri, 12 Feb 2010 11:25:19 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp108.prem.mail.ac4.yahoo.com (smtp108.prem.mail.ac4.yahoo.com [76.13.13.47]) by mx1.freebsd.org (Postfix) with SMTP id 4FF6B8FC12 for ; Fri, 12 Feb 2010 11:25:19 +0000 (UTC) Received: (qmail 25690 invoked from network); 12 Feb 2010 11:25:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type; b=h+Rmcv+GblET8cXOQxFRyMbe5YItvr84jDt7JimHF0Fu44MSr6uEXzfewOa3UaixyU29QyB2alAMgHVZtWpKG+bLJf+rRm/rXfW0VE6x9HnQDHJowTfUve262pNG1l4hHCQSgt0STu6uLkCMbJ5hWIIT/WwWSaKTuwgBM1V5Z2w= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp108.prem.mail.ac4.yahoo.com with SMTP; 12 Feb 2010 03:25:18 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: YYtP2yEVM1mYpXo1Ce8Vr1YhZX.iO1gKl65NQmROnbmEJGuMh5UyurXZ6fXKqgSu59wMGjRZGiSSxJBXe_FNF4gyEWkL.NvjjU2Js7LIMHUHbnXY_.Sbh_uQCRfEICmFDZK1xwIidQUH6jIhfUlAanS7s6CeP_kEI7J.TjxxBhDitbk7p1GOuNSnB7puIbpXqyU1CCbVeduaoNDHqf3KD_9QqH5.zztXdgS1uue1Mi8Luzcp_VY80JNEayGJj_yGKkoO3bqpL_ndWhJKSxMHBnEISe1giExIMigiUflUQTByUbm2JuzVpKrPF2WIQMti7FrlbgSMXGknR_ZL X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id B42EB22855 for ; Fri, 12 Feb 2010 06:25:17 -0500 (EST) Date: Fri, 12 Feb 2010 06:25:06 -0500 From: Jerry To: freebsd-ports@freebsd.org Message-ID: <20100212062506.247d25d5@scorpio.seibercom.net> In-Reply-To: <4B7516AA.3010600@black-earth.co.uk> References: <6790187d1002112022q1a0dcd1dxbf9accdba50167c9@mail.gmail.com> <4B7516AA.3010600@black-earth.co.uk> Organization: seibercom.net X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/HBAR46YWQoZmm0VDSz8IAW2"; protocol="application/pgp-signature" Subject: Re: FreeBSD Ports Problem - Please help X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 11:25:19 -0000 --Sig_/HBAR46YWQoZmm0VDSz8IAW2 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 12 Feb 2010 08:51:54 +0000 Matthew Seaman articulated: > On 12/02/2010 04:22, M M wrote: > > I followed the FreeBSD guidebook and tried to install the ports > > 'graphics/sane-backends' and 'graphics/sane-frontends', but when I > > did this, FreeBSD told me I needed the latest installation of > > graphics/jpeg (which happened to be jpeg-8, and I only had jpeg-7 > > installed on my machine). > >=20 > > So If I remember correctly, I ended up using *Portupgrade* for this > > process. I believe I ran 'Portupgrade -ai' which took quite a long > > time. Portupgrade worked great or whatever Port updating command I > > ran did a wonderful job....it updated the graphics/jpeg port on my > > machine. >=20 > The root of the problem you're seeing is due to the change in the > libjpeg.so ABI version: libjpeg.so.10 is installed by jpeg-8, but most > of your apps want to link against libjpeg.so.9 installed by jpeg-7. > Rebuilding all out of date ports (via portupgrade -a) should have been > the correct action to fix that. However, some problems with the > update were discovered and subsequently fixed. Have you seen this > entry from /usr/ports/UPDATING? >=20 > 20100205: > AFFECTS: users of qt 3 and kde 3 > AUTHOR: itetcu@FreeBSD.org >=20 > When building qt33 and kdelibs3 (at least), while they are > installed, because > of -L/usr/local/lib being passed too soon, the currently installed > libs are > used instead of the ones from the build. This makes the build fail > if you updated any of the libs this qt / kde libs are linked against > (like libjpeg). >=20 > For the moment the workaround, when you get to this, is to move the > old lib > out of the way, e.g.: > mv /usr/local/lib/libqt-mt.so /usr/local/lib/libqt-mt.so.old && \ > cd /usr/ports/x11-toolkits/qt33/ && make && \ > mv /usr/local/lib/libqt-mt.so.old /usr/local/lib/libqt-mt.so && \ > portmaster -C x11-toolkits/qt33 > (or portupgrade -w qt-33\*), etc. >=20 > I suggest the best thing to try first is: update your ports tree to > the latest using csup(1) or portsnap(8) or however you'ld usually do > it. >=20 > Forcibly delete whatever libjpeg you have installed, and then > reinstall jpeg-8: >=20 > # pkg_delete -f jpeg-\* (This will give you alarming warning > messages, which you can ignore) > # cd /usr/ports/graphics/jpeg > # make install > # pkgdb -F >=20 > Apply the advice above to move the incorrectly linked shlibs out of > the way and rebuild them properly. This might make things work again. >=20 > If it doesn't try and identify any binaries in /usr/local/bin that > link against missing shlibs and re-install the ports that supply them. > Do that by running ldd(1) against the apps. Eg. like this: >=20 > % ldd /usr/local/bin/psi > /usr/local/bin/psi: > libz.so.5 =3D> /lib/libz.so.5 (0x285ff000) > libXss.so.1 =3D> /usr/local/lib/libXss.so.1 (0x28611000) > libaspell.so.16 =3D> /usr/local/lib/libaspell.so.16 (0x28614000) > libQtDBus.so.4 =3D> /usr/local/lib/qt4/libQtDBus.so.4 > (0x286cc000) [... etc ...] >=20 > What you're looking for are lines that say 'libfoo =3D> not found (0x0)' > For any such, work out what port supplies that application, and > reinstall it: >=20 > # pkg_which /usr/local/bin/psi > # portupgrade -f `pkg_which /usr/local/bin/psi` >=20 > That's going to be long-winded and tedious, but should still be a bit > quicker than force-reinstalling everything that depends on jpeg, kde > and qt. >=20 > > Any advice would be greatly appreciated. At this point I am waiving > > the white flag and I would love to just get back to my original > > configuration and forget about installing the image scanner. Above > > all else, I am just trying to avoid a total reinstall of FreeBSD > > 8.0. >=20 > There's no need to go that far. If you want to take a nuke-and-repave > approach, you can do it by deleting and reinstalling just the affected > ports. In extremis, you could do something like this: >=20 > * Make a note of all the ports you have installed already that > depend on libjpeg: >=20 > % pkg_info -Rx jpeg > ports-I-want-installed >=20 > * Blow away libjpeg and everything that links against it: >=20 > # pkg_deinstall -fr graphics/jpeg >=20 > * Reinstall what you want from ports-I-want-installed. If you > choose the important leaf ports first (the ones that provide the > apps you actually use) then most of the ports on that list will > get automatically reinstalled as dependencies. >=20 > Cheers, >=20 > Matthew I have been experiencing a similar problem. I cannot locate libjpeg.so.10 on my system after the update. I do have this version however: $ locate libjpeg.so.11 /usr/local/lib/libjpeg.so.11 however, nothing wants to link against it. --=20 Jerry gesbbb@yahoo.com |::::=3D=3D=3D=3D=3D=3D=3D |::::=3D=3D=3D=3D=3D=3D=3D |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D | I'm for bringing back the birch, but only for consenting adults. =0D Gore Vidal --Sig_/HBAR46YWQoZmm0VDSz8IAW2 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJLdTqdAAoJEGnxpuiKsj5SNKwIAITIFH44TZYBlZn5kEHAzmrD DBmj+GBjKOCEURmRtL7CHvgfd5iZemnZ7bueeCagOlxwZRJEMAxW1blyqoziV/ue QRp0o1xL0N8OtZP6Tias9fFrWn8g9g1wlzBYBZulAIS3jUOAGnRy5TBMLCCicrUP OIzOESH15WSV5+m04ZlQ3Hgemgk1AJkoWYhTQ0rKxekRJDcTRrlMwJFq1D11jGHe TWJFgYtM1nRSZaGXFoazdemKcymTrd88Rv4cIDR3A2HtCWWeIvcapeozAXuA7nOG xjjexIk5iwAE+OaOdJ5pf7O/0xcBNodzpGEoKzoBehf6Ewa3vb5QwH2wrNSvIws= =GHX4 -----END PGP SIGNATURE----- --Sig_/HBAR46YWQoZmm0VDSz8IAW2--