Skip Menu |

This queue is for tickets about the WWW-Mechanize-PhantomJS CPAN distribution.

Report information
The Basics
Id: 127512
Status: resolved
Priority: 0/
Queue: WWW-Mechanize-PhantomJS

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

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



Subject: Distribution opts into x_static_install but cannot be static installed
This distribution sets x_static_install in META but contains non-pm files in lib/ which are expected to be installed, which is a feature only of ExtUtils::MakeMaker, not any other installer including the static install spec. The only static-install compatible way to include such files would be to use a distribution sharedir under share/ with File::ShareDir (and File::ShareDir::Install/Test::File::ShareDir as necessary in your Makefile.PL and tests).
Thanks for reporting this issue! I misunderstood what x_static_install is supposed to be.
On Sun Nov 04 10:16:53 2018, CORION wrote: Show quoted text
> Thanks for reporting this issue! > > I misunderstood what x_static_install is supposed to be.
Thanks for the quick resolutions. For reference the current static install spec is at https://github.com/Perl-Toolchain-Gang/cpan-static/blob/master/lib/CPAN/Static/Spec.pm and the heuristics performed by https://metacpan.org/pod/Dist::Zilla::Plugin::StaticInstall are a good metric (this particular issue was not previously caught by that plugin but it was added to the new version).