From owner-freebsd-ports@FreeBSD.ORG Wed Oct 24 21:21:34 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74D55FDF for ; Wed, 24 Oct 2012 21:21:34 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id D3DC08FC08 for ; Wed, 24 Oct 2012 21:21:33 +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 q9OLLNM4039879 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 24 Oct 2012 22:21:29 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q9OLLNM4039879 Authentication-Results: smtp.infracaninophile.co.uk/q9OLLNM4039879; dkim=none (no signature); dkim-adsp=none Message-ID: <50885BCB.4030302@FreeBSD.org> Date: Wed, 24 Oct 2012 22:21:15 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: 'pkg check -d' showing missing dependencies after upgrading lang/perl References: <20121024190405.GA64326@ozzmosis.com> <20121024144859.4f66ea44@tech304> In-Reply-To: <20121024144859.4f66ea44@tech304> X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA5E8443A6C985902A55640D4" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 21:21:34 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA5E8443A6C985902A55640D4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 24/10/2012 20:48, Mark Felder wrote: > # pkg set -o lang/perl5.14:lang/perl5.12 >=20 > This runs a query in the pkg sqlite database and update dependencies. > This clearly didn't happen for you yet, so thats where your errors come= > from. There's a way to do this manually but I can't find it in my > notes. Hopefully someone can quickly reply to you with the solution or > perhaps I'll find it in a few minutes... uh... Typing that command /is/ the way to do it manually. Well, not exactly that command. The way it's written says "take any dependency on perl5.14 and make it a dependency on perl5.12 instead." I believe the OP wanted the opposite, like so: # pkg set -o lang/perl5.12:lang/perl5.14 If you've installed perl5.14 locally, and consequently have PERL_VERSION=3D5.14.2 in /etc/make.conf then anything compiled by portmaster would depend on perl5.14. Stuff from before you installed perl5.14 would depend on whichever version you had installed previously, possibly perl5.12, and it is those you want to fix the dependency for. Note too, any actual perl modules will need more than just this fix: they need to be reinstalled or otherwise moved into the /usr/local/lib/perl5/5.14.2/ directory tree. perl-after-upgrade(1) is one way of doing that. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigA5E8443A6C985902A55640D4 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://www.enigmail.net/ iEYEARECAAYFAlCIW9IACgkQ8Mjk52CukIw1PQCeNJsYoHEYuE2xNSrkrC71revt 9u8AniVgmBYA479o/9KN9seNhpgRNocc =eo5z -----END PGP SIGNATURE----- --------------enigA5E8443A6C985902A55640D4--