Skip Menu |
 

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

Report information
The Basics
Id: 125066
Status: open
Priority: 0/
Queue: App-perlbrew

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

Bug Information
Severity: (no value)
Broken in:
  • 0.82
  • 0.84
  • 0.87
Fixed in: (no value)



Subject: t/command-info.t fails on FreeBSD-11.1 with perl-5.26.1
Download (untitled) / with headers
text/plain 450b
Today I attempted to install App-perlbrew via the 'cpan' installer against perl-5.26.1 on FreeBSD-11.1. Failures in t/command-info.t prevented installation. Please find attached two plain-text files: (i) the output of 'prove -vb' in the cpan build directory for this distribution; (ii) the relevant perl -v output. It appears that nothing is being output to STDOUT as a value for the line beginning "Compiled at:". Thank you very much. Jim Keenan
Subject: app-perlbrew-cpan-install-failure.txt
# Failed test 'info command should display info if under perlbrew perl' # at t/command-info.t line 46. # STDOUT: # Current perl: # Name: perl-5.8.9 # Path: /usr/local/bin/perl # Config: config_args_value # Compiled at: # # perlbrew: # version: 0.82 # ENV: # PERLBREW_ROOT: perlbrew_root_value # PERLBREW_HOME: perlbrew_home_value # PERLBREW_PATH: perlbrew_path_value # PERLBREW_MANPATH: perlbrew_manpath_value # # doesn't match: # (?^:Current perl: # Name: perl-5.8.9 # Path: \/usr\/local\/bin\/perl # Config: config_args_value # Compiled at: ...\s+\d{1,2}\s+\d{4}\s+\d{1,2}:\d{2}:\d{2} # # perlbrew: # version: 0\.82 # ENV: # PERLBREW_ROOT: perlbrew_root_value # PERLBREW_HOME: perlbrew_home_value # PERLBREW_PATH: perlbrew_path_value # PERLBREW_MANPATH: perlbrew_manpath_value # ) # as expected # Failed test 'info command should display info for a module if the module is installed' # at t/command-info.t line 124. # STDOUT: # Current perl: # Name: perl-5.8.9 # Path: /usr/local/bin/perl # Config: config_args_value # Compiled at: # # perlbrew: # version: 0.82 # ENV: # PERLBREW_ROOT: perlbrew_root_value # PERLBREW_HOME: perlbrew_home_value # PERLBREW_PATH: perlbrew_path_value # PERLBREW_MANPATH: perlbrew_manpath_value # # Module: Data::Dumper # Location: /usr/local/lib/perl5/5.26/mach/Data/Dumper.pm # Version: 2.167 # # doesn't match: # (?^:Current perl: # Name: perl-5.8.9 # Path: \/usr\/local\/bin\/perl # Config: config_args_value # Compiled at: ...\s+\d{1,2}\s+\d{4}\s+\d{1,2}:\d{2}:\d{2} # # perlbrew: # version: 0\.82 # ENV: # PERLBREW_ROOT: perlbrew_root_value # PERLBREW_HOME: perlbrew_home_value # PERLBREW_PATH: perlbrew_path_value # PERLBREW_MANPATH: perlbrew_manpath_value # # Module: Data\:\:Dumper # Location: .*Data\/Dumper.pm # Version: [\d\._]+ # ) # as expected # Failed test 'info command should display a message that the module can't be found if the module isn't installed' # at t/command-info.t line 165. # STDOUT: # Current perl: # Name: perl-5.8.9 # Path: /usr/local/bin/perl # Config: config_args_value # Compiled at: # # perlbrew: # version: 0.82 # ENV: # PERLBREW_ROOT: perlbrew_root_value # PERLBREW_HOME: perlbrew_home_value # PERLBREW_PATH: perlbrew_path_value # PERLBREW_MANPATH: perlbrew_manpath_value # # Module: SOME_FAKE_MODULE could not be found, is it installed? # # doesn't match: # (?^:Current perl: # Name: perl-5.8.9 # Path: \/usr\/local\/bin\/perl # Config: config_args_value # Compiled at: ...\s+\d{1,2}\s+\d{4}\s+\d{1,2}:\d{2}:\d{2} # # perlbrew: # version: 0\.82 # ENV: # PERLBREW_ROOT: perlbrew_root_value # PERLBREW_HOME: perlbrew_home_value # PERLBREW_PATH: perlbrew_path_value # PERLBREW_MANPATH: perlbrew_manpath_value # # Module: SOME_FAKE_MODULE could not be found, is it installed?.* # ) # as expected # Looks like you failed 3 tests of 4. t/command-info.t .. not ok 1 - info command should display info if under perlbrew perl ok 2 - info command should display info if under system perl not ok 3 - info command should display info for a module if the module is installed not ok 4 - info command should display a message that the module can't be found if the module isn't installed 1..4 Dubious, test returned 3 (wstat 768, 0x300) Failed 3/4 subtests Test Summary Report ------------------- t/command-info.t (Wstat: 768 Tests: 4 Failed: 3) Failed tests: 1, 3-4 Non-zero exit status: 3 Files=1, Tests=4, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.15 cusr 0.05 csys = 0.23 CPU) Result: FAIL
Subject: perl-v.txt
Download perl-v.txt
text/plain 88b
This is perl 5, version 26, subversion 1 (v5.26.1) built for amd64-freebsd-thread-multi
Download (untitled) / with headers
text/plain 837b
On 2018-04-10 15:17:32, JKEENAN wrote: Show quoted text
> Today I attempted to install App-perlbrew via the 'cpan' installer > against perl-5.26.1 on FreeBSD-11.1. Failures in t/command-info.t > prevented installation. > > Please find attached two plain-text files: (i) the output of 'prove > -vb' in the cpan build directory for this distribution; (ii) the > relevant perl -v output. > > It appears that nothing is being output to STDOUT as a value for the > line beginning "Compiled at:".
I see the same problem with the system perls which come with FreeBSD 9, 10, 11, 12, and 13. Self-compiled perls are not affected by this problem. It seems that the "Compiled at" value is just missing here: $ perl -V | grep Compiled.at (nothing) Same system with a self-compiled perl: $ perl5.28.0 -V | grep Compiled.at Compiled at Jun 25 2018 14:40:11


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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