On 07/11/2016 06:47, Mark Millard wrote: > 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. >
.packlist files are autogenerated by perl during the installation of a
module into staging. They contain a manifest of the module as installed
on your system. This makes them redundant considering that a pkg file
already contains this, and more, information.
I believe the current consensus is that .packlist files should not be
copied out of the staging area when creating a pkg of a perl module, and
should not be considered part of a pkg. Although it seems that
consensus is not followed by all perl module packages.
Unfortunately, there is nothing to clean up any pre-existing .packlist
files already installed in you $PERL5LIB and it's only at the relatively
rare occasions like this when the perl module library switches to a new
directory that their presence becomes obvious.
Cheers,
Matthew
signature.asc
Description: OpenPGP digital signature
