Skip Menu |
 

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

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

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

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



Subject: fails to install against perl 5.17.7
Download (untitled) / with headers
text/plain 6.3k
cpan App::perlbrew CPAN::SQLite not installed, trying to work without CPAN: Storable loaded ok (v2.40) Reading '/home/kevin/.cpan/Metadata' Database was generated on Wed, 19 Dec 2012 15:43:03 GMT Running install for module 'App::perlbrew' Running make for G/GU/GUGOD/App-perlbrew-0.58.tar.gz CPAN: Digest::SHA loaded ok (v5.80) CPAN: Compress::Zlib loaded ok (v2.059) Checksum for /home/kevin/.cpan/sources/authors/id/G/GU/GUGOD/App-perlbrew-0.58.tar.gz ok CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN: Module::CoreList loaded ok (v2.79) CPAN.pm: Building G/GU/GUGOD/App-perlbrew-0.58.tar.gz CPAN: CPAN::Reporter loaded ok (v1.2009) Checking if your kit is complete... Looks good Writing Makefile for App::perlbrew Writing MYMETA.yml and MYMETA.json (/home/kevin/perl5/perlbrew/perls/perl-5.17.7/bin/perl5.17.7 Makefile.PL exited with 0) CPAN::Reporter: Makefile.PL result is 'pass', No errors. cp lib/App/perlbrew.pm blib/lib/App/perlbrew.pm cp bin/perlbrew blib/script/perlbrew /home/kevin/perl5/perlbrew/perls/perl-5.17.7/bin/perl5.17.7 "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/perlbrew Manifying blib/man1/perlbrew.1 Manifying blib/man3/App::perlbrew.3 (/usr/bin/make exited with 0) CPAN::Reporter: make result is 'pass', No errors. GUGOD/App-perlbrew-0.58.tar.gz /usr/bin/make -- OK CPAN: YAML::XS loaded ok (v0.38) Running make test PERL_DL_NONLAZY=1 /home/kevin/perl5/perlbrew/perls/perl-5.17.7/bin/perl5.17.7 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00.load.t ......................... ok t/01.options.t ...................... ok t/02.format_perl_version.t .......... ok t/03.path_with_tilde.t .............. ok t/03.test_get_available_versions.t .. ok t/04.find_available_perls.t ......... ok t/04.test_uniq.t .................... ok t/05.get_current_perl.t ............. ok t/06.installed_perls.t .............. ok t/07.argv.t ......................... ok t/08.error_available.t .............. ok t/08.error_install.t ................ ok t/08.error_install_blead.t .......... ok t/08.error_install_cpanm.t .......... ok t/08.error_mirror.t ................. ok t/09.exit_status.t .................. ok t/10.resolve.t ...................... ok t/11.editdist.t ..................... ok t/11.root_from_arg.t ................ ok t/12.sitecustomize.t ................ ok t/13.perl_release.t ................. ok t/14.perl_version_parsing.t ......... ok t/command-available.t ............... ok t/command-compgen.t ................. ok t/command-display-rc.t .............. ok # Failed test 'env command, when invoked with a perl installation name, displays environment variables that should be set to use the given perl.' # at t/command-env.t line 36. # STDOUT is: # export PERLBREW_PATH="/tmp/nYk7NjJhwR/bin:/tmp/nYk7NjJhwR/perls/perl-5.14.1/bin" # export PERLBREW_VERSION="0.58" # export PERLBREW_MANPATH="/tmp/nYk7NjJhwR/perls/perl-5.14.1/man" # export PERLBREW_PERL="perl-5.14.1" # export PERLBREW_ROOT="/tmp/nYk7NjJhwR" # # not: # export PERLBREW_MANPATH="/tmp/nYk7NjJhwR/perls/perl-5.14.1/man" # export PERLBREW_PERL="perl-5.14.1" # export PERLBREW_VERSION="0.58" # export PERLBREW_PATH="/tmp/nYk7NjJhwR/bin:/tmp/nYk7NjJhwR/perls/perl-5.14.1/bin" # export PERLBREW_ROOT="/tmp/nYk7NjJhwR" # # as expected # Failed test 'env command, when invoked with a perl installation name with lib name, displays local::lib-related environment variables that should be set to use the given perl.' # at t/command-env.t line 56. # STDOUT is: # export PERL5LIB="/tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita/lib/perl5" # export PERLBREW_VERSION="0.58" # export PERL_MM_OPT="INSTALL_BASE=/tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita" # export PERLBREW_PATH="/tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita/bin:/tmp/nYk7NjJhwR/bin:/tmp/nYk7NjJhwR/perls/perl-5.14.1/bin" # export PERLBREW_MANPATH="/tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita/man:/tmp/nYk7NjJhwR/perls/perl-5.14.1/man" # export PERLBREW_LIB="nobita" # export PERLBREW_PERL="perl-5.14.1" # export PERL_MB_OPT="--install_base /tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita" # export PERLBREW_ROOT="/tmp/nYk7NjJhwR" # export PERL_LOCAL_LIB_ROOT="/tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita" # # not: # export PERLBREW_PERL="perl-5.14.1" # export PERLBREW_VERSION="0.58" # export PERL_MB_OPT="--install_base /tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita" # export PERL_MM_OPT="INSTALL_BASE=/tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita" # export PERL_LOCAL_LIB_ROOT="/tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita" # export PERL5LIB="/tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita/lib/perl5" # export PERLBREW_MANPATH="/tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita/man:/tmp/nYk7NjJhwR/perls/perl-5.14.1/man" # export PERLBREW_LIB="nobita" # export PERLBREW_PATH="/tmp/oZ3uDcM0Jo/libs/perl-5.14.1@nobita/bin:/tmp/nYk7NjJhwR/bin:/tmp/nYk7NjJhwR/perls/perl-5.14.1/bin" # export PERLBREW_ROOT="/tmp/nYk7NjJhwR" # # as expected # Looks like you failed 2 tests of 2. t/command-env.t ..................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t/command-exec.t .................... ok t/command-help.t .................... ok t/command-install-cpanm.t ........... ok t/command-install-patchperl.t ....... ok t/command-lib.t ..................... ok t/command-list.t .................... ok t/current_perl.t .................... ok t/do_system.t ....................... ok t/installation-perlbrew.t ........... ok t/installation.t .................... ok t/installation2.t ................... ok Test Summary Report ------------------- t/command-env.t (Wstat: 512 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=37, Tests=392, 37 wallclock secs ( 0.31 usr 0.06 sys + 14.10 cusr 1.67 csys = 16.14 CPU) Result: FAIL Failed 1/37 test programs. 2/392 subtests failed. make: *** [test_dynamic] Error 255 (/usr/bin/make test exited with 512) CPAN::Reporter: Test result is 'fail', One or more tests failed. CPAN::Reporter: preparing a CPAN Testers report for App-perlbrew-0.58 Do you want to review or edit the test report? (yes/no) [no] CPAN::Reporter: test report will not be sent GUGOD/App-perlbrew-0.58.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports GUGOD/App-perlbrew-0.58.tar.gz Running make install make test had returned bad status, won't install without force
Download (untitled) / with headers
text/plain 316b
This is a hash randomization problem. The output from run_command_env is in hash order, which is not predictable, but the test file tries to predict it. I suggest that the Perl code sort the keys of %env rather than use each, and that the test expect that. Doing this on my local machine made it work. -- rjbs


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.