Subject: | Tests fail with perl 5.20 |
when installing from CPAN:
cpan[1]> install Class::Generate
Reading '/root/.cpan/Metadata'
Database was generated on Wed, 22 Apr 2015 04:41:02 GMT
Running install for module 'Class::Generate'
Checksum for /root/.cpan/sources/authors/id/S/SH/SHLOMIF/Class-Generate-1.14.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
Configuring S/SH/SHLOMIF/Class-Generate-1.14.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Class-Generate' version '1.14'
SHLOMIF/Class-Generate-1.14.tar.gz
/usr/bin/perl Build.PL -- OK
Running Build for S/SH/SHLOMIF/Class-Generate-1.14.tar.gz
Building Class-Generate
SHLOMIF/Class-Generate-1.14.tar.gz
./Build -- OK
Running Build test
t/class_options.t ......... ok
t/constructor.t ........... ok
t/copy.t .................. ok
t/cpan-changes.t .......... skipped: Test::CPAN::Changes required for this test
t/equals.t ................ ok
t/flags.t ................. Class "User1", member "new": In "post" code: Global symbol "$soundex_nocode" requires explicit package name at line 1.
at t/flags.t line 46.
Class "User1": Cannot continue after errors at t/flags.t line 46.
t/flags.t ................. Failed 1/15 subtests
t/functions.t ............. ok
t/member_options.t ........ ok
t/member_references.t ..... ok
t/param_styles.t .......... ok
t/pod-coverage.t .......... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
t/pod.t ................... skipped: Test::Pod 1.22 required for testing POD
t/protected_members.t ..... ok
t/protected_methods.t ..... ok
t/rt27445.t ............... ok
t/style-trailing-space.t .. skipped: Test::TrailingSpace required for trailing space test.
Test Summary Report
-------------------
t/flags.t (Wstat: 0 Tests: 15 Failed: 1)
Failed test: 12
Files=16, Tests=181, 1 wallclock secs ( 0.11 usr 0.01 sys + 0.97 cusr 0.06 csys = 1.15 CPU)
Result: FAIL
Failed 1/16 test programs. 1/181 subtests failed.
SHLOMIF/Class-Generate-1.14.tar.gz
./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports SHLOMIF/Class-Generate-1.14.tar.gz
Failed during this command:
SHLOMIF/Class-Generate-1.14.tar.gz : make_test NO
Testing the sources from https://github.com/shlomif/perl-Class-Generate gives the same error.
perl -V output:
Summary of my perl5 (revision 5 version 20 subversion 1) configuration:
Platform:
osname=linux, osvers=3.18.7-gentoo, archname=i686-linux
uname='linux hearse 3.18.7-gentoo #1 smp fri mar 20 20:55:53 cet 2015 i686 pentium(r) dual-core cpu t4200 @ 2.00ghz genuineintel gnulinux '
config_args='-des -Duseshrplib -Darchname=i686-linux -Dcc=i686-pc-linux-gnu-gcc -Doptimize=-O2 -march=core2 -pipe -fno-strict-aliasing -Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr -Dinstallprefix=/usr -Dsiteprefix=/usr/local -Dvendorprefix=/usr -Dscriptdir=/usr/bin -Dprivlib=/usr/lib/perl5/5.20.1 -Darchlib=/usr/lib/perl5/5.20.1/i686-linux -Dsitelib=/usr/local/lib/perl5/5.20.1 -Dsitearch=/usr/local/lib/perl5/5.20.1/i686-linux -Dvendorlib=/usr/lib/perl5/vendor_perl/5.20.1 -Dvendorarch=/usr/lib/perl5/vendor_perl/5.20.1/i686-linux -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.20.1 -Dlocincpth=/usr/include -Dglibpth=/lib /usr/lib -Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost -Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm -Ui_ndbm -Ui_gdbm -Di_db -DDEBUGGING=none -Dinc_version_list=5.20.0/i686-linux 5.20.0 -Dnoextensions=ODBM_File GDBM_File NDBM_File'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='i686-pc-linux-gnu-gcc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -march=core2 -pipe -fno-strict-aliasing',
cppflags='-fwrapv -fno-strict-aliasing -pipe'
ccversion='', gccversion='4.8.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='i686-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed'
libpth=/usr/local/lib /usr/lib/gcc/i686-pc-linux-gnu/4.8.3/include-fixed /usr/lib /lib/../lib /usr/lib/../lib /lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.19.so, so=so, useshrplib=true, libperl=libperl.so.5.20.1
gnulibc_version='2.19'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -march=core2 -pipe -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF
Locally applied patches:
gentoo/hints_hpux - Fix hpux hints
gentoo/aix_soname - aix gcc detection and shared library soname support
gentoo/EUMM-RUNPATH - https://bugs.gentoo.org/105054 cpan/ExtUtils-MakeMaker: drop $PORTAGE_TMPDIR from LD_RUN_PATH
gentoo/config_over - Remove -rpath and append LDFLAGS to lddlflags
gentoo/opensolaris_headers - [PATCH] Add headers for opensolaris
gentoo/patchlevel - List packaged patches for perl-5.20.1-r4(#2) in patchlevel.h
gentoo/cpanplus_definstalldirs - Configure CPANPLUS to use the site directories by default.
gentoo/cleanup-paths - [PATCH] Cleanup PATH and shrpenv
gentoo/enc2xs - Tweak enc2xs to follow symlinks and ignore missing @INC directories.
gentoo/darwin-cc-ld - https://bugs.gentoo.org/297751 [PATCH] darwin: Use $CC to link
gentoo/cpan_definstalldirs - Provide a sensible INSTALLDIRS default for modules installed from CPAN.
gentoo/interix - [PATCH] Fix interix hints
gentoo/create_libperl_soname - https://bugs.gentoo.org/286840 [PATCH] Set libperl soname
gentoo/mod_paths - Add /etc/perl to @INC
gentoo/EUMM_delete_packlist -
gentoo/drop_fstack_protector - https://bugs.gentoo.org/348557 [PATCH] Don't force -fstack-protector on everyone
gentoo/usr_local - [PATCH] Remove /usr/local paths
gentoo/D-SHA-CFLAGS - https://bugs.gentoo.org/506818 [PATCH] Do not set custom CFLAGS in cpan/Digest-SHA
debian/cpan-missing-site-dirs - Fix CPAN::FirstTime defaults with nonexisting site dirs if a parent is writable
debian/regcomp-mips-optim - Downgrade the optimization of regcomp.c on mips and mipsel due to a gcc-4.9 bug
debian/perldoc-less-R - Tell the 'less' pager to allow terminal escape sequences
debian/makemaker-pasthru - Pass LD settings through to subdirectories
fixes/net_smtp_docs - [rt.cpan.org #36038] Document the Net::SMTP 'Port' option
fixes/memoize_storable_nstore - [rt.cpan.org #77790] Memoize::Storable: respect 'nstore' option not respected
fixes/document_makemaker_ccflags - [rt.cpan.org #68613] Document that CCFLAGS should include $Config{ccflags}
Built under linux
Compiled at Mar 31 2015 07:25:54
@INC:
/etc/perl
/usr/local/lib/perl5/5.20.1/i686-linux
/usr/local/lib/perl5/5.20.1
/usr/lib/perl5/vendor_perl/5.20.1/i686-linux
/usr/lib/perl5/vendor_perl/5.20.1
/usr/local/lib/perl5
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.20.1/i686-linux
/usr/lib/perl5/5.20.1
.