Subject: | Test failures with perlbrew and perl-5.17.9 and MetaCPAN::API::Tiny 1.21020 |
I just tried to install MetaCPAN::API::Tiny with cpanm inside perlbrew
and experienced a test failure as follows:
Building and testing MetaCPAN-API-Tiny-1.121020
cp lib/MetaCPAN/API/Tiny.pm blib/lib/MetaCPAN/API/Tiny.pm
Manifying blib/man3/MetaCPAN::API::Tiny.3
PERL_DL_NONLAZY=1
/home/myra/perl5/perlbrew/perls/perl-5.17.9/bin/perl5.17.9
"-MExtUtils::Command::MM" "-e" "test_harn$
# Failed test 'Basic params'
# at t/_build_extra_params.t line 31.
# got: 'param1=one¶m2=two'
# expected: 'param2=two¶m1=one'
# Failed test 'Escaping HTML in params'
# at t/_build_extra_params.t line 38.
# got: 'param1=one¶m2=two%20space'
# expected: 'param2=two%20space¶m1=one'
# Looks like you failed 2 tests of 5.
t/_build_extra_params.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests
t/_decode_result.t ....... ok
t/author.t ............... ok
t/fetch.t ................ ok
t/module.t ............... ok
t/pod.t .................. ok
t/post.t ................. ok
t/release-pod-syntax.t ... skipped: these tests are for release
candidate testing
t/release.t .............. ok
t/source.t ............... ok
t/ua.t ................... ok
Test Summary Report
-------------------
t/_build_extra_params.t (Wstat: 512 Tests: 5 Failed: 2)
Failed tests: 4-5
Non-zero exit status: 2
Files=11, Tests=66, 21 wallclock secs ( 0.05 usr 0.01 sys + 0.71 cusr
0.10 csys = 0.87 CPU)
Result: FAIL
Failed 1/11 test programs. 2/66 subtests failed.
make: *** [test_dynamic] Error 255
I cd'd into the build directory and ran each individual test as follows:
prove -lvbm t/blah.t
and all tests passed so I went ahead and installed the package.
[myra@gandalf ~/.cpanm/work/1362859933.18454]$ perl -V
Summary of my perl5 (revision 5 version 17 subversion 9) configuration:
Platform:
osname=linux, osvers=3.8.2-1-arch, archname=x86_64-linux-thread-multi
uname='linux gandalf 3.8.2-1-arch #1 smp preempt mon mar 4 09:06:43
cet 2013 x86_64 gnulinux '
config_args='-de
-Dprefix=/home/myra/perl5/perlbrew/perls/perl-5.17.9 -Dusethreads
-Duseshrplib -Doptimize=-march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
-Dcccdlflags=-fPIC -Dlddlflags=-shared
-Wl,-O1,--sort-common,--as-needed,-z,relro -Dusedevel
-Aeval:scriptdir=/home/myra/perl5/perlbrew/perls/perl-5.17.9/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.7.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
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 -L/usr/local/lib'
libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib
/lib64 /usr/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
-lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.17.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.17'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/home/myra/perl5/perlbrew/perls/perl-5.17.9/lib/5.17.9/x86_64-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared
-Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib
-fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE
PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Built under linux
Compiled at Mar 6 2013 23:15:22
%ENV:
PERLBREW_BASHRC_VERSION="0.59"
PERLBREW_HOME="/home/myra/.perlbrew"
PERLBREW_MANPATH="/home/myra/perl5/perlbrew/perls/perl-5.17.9/man"
PERLBREW_PATH="/home/myra/perl5/perlbrew/bin:/home/myra/perl5/perlbrew/perls/perl-5.17.9/bin"
PERLBREW_PERL="perl-5.17.9"
PERLBREW_ROOT="/home/myra/perl5/perlbrew"
PERLBREW_VERSION="0.59"
@INC:
/home/myra/perl5/perlbrew/perls/perl-5.17.9/lib/site_perl/5.17.9/x86_64-linux-thread-multi
/home/myra/perl5/perlbrew/perls/perl-5.17.9/lib/site_perl/5.17.9
/home/myra/perl5/perlbrew/perls/perl-5.17.9/lib/5.17.9/x86_64-linux-thread-multi
/home/myra/perl5/perlbrew/perls/perl-5.17.9/lib/5.17.9
[myra@gandalf ~/.cpanm/work/1362859933.18454]$ perlbrew --version
/usr/bin/vendor_perl/perlbrew - App::perlbrew/0.59
perlbrew comes with cpanm bundled.
I attached the complete build log in the event you need it. I thought I
would pass this on in case it happens to someone else.
Myra
Subject: | build.log |
cpanm (App::cpanminus) 1.6002 on perl 5.017009 built for x86_64-linux-thread-multi
Work directory is /home/myra/.cpanm/work/1362859933.18454
You have make /usr/bin/make
You have LWP 6.04
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching MetaCPAN::API::Tiny on cpanmetadb ...
--> Working on MetaCPAN::API::Tiny
Fetching http://www.cpan.org/authors/id/N/NP/NPEREZ/MetaCPAN-API-Tiny-1.121020.tar.gz
-> OK
Unpacking MetaCPAN-API-Tiny-1.121020.tar.gz
Entering MetaCPAN-API-Tiny-1.121020
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.64)
Configuring MetaCPAN-API-Tiny-1.121020
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for MetaCPAN::API::Tiny
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0 ... Yes (0.98)
Checking if you have Exporter 5.57 ... Yes (5.67)
Checking if you have Test::More 0 ... Yes (0.98)
Checking if you have Exporter 5.57 ... Yes (5.67)
Checking if you have warnings 0 ... Yes (1.17)
Checking if you have strict 0 ... Yes (1.07)
Checking if you have HTTP::Tiny 0.017 ... Yes (0.025)
Checking if you have Carp 0 ... Yes (1.28)
Checking if you have JSON::PP 0 ... Yes (2.27200)
Building and testing MetaCPAN-API-Tiny-1.121020
cp lib/MetaCPAN/API/Tiny.pm blib/lib/MetaCPAN/API/Tiny.pm
Manifying blib/man3/MetaCPAN::API::Tiny.3
PERL_DL_NONLAZY=1 /home/myra/perl5/perlbrew/perls/perl-5.17.9/bin/perl5.17.9 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'Basic params'
# at t/_build_extra_params.t line 31.
# got: 'param1=one¶m2=two'
# expected: 'param2=two¶m1=one'
# Failed test 'Escaping HTML in params'
# at t/_build_extra_params.t line 38.
# got: 'param1=one¶m2=two%20space'
# expected: 'param2=two%20space¶m1=one'
# Looks like you failed 2 tests of 5.
t/_build_extra_params.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests
t/_decode_result.t ....... ok
t/author.t ............... ok
t/fetch.t ................ ok
t/module.t ............... ok
t/pod.t .................. ok
t/post.t ................. ok
t/release-pod-syntax.t ... skipped: these tests are for release candidate testing
t/release.t .............. ok
t/source.t ............... ok
t/ua.t ................... ok
Test Summary Report
-------------------
t/_build_extra_params.t (Wstat: 512 Tests: 5 Failed: 2)
Failed tests: 4-5
Non-zero exit status: 2
Files=11, Tests=66, 21 wallclock secs ( 0.05 usr 0.01 sys + 0.71 cusr 0.10 csys = 0.87 CPU)
Result: FAIL
Failed 1/11 test programs. 2/66 subtests failed.
make: *** [test_dynamic] Error 255
-> FAIL Installing MetaCPAN::API::Tiny failed. See /home/myra/.cpanm/build.log for details.