From owner-freebsd-ports@FreeBSD.ORG Sat Feb 6 10:58:59 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 2B945106566B; Sat, 6 Feb 2010 10:58:59 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from worf.ds9.tecnik93.com (worf.ds9.tecnik93.com [81.196.207.130]) by mx1.freebsd.org (Postfix) with ESMTP id ADD1C8FC0A; Sat, 6 Feb 2010 10:58:58 +0000 (UTC) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by worf.ds9.tecnik93.com (Postfix) with ESMTPSA id 5199422C5098; Sat, 6 Feb 2010 12:58:57 +0200 (EET) Date: Sat, 6 Feb 2010 12:58:56 +0200 From: Ion-Mihai Tetcu To: Ion-Mihai Tetcu Message-ID: <20100206125856.601e513b@it.buh.tecnik93.com> In-Reply-To: <20100206124952.34cb5f1d@it.buh.tecnik93.com> References: <4B6D40B4.70203@mail.zedat.fu-berlin.de> <20100206124952.34cb5f1d@it.buh.tecnik93.com> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.18.6; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/d+p2A9GiilW_fyRcmJYSK/s"; protocol="application/pgp-signature" Cc: kde-freebsd@kde.org, "O. Hartmann" , freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: [WORKAROUND] Re: /usr/ports/x11-toolkits/qt33: /usr/bin/ld: warning: libjpeg.so.10, needed by /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link) 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: Sat, 06 Feb 2010 10:58:59 -0000 --Sig_/d+p2A9GiilW_fyRcmJYSK/s Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 6 Feb 2010 12:49:52 +0200 Ion-Mihai Tetcu wrote: > On Sat, 06 Feb 2010 11:13:08 +0100 > "O. Hartmann" wrote: >=20 > > Since yesterday's portsnape and attempt updating my ports, ALL > > FreeBSD boxes (running FreeBSD 8.0/amd64) fail to update ports via > > 'portmaster -av' at the same point with the following error. > >=20 > > It seems that that port jpeg-8 has been updated and now offering=20 > > libjpeg.so.11 instead of the desired old libjpeg.so.10, so I guess=20 > > everything depending on port jpeg-8 needs to be rebuild - but=20 > > ports/UPDATE does not reflect this. > >=20 > > c++ -fno-exceptions -Wl,-rpath,/usr/local/lib=20 > > -Wl,-rpath,/usr/local/lib -pthread -o ../../../bin/uic=20 > > .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o=20 > > .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o=20 > > .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o=20 > > .obj/release-shared-mt/widgetdatabase.o=20 > > .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o=20 > > -L/usr/local/lib -L/usr/local/lib=20 >=20 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >=20 > > -L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib=20 > > -L/usr/local/lib -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender > > -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext > > -lX11 -lm -lSM -lICE > > /usr/bin/ld: warning: libjpeg.so.10, needed by=20 > > /usr/local/lib/libqt-mt.so, not found (try using -rpath or > > -rpath-link) /usr/local/lib/libqt-mt.so: undefined reference to=20 > > `jpeg_start_decompress@LIBJPEG_7.0' >=20 >=20 > That above it's the problem, kde team is aware of it. >=20 > For the moment the workaround, when you get to this, is to: > 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 >=20 >=20 > I did this yesterday while under KDE3 without problems. You'll run into the same kind of problem with kdelibs3: Making all in dnssd gmake[2]: Entering directory `/usr/home/itetcu/wrk/usr/ports/x11/kdelibs3/w= ork/kdelibs-3.5.10/dnssd' ../kdecore/kconfig_compiler/kconfig_compiler ./kcm_kdnssd.kcfg ./settings.k= cfgc; ret=3D$?; \ if test "$ret" !=3D 0; then rm -f settings.h ; exit $ret ; fi /libexec/ld-elf.so.1: Shared object "libjpeg.so.10" not found, required by = "libkdefx.so.6" gmake[2]: *** [settings.h] Error 1 gmake[2]: Leaving directory `/usr/home/itetcu/wrk/usr/ports/x11/kdelibs3/wo= rk/kdelibs-3.5.10/dnssd' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/home/itetcu/wrk/usr/ports/x11/kdelibs3/wo= rk/kdelibs-3.5.10' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/x11/kdelibs3. The same workaround works. And yes, this means the kde ports are in wrong. --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/d+p2A9GiilW_fyRcmJYSK/s Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkttS3AACgkQJ7GIuiH/oeUq+ACglMFxMpKv6N5y3NsxIQswPIKS wRwAn2FyjRVBynAiHE18HIBf9fIcrA5l =kc9H -----END PGP SIGNATURE----- --Sig_/d+p2A9GiilW_fyRcmJYSK/s--