Skip Menu |
 

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 113642
Status: new
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 7.10
Fixed in: (no value)



Subject: requested option to prevent "inheriting" packlists from SITEARCHEXP

On "managed" installations, the workflow is as follows:

 

- build version a

- install version a

.... time passes

-build version b

- install version b

- remove redundant files installed by version a

...

.... time passes

-build version c

- install version c

- remove redundant files installed by version b

 

Here, the mechanism where EUMM re-reads an existing packlist in (SITE|VENDOR)ARCHEXP

eg: https://metacpan.org/source/BINGOS/ExtUtils-MakeMaker-7.10/lib/ExtUtils/MM_Unix.pm#L2144-2145 )

Means that any entries ever added to a packlist stay in the packlist forever, regardless if the files they reflect got reaped from the file system or not.

And this results in packlists which reference files that no longer exist.

On a "managed" install process, it makes no sense to re-use anything existing from (SITE|VENDOR)ARCHEXP

 

 

This issue also affects anything using ExtUtils::Install::install_default:

 

https://metacpan.org/source/BINGOS/ExtUtils-Install-2.04/lib/ExtUtils/Install.pm#L989


And anything approximating that:

 

http://grep.cpan.me/?q=\Winstall[%28\s].{1%2C90}read[\s%27%22]%2B%28%3D%3E|%2C%29

 

Both these greps are probably incomplete.

http://grep.cpan.me/?q=%28%3Fi%29ARCHEXP.{0%2C90}packlist+-file%3AMakefile

Note: remove the -Makefile exclusion to find a bunch of broken CPAN dists!



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.