From owner-freebsd-questions@FreeBSD.ORG Thu Aug 4 16:47:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E06C106564A for ; Thu, 4 Aug 2011 16:47:22 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id CC53E8FC12 for ; Thu, 4 Aug 2011 16:47:21 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p74GlHQ4010195 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 4 Aug 2011 17:47:18 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p74GlHQ4010195 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1312476438; bh=iwN54Blv0rrtSwiCo/rUDldtEcOV8Ukf5NJeImNe/w8=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4E3ACD06.6090209@infracaninophile.co.uk>|Date:=20T hu,=2004=20Aug=202011=2017:47:02=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:5.0)=20Gecko/201 10624=20Thunderbird/5.0|MIME-Version:=201.0|To:=20Ewald=20Jenisch= 20|CC:=20freebsd-questions@freebsd.org|Subject:=20Re :=20portupgrades=20fail=20because=20of=20missing=20/usr/local/lib/ liblzma.la|References:=20<20110803100015.GA11662@aurora.oekb.co.at >=20<4E3936EA.8050407@infracaninophile.co.uk>=20<20110804121439.GA 2370@aurora.oekb.co.at>|In-Reply-To:=20<20110804121439.GA2370@auro ra.oekb.co.at>|X-Enigmail-Version:=201.2|OpenPGP:=20id=3D60AE908C| Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=2 0protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"--- ---------enig30AA8A776B258AF16E078A17"; b=iyYoC2sJ9SvqUbU1sxoDWEYznaUWhakOWE7qRgumbj8cD4vJ/YsVClPtTDidId3cU XoiACwo7BUDdWl67psjEMjyeSyN4CE+SEtQ54zkprKr0G4C5c2VpkVr6VKUzBMjfh1 Qc00vHkNFHMwIUG0QDmWbLeXVb9gGbnJO//0aEHw= Message-ID: <4E3ACD06.6090209@infracaninophile.co.uk> Date: Thu, 04 Aug 2011 17:47:02 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Ewald Jenisch References: <20110803100015.GA11662@aurora.oekb.co.at> <4E3936EA.8050407@infracaninophile.co.uk> <20110804121439.GA2370@aurora.oekb.co.at> In-Reply-To: <20110804121439.GA2370@aurora.oekb.co.at> X-Enigmail-Version: 1.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig30AA8A776B258AF16E078A17" X-Virus-Scanned: clamav-milter 0.97.2 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: portupgrades fail because of missing /usr/local/lib/liblzma.la X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2011 16:47:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig30AA8A776B258AF16E078A17 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/08/2011 13:14, Ewald Jenisch wrote: > So I tried "portupgrade -arR" again - sure enough it failed with the > same errors: >=20 > /usr/local/lib/liblzma.la: No such file or directory >=20 > So how can I rebuild all ports that depend on "xz" without even > knowing which ones depend on xz (because pkg_info -Rx says nothing > depends on xz)?? Do you know which port is causing that error message to be emitted? If you can identify it, then a little sleuthing in the ports it depends on may well turn up some clues. It's a matter of looking at the Makefiles for the ports further up the dependency tree to see if they would have a dependency on xz(1) or liblzma in older versions of FreeBSD; try grepping Makefiles for 'DEPENDS.*/archivers/xz' Then try rebuilding those ports, and so on up the dependency tree until you get to the problem port. Or you can sledgehammer it, by forcibly rebuilding everything that the complaining port depends on -- portupgrade -fR portname (IIRC. I may have mixed up the 'r' and 'R' flags there) or portmaster -f portname That could take a lot of time and CPU cycles but it will probably sort things out in the end. Also, what do you get from this command: % ldconfig -r | grep lzma 38:-llzma.5 =3D> /usr/lib/liblzma.so.5 Unless the output is similar to as shown, you've got a stray copy of liblzma.so floating about that may be confusing things. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig30AA8A776B258AF16E078A17 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk46zRQACgkQ8Mjk52CukIwgLgCeKcBvgB9iFLw1ElyX6T61E3nJ FdsAn1bTa6lR7JuWiuj0omCXk0tnoGs9 =/8qT -----END PGP SIGNATURE----- --------------enig30AA8A776B258AF16E078A17--