Front page | perl.perl5.porters |
Postings from November 2017
[perl #132483] BBC: recent commit breaks App::perlbrew
Thread Next
From:
James E Keenan
Date:
November 22, 2017 02:40
Subject:
[perl #132483] BBC: recent commit breaks App::perlbrew
Message ID:
rt-4.0.24-16648-1511318446-916.132483-75-0@perl.org
# New Ticket Created by James E Keenan
# Please include the string: [perl #132483]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=132483 >
CPAN module App::perlbrew is broken in blead. The breakage, which
occurred this month, started somewhere *after*
b3937e202aaf10c2f8996e2993c880bb38a7a268^ and at or before
a1c09dad0dcf10a829797ed9862b81e1b7497f18. But my bisection ended very
messily, so I can't identify the breaking commit with great confidence.
Here are some results:
#####
Running make for G/GU/GUGOD/App-perlbrew-0.80.tar.gz
cp lib/App/perlbrew.pm blib/lib/App/perlbrew.pm
cp bin/perlbrew blib/script/perlbrew
"/tmp/0Kh870nPwT/bin/perl" "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)'
-- blib/script/perlbrew
Manifying 1 pod document
Manifying 1 pod document
GUGOD/App-perlbrew-0.80.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/tmp/0Kh870nPwT/bin/perl" "-MExtUtils::Command::MM"
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; 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/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/09.exit_status.t ..................... 1/?
# Failed test 'threw Regexp ((?^:unknown-command))'
# at t/09.exit_status.t line 21.
# expecting: Regexp ((?^:unknown-command))
# found: Not a GLOB reference at
/tmp/hiV7_3iGYY/App-perlbrew-0.80-0/blib/lib/App/perlbrew.pm line 505.
# Looks like you failed 1 test of 3.
t/09.exit_status.t ..................... Dubious, test returned 1 (wstat
256, 0x100)
Failed 1/3 subtests
t/10.resolve.t ......................... ok
t/11.editdist.t ........................ ok
t/11.root_from_arg.t ................... ok
t/12.destdir.t ......................... ok
t/12.sitecustomize.t ................... ok
t/13.perl_release.t .................... ok
t/14.perl_version_parsing.t ............ ok
t/15.no-reuse-build-dir.t .............. ok
t/16.release-detail.t .................. ok
t/17.release-detail-cperl-local.t ...... ok
t/18.release-detail-perl-local.t ....... ok
t/18.release-detail-perl-remote.t ...... skipped: These tests send HTTP
requests. Set env TEST_LIVE=1 to really run them.
t/command-alias.t ...................... ok
t/command-available.t .................. ok
t/command-compgen.t .................... 1/?
# Failed test 'compgen command, when there is no args displays a list
of subcommands' by dying:
# Not a GLOB reference
# at /tmp/hiV7_3iGYY/App-perlbrew-0.80-0/blib/lib/App/perlbrew.pm
line 505.
# Failed test 'compgen command, when there is a part of a subcommand
displays a list of l*' by dying:
# Not a GLOB reference
# at /tmp/hiV7_3iGYY/App-perlbrew-0.80-0/blib/lib/App/perlbrew.pm
line 505.
# Failed test 'compgen command, when there is a part of a subcommand
'versio[tab]' is completed as 'version'' by dying:
# Not a GLOB reference
# at /tmp/hiV7_3iGYY/App-perlbrew-0.80-0/blib/lib/App/perlbrew.pm
line 505.
# Looks like you failed 3 tests of 7.
t/command-compgen.t .................... Dubious, test returned 3 (wstat
768, 0x300)
Failed 3/7 subtests
t/command-display-rc.t ................. ok
t/command-env.t ........................ 1/? Attempting to create
directory /tmp/4pIlouvJTa/libs/perl-5.14.1@nobita
t/command-env.t ........................ ok
t/command-exec.t ....................... 1/? Command [perl -E 'somesub
42'] terminated with exit code 7 ($? = 1792) under the following perl
environment:
format_info_output_value
Command [perl -E 'say 42'] terminated with exit code 3 ($? = 768) under
the following perl environment:
Command [perl -E 'say 42'] terminated with exit code 3 ($? = 768) under
the following perl environment:
Command [perl -E 'say 42'] terminated with exit code 3 ($? = 768) under
the following perl environment:
Command [perl -E 'say 42'] terminated with exit code 255 ($? = -1) under
the following perl environment:
Command [perl -E 'say 42'] terminated with exit code 7 ($? = 1792) under
the following perl environment:
t/command-exec.t ....................... ok
t/command-help.t ....................... ok
t/command-info.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/failure-command-install-cpanm.t ...... ok
t/failure-command-install-patchperl.t .. ok
t/http-program-control.t ............... ok
t/http-ua-detect-non-curl.t ............ #
PATH=/tmp/hiV7_3iGYY/App-perlbrew-0.80-0/t/fake-bin:/usr/lib/dart/bin:/home/jkeenan/perl5/perlbrew/bin:/home/jkeenan/perl5/perlbrew/perls/perl-5.26.0/bin:/usr/lib/ccache:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/jkeenan/bin:/home/jkeenan/bin/perl:/home/jkeenan/bin/shell:~/.pub-cache/bin
# curl = /tmp/hiV7_3iGYY/App-perlbrew-0.80-0/t/fake-bin/curl
t/http-ua-detect-non-curl.t ............ ok
t/http-ua-detect.t ..................... ok
t/http.t ............................... skipped: (no reason given)
t/installation-perlbrew.t .............. ok
t/installation.t ....................... ok
t/installation2.t ...................... ok
t/installation3.t ...................... ok
t/unit-files-are-the-same.t ............ ok
Test Summary Report
-------------------
t/09.exit_status.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/command-compgen.t (Wstat: 768 Tests: 7 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
Files=51, Tests=486, 10 wallclock secs ( 0.25 usr 0.04 sys + 8.40 cusr
0.61 csys = 9.30 CPU)
Result: FAIL
Failed 2/51 test programs. 4/486 subtests failed.
Makefile:801: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
GUGOD/App-perlbrew-0.80.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.80.tar.gz
Died at -e line 2.
HEAD is now at a1c09da in B::Concise, show RV target better
bad - non-zero exit from /tmp/0Kh870nPwT/bin/perl -I /home/jkeenan/.cpan
-MCPAN::MyConfig -MCPAN -e
$CPAN::Config->{build_dir}=q{/tmp/hiV7_3iGYY}; -e
install('App::perlbrew'); die unless CPAN::Shell->expand(Module =>
'App::perlbrew')->uptodate;
#####
Summary of my perl5 (revision 5 version 27 subversion 7) configuration:
Commit id: 8510c6cb0f966b815a739212c754bb18f6f8e093
Platform:
osname=linux
osvers=4.4.0-98-generic
archname=x86_64-linux
uname='linux zareason 4.4.0-98-generic #121-ubuntu smp tue oct 10
14:24:03 utc 2017 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Dusedevel -Uversiononly
-Dprefix=/home/jkeenan/testing/blead -Dman1dir=none -Dman3dir=none'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-fwrapv -fno-strict-aliasing -pipe
-fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'
optimize='-O2'
cppflags='-fwrapv -fno-strict-aliasing -pipe
-fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='5.4.1 20160904'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='cc'
ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed
/usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib
/usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /lib64 /usr/lib64
libs=-lpthread -lnsl -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.23.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.23'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_DEVEL
USE_64_BIT_ALL
USE_64_BIT_INT
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
Built under linux
Compiled at Nov 21 2017 18:24:22
%ENV:
PERL2DIR="/home/jkeenan/gitwork/perl2"
PERLBREW_BASHRC_VERSION="0.78"
PERLBREW_HOME="/home/jkeenan/.perlbrew"
PERLBREW_MANPATH="/home/jkeenan/perl5/perlbrew/perls/perl-5.26.0/man"
PERLBREW_PATH="/home/jkeenan/perl5/perlbrew/bin:/home/jkeenan/perl5/perlbrew/perls/perl-5.26.0/bin"
PERLBREW_PERL="perl-5.26.0"
PERLBREW_ROOT="/home/jkeenan/perl5/perlbrew"
PERLBREW_VERSION="0.78"
PERL_WORKDIR="/home/jkeenan/gitwork/perl"
@INC:
lib
/home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.7/x86_64-linux
/home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.7
/home/jkeenan/testing/blead/lib/perl5/5.27.7/x86_64-linux
/home/jkeenan/testing/blead/lib/perl5/5.27.7
Thread Next
-
[perl #132483] BBC: recent commit breaks App::perlbrew
by James E Keenan