Back
From: metabase:user:dbfd798e-cbbe-11e2-b882-9c504e4df5df
Subject: FAIL Class-DI-0.03 v5.16.3 GNU/Linux
Date: 2013-07-02T08:04:16Z
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear HAOSAN,
This is a computer-generated error report created automatically by
CPANPLUS, version 0.9121. Testers personal comments may appear
at the end of this report.
Thank you for uploading your work to CPAN. However, it appears that
there were some problems testing your distribution.
TEST RESULTS:
Below is the error stack from stage 'make test':
PERL_DL_NONLAZY=1 /home/perl4/perl5/perlbrew/perls/perl-5.16.3/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'use Class::DI;'
# at t/01_di.t line 9.
# Tried to use 'Class::DI'.
# Error: Can't locate YAML.pm in @INC (@INC contains: /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/arch /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5 /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5 /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/arch /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3 /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3 .) at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI/Resource/YAML.pm line 4.
# BEGIN failed--compilation aborted at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI/Resource/YAML.pm line 4.
# Compilation failed in require at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI.pm line 8.
# BEGIN failed--compilation aborted at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI.pm line 8.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/01_di.t .............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/02_definition.t ..... ok
# Failed test 'use Class::DI::Factory;'
# at t/03_factory.t line 3.
# Tried to use 'Class::DI::Factory'.
# Error: Can't locate UNIVERSAL/require.pm in @INC (@INC contains: /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/arch /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5 /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5 /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/arch /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3 /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3 .) at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI/Factory.pm line 4.
# BEGIN failed--compilation aborted at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI/Factory.pm line 4.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
"my" variable $instance masks earlier declaration in same scope at t/03_factory.t line 40.
"my" variable $definition masks earlier declaration in same scope at t/03_factory.t line 61.
"my" variable $instance masks earlier declaration in same scope at t/03_factory.t line 62.
Can't locate object method "new" via package "Class::DI::Factory" at t/03_factory.t line 5.
# Looks like you failed 1 test of 1.
# Looks like your test exited with 255 just after 1.
t/03_factory.t ........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
# Failed test 'use Class::DI::Resource::YAML;'
# at t/04_resource.t line 3.
# Tried to use 'Class::DI::Resource::YAML'.
# Error: Can't locate YAML.pm in @INC (@INC contains: /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/arch /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5 /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5 /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/arch /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3 /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3 .) at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI/Resource/YAML.pm line 4.
# BEGIN failed--compilation aborted at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI/Resource/YAML.pm line 4.
# Compilation failed in require at (eval 11) line 2.
# BEGIN failed--compilation aborted at (eval 11) line 2.
Can't locate object method "new" via package "Class::DI::Resource::YAML" at t/04_resource.t line 16.
# Looks like you failed 1 test of 1.
# Looks like your test exited with 25 just after 1.
t/04_resource.t .......
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 1/1 subtests
# Failed test 'use Class::DI;'
# at t/05_get_component.t line 3.
# Tried to use 'Class::DI'.
# Error: Can't locate YAML.pm in @INC (@INC contains: /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/arch /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5 /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5 /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/arch /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3 /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux /home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3 .) at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI/Resource/YAML.pm line 4.
# BEGIN failed--compilation aborted at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI/Resource/YAML.pm line 4.
# Compilation failed in require at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI.pm line 8.
# BEGIN failed--compilation aborted at /home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib/Class/DI.pm line 8.
# Compilation failed in require at (eval 11) line 2.
# BEGIN failed--compilation aborted at (eval 11) line 2.
Can't locate object method "yaml_container" via package "Class::DI" at t/05_get_component.t line 43.
# Looks like you planned 7 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 25 just after 1.
t/05_get_component.t ..
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 7/7 subtests
Test Summary Report
-------------------
t/01_di.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/03_factory.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
t/04_resource.t (Wstat: 6400 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 25
t/05_get_component.t (Wstat: 6400 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 25
Parse errors: Bad plan. You planned 7 tests but ran 1.
Files=5, Tests=11, 0 wallclock secs ( 0.03 usr 0.04 sys + 0.15 cusr 0.04 csys = 0.26 CPU)
Result: FAIL
Failed 4/5 test programs. 4/11 subtests failed.
make: *** [test_dynamic] Error 25
MISSING PREREQUISITES:
It was observed that the test suite seem to fail without these modules:
YAML
UNIVERSAL::require
As such, adding the prerequisite module(s) to 'PREREQ_PM' in your
Makefile.PL should solve this problem. For example:
WriteMakefile(
AUTHOR => 'HAOSAN (cpanplus-info@lists.sf.net)',
... # other information
PREREQ_PM => {
'YAML' => '0', # or a minimum working version
'UNIVERSAL::require' => '0', # or a minimum working version
}
);
Thanks! :-)
PREREQUISITES:
Here is a list of prerequisites you specified and versions we
managed to load:
Module Name Have Want
ExtUtils::MakeMaker 6.68 0
Perl module toolchain versions installed:
Module Name Have
CPANPLUS 0.9121
CPANPLUS::Dist::Build 0.62
Cwd 3.39_02
ExtUtils::CBuilder 0.280206
ExtUtils::Command 1.17
ExtUtils::Install 1.58
ExtUtils::MakeMaker 6.68
ExtUtils::Manifest 1.61
ExtUtils::ParseXS 3.16
File::Spec 3.39_02
Module::Build 0.39_01
Test::Harness 3.23
Test::More 0.98
version 0.99
******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender. As there are many people performing automatic
tests on each upload to CPAN, it is likely that you will receive
identical messages about the same problem.
If you believe that the message is mistaken, please reply to the first
one with correction and/or additional informations, and do not take
it personally. We appreciate your patience. :)
**********************************************************************
Additional comments:
This report was machine-generated by CPANPLUS::Dist::YACSmoke 0.88.
Powered by minismokebox version 0.56
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
NONINTERACTIVE_TESTING = 1
PATH = /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/bin:/home/perl4/perl5/perlbrew/bin:/home/perl4/perl5/perlbrew/perls/perl-5.16.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PERL5LIB = /home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5:/home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib:/home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/arch
PERL5_CPANPLUS_IS_RUNNING = 26547
PERL5_CPANPLUS_IS_VERSION = 0.9121
PERL5_MINISMOKEBOX = 0.56
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
SHELL = /bin/sh
Perl special variables (and OS-specific diagnostics, for MSWin32):
Perl: $^X = /home/perl4/perl5/perlbrew/perls/perl-5.16.3/bin/perl
UID: $< = 1005
EUID: $> = 1005
GID: $( = 1005 1005
EGID: $) = 1005 1005
-------------------------------
--
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Platform:
osname=linux, osvers=3.8.0-23-generic, archname=x86_64-linux
uname='linux cthomas2 3.8.0-23-generic #34-ubuntu smp wed may 29 20:22:58 utc 2013 x86_64 x86_64 x86_64 gnulinux '
config_args='-de -Dprefix=/home/perl4/perl5/perlbrew/perls/perl-5.16.3 -Aeval:scriptdir=/home/perl4/perl5/perlbrew/perls/perl-5.16.3/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.7.3', 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/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.17'
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'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Jun 22 2013 13:20:55
%ENV:
PERL5LIB="/home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5:/home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib:/home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/arch"
PERL5_CPANPLUS_IS_RUNNING="26547"
PERL5_CPANPLUS_IS_VERSION="0.9121"
PERL5_MINISMOKEBOX="0.56"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5/x86_64-linux
/home/perl4/.perlbrew/libs/perl-5.16.3@smoke0/lib/perl5
/home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/lib
/home/perl4/.cpanplus/5.16.3/build/Class-DI-0.03/blib/arch
/home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux
/home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3
/home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux
/home/perl4/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3
.