Skip Menu |

This queue is for tickets about the Pod-Perldoc CPAN distribution.

Report information
The Basics
Id: 89756
Status: resolved
Priority: 0/
Queue: Pod-Perldoc

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

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



Subject: should not install to INSTALLDIRS => perl after 5.11.0

https://metacpan.org/source/MALLEN/Pod-Perldoc-3.20/Makefile.PL#L49

This is probably not a problem yet, but will be if Pod::Perldoc ever pulls dependencies that are not installed to ->sitelib on an older perl.

ie: say for instance Pod::Perldoc depends on Perl::OSType one day, which will be fine on Perls >5.13.9 .

But on perls <5.13.9, installing Pod::Perldoc will install Perl::OSType , with the former going to privlib, the latter going to sitelib.

This is not so much of a problem until one attempts to purge all of sitelib to return the @INC state to "just installed" condition, wherein Pod::Perldoc will become suddenly broken, as the more recent Pod::Perldoc will be still available ( after clobbering its predecessor in @INC ), but its dependencies will not, and no CPAN tools can solve this problem yet.

Also, if you're ever on a version of perl where Perl > CPAN, you could accidentally install Pod::Perldoc from CPAN, which results in an irreversible downgrade.

On Thu Oct 24 13:19:07 2013, KENTNL wrote: Show quoted text
> https://metacpan.org/source/MALLEN/Pod-Perldoc-3.20/Makefile.PL#L49 > > This is probably not a problem yet, but will be if Pod::Perldoc ever > pulls > dependencies that are not installed to ->sitelib on an older perl. > > ie: say for instance Pod::Perldoc depends on Perl::OSType one day, > which will > be fine on Perls >5.13.9 . > > But on perls <5.13.9, installing Pod::Perldoc will install > Perl::OSType , with > the former going to privlib, the latter going to sitelib. > > This is not so much of a problem until one attempts to purge all of > sitelib to > return the @INC state to "just installed" condition, wherein > Pod::Perldoc will > become suddenly broken, as the more recent Pod::Perldoc will be still > available > ( after clobbering its predecessor in @INC ), but its dependencies > will not, > and no CPAN tools can solve this problem yet. > > Also, if you're ever on a version of perl where Perl > CPAN, you could > accidentally install Pod::Perldoc from CPAN, which results in an > irreversible > downgrade.
Thanks for the report. This will be corrected in a future release.
Applied a fix to Makefile.PL as 308ead2 (not pushed yet.) Thanks for the report.