On Wed, Mar 29, 2017 at 8:37 PM, Dan Collins <dcolli...@gmail.com> wrote:
> Huh, I just found another interesting thing. CPAN::Reporter makes no effort
> to report on whether the `install` phase succeeded, but some particularly
> creative dists manage to fail in the `install` phase under
> PERL_USE_UNSAFE_INC=0. Look at this example from
> GUIDO/libintl-perl-1.26.tar.gz - does anyone know how common this sort of
> thing is? There aren't many using this exact name
> (http://grep.cpan.me/?q=package+MyInstall).
>
> All tests successful.
> Files=164, Tests=3750,  5 wallclock secs ( 0.87 usr  0.18 sys +  8.23 cusr
> 0.30 csys =  9.58 CPU)
> Result: PASS
> (/usr/bin/make test exited with 0)
> CPAN::Reporter: Test result is 'pass', 'make test' no errors.
> CPAN::Reporter: preparing a CPAN Testers report for libintl-perl-1.26
>
> CPAN::Reporter: this appears to be a duplicate report for the test phase:
> PASS libintl-perl-1.26 x86_64-linux-thread-multi 3.16.0-4-amd64
>
> Test report will not be sent.
>
>   GUIDO/libintl-perl-1.26.tar.gz
>   /usr/bin/make test -- OK
> Running make install
> make[1]: Entering directory
> '/home/cpan2/.cpan/build/libintl-perl-1.26-55/gettext_xs'
> "/home/cpan2/install/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' --
> gettext_xs.bs ../blib/arch/auto/Locale/gettext_xs/gettext_xs.bs 644
> make[1]: Leaving directory
> '/home/cpan2/.cpan/build/libintl-perl-1.26-55/gettext_xs'
> Manifying 30 pod documents
> Manifying 29 pod documents
> Manifying 31 pod documents
> Manifying 29 pod documents
> Manifying 30 pod documents
> Can't locate MyInstall.pm in @INC (you may need to install the MyInstall
> module) (@INC contains:
> /home/cpan2/.cpan/build/libintl-perl-1.26-55/blib/arch
> /home/cpan2/.cpan/build/libintl-perl-1.26-55/blib/lib
> /home/cpan2/install/lib/perl5/site_perl/5.26.0/x86_64-linux-thread-multi
> /home/cpan2/install/lib/perl5/site_perl/5.26.0
> /home/cpan2/install/lib/perl5/5.26.0/x86_64-linux-thread-multi
> /home/cpan2/install/lib/perl5/5.26.0).
> BEGIN failed--compilation aborted.
> Makefile:1389: recipe for target 'pure_site_install' failed
> make: *** [pure_site_install] Error 2
>   GUIDO/libintl-perl-1.26.tar.gz
>   /usr/bin/make install  -- NOT OK
> Stopping: 'install' failed for 'Locale::TextDomain'.

I've seen the blib/arch issue before, but never this solution to it.

Leon

Reply via email to