Subject: | t/command-info.t fails on FreeBSD-11.1 with perl-5.26.1 |
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 |
This is perl 5, version 26, subversion 1 (v5.26.1) built for amd64-freebsd-thread-multi