This queue is for tickets about the Lox CPAN distribution.

Report information
The Basics
Id:
133145
Status:
new
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
(no value)
Broken in:
0.01
Fixed in:
(no value)



Subject: System perl used in test suite
t/plox.t fails on some of my smokers: ... Can't locate enum.pm in @INC (you may need to install the enum module) (@INC contains: lib /usr/home/cpansand/.cpan/build/2020081110/Lox-0.01-0/blib/lib /usr/home/cpansand/.cpan/build/2020081110/Lox-0.01-0/blib/arch /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30 .) at lib/Lox/TokenType.pm line 25. Compilation failed in require at lib/Lox/Interpreter.pm line 11. BEGIN failed--compilation aborted at lib/Lox/Interpreter.pm line 11. Compilation failed in require at lib/Lox.pm line 5. BEGIN failed--compilation aborted at lib/Lox.pm line 5. Compilation failed in require at bin/plox line 5. BEGIN failed--compilation aborted at bin/plox line 5. Can't locate enum.pm in @INC (you may need to install the enum module) (@INC contains: lib /usr/home/cpansand/.cpan/build/2020081110/Lox-0.01-0/blib/lib /usr/home/cpansand/.cpan/build/2020081110/Lox-0.01-0/blib/arch /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30 .) at lib/Lox/TokenType.pm line 25. Compilation failed in require at lib/Lox/Interpreter.pm line 11. BEGIN failed--compilation aborted at lib/Lox/Interpreter.pm line 11. Compilation failed in require at lib/Lox.pm line 5. BEGIN failed--compilation aborted at lib/Lox.pm line 5. Compilation failed in require at bin/plox line 5. BEGIN failed--compilation aborted at bin/plox line 5. # Failed test 'Got expected output for test/unexpected_character.lox' # at t/plox.t line 34. # got: '' # expected: '[Line 3] Error at '|': unexpected character: |. # [Line 3] Error at 'b': Expect ")" after arguments. # ' # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 1 just after 2. t/plox.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests ... The fail pattern indicates that the system perl is used here, not the perl which was used to build the CPAN distribution. Usual fix is to rewrite shebang or use $^X when calling the script.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.