From owner-freebsd-ports@freebsd.org Sun Sep 6 11:01:03 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 424879CB938 for ; Sun, 6 Sep 2015 11:01:03 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D95681AAF for ; Sun, 6 Sep 2015 11:01:02 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t86B0pMa058295 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 6 Sep 2015 12:00:53 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t86B0pMa058295 Authentication-Results: smtp.infracaninophile.co.uk/t86B0pMa058295; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: Migrating from perl5-5.20 to perl5.22 using custom packages? To: freebsd-ports@freebsd.org References: <20150905162900.GR17650@albert.catwhisker.org> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55EC1CD8.1090501@FreeBSD.org> Date: Sun, 6 Sep 2015 12:00:40 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150905162900.GR17650@albert.catwhisker.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FEuLiCOPXqPmO91a9wVodS68McGN3molr" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2015 11:01:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FEuLiCOPXqPmO91a9wVodS68McGN3molr Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 05/09/2015 17:29, David Wolfskill wrote: > While it claimed success and exited with an exit status of 0, it says > that what it did with respect to Perl was: >=20 > perl5: 5.20.2_5 -> 5.20.2_6 >=20 > which isn't quite what I had in mind. >=20 >=20 > In checking the package repository, I see: >=20 > freebeast(10.2-S)[9] (cd All; ls -lT perl*) > -rw-r--r-- 5 nobody wheel 13746168 Aug 16 04:33:03 2015 perl5-5.20.2= _6.txz > -rw-r--r-- 5 nobody wheel 13935800 Jul 4 14:53:37 2015 perl5.18-5.1= 8.4_15.txz > -rw-r--r-- 1 nobody wheel 13958800 Sep 5 05:53:23 2015 perl5.22-5.2= 2.0_2.txz > freebeast(10.2-S)[10]=20 >=20 > I suppose a bit of housecleaning is in order... but is the existence > of the the perl5-5.20.2_6.txz the reason/excuse for not picking up > perl5.22-5.22.0_2.txz? >=20 > What do I need to do to switch to perl5.22 on my production machines? I did exactly this a week or so ago. Given you've got your own poudriere setup, then: 1) Edit /usr/local/etc/poudriere.d/make.conf (or an build specific variant) and set: DEFAULT_VERSIONS+=3D perl5=3D5.22 2) Run a poudriere bulk to rebuild all the packages that depend on perl. That's going to be most of them because GNU autotools introduces a build-depends on perl through automake... 3) Upgrade packages as normal: pkg upgrade You should see pkg wanting to remove perl5.20, install perl5.22 and reinstall all perl modules or other ports with a run-time dependency on perl. Note that the default version of perl in your repo will get the pkgname 'perl5', and all others will get a pkgname of the form 'perl5.XY' -- so in my repo, I have: % pkg search -x perl5 perl5-5.22.0_2 perl5.20-5.20.2_6 ie 5.22 is the default version but I also have a (basically useless) perl5.20 package. Cheers, Matthew --FEuLiCOPXqPmO91a9wVodS68McGN3molr 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 iQJ8BAEBCgBmBQJV7BzfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATdoYP/2oYWowwixn/Iq9m97Cies05 JVYYpxmlLYMRpbbBX00qmVXXFjinNoyNy8Oj4BwaCiv5dWEW8WWBpDj6fgwqQi+j ZT8Df9g15ReMFrOb++Rvsfomy7FjbiMoblrfoj+4n5Dd9l6ZPMBSmlFGqBmQnWR0 GUrwBPGXNhVYBHAd79QoGhdataDWn4iHzif2tlWGMw6KkHsElM4yppvvaBt+ACtl boUVePWLV0BBq6n8RNhcBab4A+MvCgK9TsvDQFqnGo7tTJPkoiMwxncXcboOM1ea bY49TpDWVxK2JmMjJU1N+IFmTIPQwhTAARA3QRwLioXYDQDVLThvIlRSx0uz8FwQ 0VskDIrMIr5xoUJI0nrVdUiJSF2P8zi0r3REam6byFI+dZpx8dWenMHVgqJja2yY Q6jWMyT5AZt/vhtI6ky6H2A5vD99Ze/ht0s5ElmZrQ/Ej7U26c4S4pIGf5tJf6vP 09OHzv9r8+0/HwWgEk1MJpVQlHB9HtviTuZttjj9GZEYkpVxgq/QVEbr/MsU23bG WY2jeSOuZeAGCW5ywS9VAbBNHer0lBBb5vTnkrwSzLWFgeOYa4Y84L8BAB3dRoq8 o+E9jMYgKsLA0CfeK+51P3QnIWCDGifmRyOHcqjeLvTBnARackvtskHSUfALdZBB a9tFvXAROWR/sCxKvgNz =iVib -----END PGP SIGNATURE----- --FEuLiCOPXqPmO91a9wVodS68McGN3molr--