Skip Menu |

This queue is for tickets about the App-Critique CPAN distribution.

Report information
The Basics
Id: 116785
Status: new
Priority: 0/
Queue: App-Critique

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

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



Subject: System perl used in tests
My smoker machines report fails like this: ... # Failed test '... matched (?^:Attempting to initialize session file) correctly' # at /usr/home/eserte/.cpan/build/2016080812/App-Critique-0.01-kBCAfP/t/lib/App/Critique/Tester.pm line 53. # 'Can't locate JSON/XS.pm in @INC (you may need to install the JSON::XS module) (@INC contains: /usr/home/eserte/.cpan/build/2016080812/App-Critique-0.01-kBCAfP/bin/../lib /usr/home/eserte/.cpan/build/2016080812/App-Critique-0.01-kBCAfP/blib/lib /usr/home/eserte/.cpan/build/2016080812/App-Critique-0.01-kBCAfP/blib/arch /usr/local/lib/perl5/site_perl/mach/5.20 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.20/mach /usr/local/lib/perl5/5.20 /usr/local/lib/perl5/site_perl/5.20 /usr/local/lib/perl5/site_perl/5.20/mach .) at /usr/home/eserte/.cpan/build/2016080812/App-Critique-0.01-kBCAfP/bin/../lib/App/Critique.pm line 7. # BEGIN failed--compilation aborted at /usr/home/eserte/.cpan/build/2016080812/App-Critique-0.01-kBCAfP/bin/../lib/App/Critique.pm line 7. # Compilation failed in require at /usr/home/eserte/.cpan/build/2016080812/App-Critique-0.01-kBCAfP/t/../bin/critique line 12. # BEGIN failed--compilation aborted at /usr/home/eserte/.cpan/build/2016080812/App-Critique-0.01-kBCAfP/t/../bin/critique line 12. # ' # doesn't match '(?^:Attempting to initialize session file)' (etc.) The contents of the @INC path suggests that the system perl is used here, not the currently used perl for building and testing the distribution. The usual fix is to use $^X at some point.