Skip Menu |

This queue is for tickets about the Time-Moment-Epoch CPAN distribution.

Report information
The Basics
Id: 122574
Status: new
Priority: 0/
Queue: Time-Moment-Epoch

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

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



Subject: System perl used in tests (1.003)
My smoker systems report failures like this: ... PERL_DL_NONLAZY=1 "/opt/perl-5.24.2/bin/perl5.24.2" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Can't locate Data/Printer.pm in @INC (you may need to install the Data::Printer module) (@INC contains: /home/cpansand/.cpan/build/2017072312/Time-Moment-Epoch-1.003-n3URF2/blib/lib /home/cpansand/.cpan/build/2017072312/Time-Moment-Epoch-1.003-n3URF2/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at bin/convert_epoch line 11. BEGIN failed--compilation aborted at bin/convert_epoch line 11. ... (etc.) ... Looking at @INC it seems that the system perl (first perl in PATH) is used, not the current perl for building the distribution. A possible fix (untested): - replace '#! /usr/bin/env perl' by '#! perl', so ExtUtils::MakeMaker can correctly replace the shebang - use the scripts in blib/script/* for testing --- this is what gets installed later