[HEADSUP] Default Perl changed to 5.24.

Mark Millard markmi at dsl-only.net
Mon Nov 7 06:47:23 UTC 2016


Stefan Ehmann shoesoft at gmx.net on Sun Nov 6 17:51:01 UTC 2016 wrote:

> Sun Nov 6 17:51:01 UTC 2016On 06.11.2016 12:43, Andrey Chernov wrote:
>> On 06.11.2016 12:34, Mathieu Arnold wrote:
>>> Le 05/11/2016 à 16:00, Andrey Chernov a écrit :
>>>> The instruction posted to UPDATING is a bit incomplete.
>>>> Additionlly
>>>> portupgrade -f "p5-*"
>>>> should run to move all ports still sitting in 5.20 directory, even if
>>>> they are not depending on perl lib.
>>> 
>>> That should not happen, what ports are affected by this ?
>>> 
>> 
>> It was several days ago and I don't remember them, excepting one (which
>> is not even p5-* port: www/w3mir, because it was the last one). I just
>> see a lot of ports still sitting in
>> /usr/local/lib/perl5/site_perl/mach/5.20 (probably in auto subdir, I
>> don't remember) directory, and only few are upgraded using library
>> depend as in UPDATING: those one which have C compiled modules.
> 
> 
> p5-XML-XPath and p5-Image-ExifTool also have files in mach/5.20 after
> the upgrade. The directories are empty except for the .packlist file.
> 
> I'm not using portmaster but pkg with local repository.
> 
> 
> $ pkg info -l  p5-XML-XPath | grep mach
>        /usr/local/lib/perl5/site_perl/mach/5.20/auto/XML/XPath/.packlist
. . .

I do not use perl directly but it ends up present via dependencies. It is not heavily used even then. (I use portmaster and source based builds generally.)

Here is what I found looking back in 5.22 after switching to 5.24:

> # find /usr/local/lib/perl5/site_perl/mach/5.22/ -print | grep packlist | more
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/File/Listing/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/Net/HTTP/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/URI/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/Mozilla/CA/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/LWP/MediaTypes/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/LWP/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/Digest/HMAC/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/IO/Socket/IP/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/IO/Socket/SSL/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/IO/HTML/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/Encode/Locale/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/HTTP/Negotiate/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/HTTP/Message/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/HTTP/Cookies/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/HTTP/Daemon/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/WWW/RobotRules/.packlist
> /usr/local/lib/perl5/site_perl/mach/5.22/auto/Authen/NTLM/.packlist

None of this had 5.24 equivalents present.

It appears that the UPDATING notes for portmaster are also incomplete.

Using portmaster with -f for each matching p5-*-* generally cleaned this up: removing the 5.22 item and adding the 5.24 one. (There is no /usr/ports/www/p5-LWP by itself.) But I still have:

> /usr/local/lib/perl5/site_perl/mach/5.22/auto/LWP/.packlist

even though there is now a:

> /usr/local/lib/perl5/site_perl/mach/5.24/auto/LWP/MediaTypes/.packlist


===
Mark Millard
markmi at dsl-only.net



More information about the freebsd-ports mailing list