Skip Menu |

This queue is for tickets about the Class-Declare CPAN distribution.

Report information
The Basics
Id: 48622
Status: resolved
Priority: 0/
Queue: Class-Declare

People
Owner: ibb [...] cpan.org
Requestors: jquelin [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.13
Fixed in: (no value)



Subject: other test failures
$ perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Writing Makefile for Class::Declare $ make -j2 cp Declare/Dump.pm blib/lib/Class/Declare/Dump.pm cp Declare.pm blib/lib/Class/Declare.pm cp Declare/Hash.pm blib/lib/Class/Declare/Hash.pm Manifying blib/man3/Class::Declare::Dump.3pm Manifying blib/man3/Class::Declare.3pm Manifying blib/man3/Class::Declare::Hash.3pm $ make test PERL_DL_NONLAZY=1 /usr/bin/perl5.10.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01compile.t ..... ok t/02declare.t ..... ok t/03new.t ......... ok t/04instance.t .... ok t/05test.t ........ ok t/06class.t ....... ok t/07static.t ...... ok t/08restricted.t .. ok t/09public.t ...... ok t/10private.t ..... ok t/11protected.t ... ok t/12abstract.t .... ok t/13init.t ........ ok t/14multiple.t .... ok t/15has.t ......... ok t/16version.t ..... ok t/17arguments.t ... ok t/18storable.t .... ok t/19strict.t ...... ok t/20friend.t ...... ok # Failed test 'Class::Declare::Dump load failure: correct report' # at t/21dump.t line 98. # Failed test 'Class::Declare::Dump load failure: correct error report' # at t/21dump.t line 101. # Failed test 'Class::Declare::Dump load failure: correct report' # at t/21dump.t line 108. # Failed test 'Class::Declare::Dump load failure: correct error report' # at t/21dump.t line 111. # Looks like you failed 4 tests of 69. t/21dump.t ........ Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/69 subtests t/22clone.t ....... ok t/23shared.t ...... ok t/24export.t ...... ok t/25modifiers.t ... ok t/26readonly.t .... ok t/27readwrite.t ... ok # Failed test 'Class::Declare::Hash load failure: correct report' # at t/28hash.t line 104. # Failed test 'Class::Declare::Hash load failure: correct error report' # at t/28hash.t line 107. # Failed test 'Class::Declare::Hash load failure: correct report' # at t/28hash.t line 114. # Failed test 'Class::Declare::Hash load failure: correct error report' # at t/28hash.t line 117. # Looks like you failed 4 tests of 25. t/28hash.t ........ Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/25 subtests Test Summary Report ------------------- t/21dump.t (Wstat: 1024 Tests: 69 Failed: 4) Failed tests: 1-4 Non-zero exit status: 4 t/28hash.t (Wstat: 1024 Tests: 25 Failed: 4) Failed tests: 1-4 Non-zero exit status: 4 Files=28, Tests=3196, 3 wallclock secs ( 0.38 usr 0.06 sys + 1.89 cusr 0.20 csys = 2.53 CPU) Result: FAIL Failed 2/28 test programs. 8/3196 subtests failed. make: *** [test_dynamic] Erreur 4 error: Bad exit status from /home/jquelin/rpm/cooker/perl-Class-Declare/BUILDROOT/rpm-tmp.Pnpvew (%build) this does not look to be the same than ticket #48499
Can you please include 'perl -V' in this ticket? Ticket the original fix for #48499 is the cause of this new failure.
sure - here it is: $ perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=linux, osvers=2.6.22.18-server-1mdv, archname=x86_64-linux-thread-multi uname='linux celeste.mandriva.com 2.6.22.18-server-1mdv #1 smp mon feb 11 14:59:42 est 2008 x86_64 amd opteron(tm) processor 244 gnulinux ' config_args='-des -Dinc_version_list=5.8.8 5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0 -Darchname=x86_64-linux -Dcc=x86_64-mandriva-linux-gnu-gcc -Doptimize=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -DDEBUGGING=-g -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dsitebin=/usr/local/bin -Dsiteman1dir=/usr/local/share/man/man1 -Dsiteman3dir=/usr/local/share/man/man3 -Dman3ext=3pm -Dcf_by=Mandriva -Dmyhostname=localhost -Dperladmin=root@localhost -Dcf_email=root@localhost -Dd_dosuid -Ud_csh -Duseshrplib -Duseithreads -Di_db -Di_ndbm -Di_gdbm' 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='x86_64-mandriva-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='4.4.1', 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='x86_64-mandriva-linux-gnu-gcc', ldflags =' -L/usr/local/lib64' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.10.1.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.10.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -L/usr/local/lib64' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: Mandriva Linux patches Built under linux Compiled at Jul 26 2009 10:14:00 %ENV: PERL5LIB="/home/jquelin/lib/perl5" @INC: /home/jquelin/lib/perl5 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .
Thanks. As I expected this is a problem with a 64-bit Perl. It seems to be fine under 32 bits, but not so for x86_64. Will start digging...
Le Mar. Aoû. 11 12:16:51 2009, IBB a écrit : Show quoted text
> Thanks. As I expected this is a problem with a 64-bit Perl. It seems to > be fine under 32 bits, but not so for x86_64.
Same issue here, with 32 bits, but with same distribution as Jerome (Mandriva Linux), so the issue may be mandriva-specific: Show quoted text
> Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform: osname=linux, osvers=2.6.22.18-server-1mdv, archname=i386-linux-thread-multi uname='linux n2.mandriva.com 2.6.22.18-server-1mdv #1 smp mon feb 11 16:46:24 est 2008 i686 intel(r) xeon(tm) cpu 2.80ghz gnulinux ' config_args='-des -Dinc_version_list=5.10.0 5.10.0/i386-linux-thread-multi 5.8.8 5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0 -Darchname=i386-linux -Dcc=i586-mandriva-linux-gnu-gcc -Doptimize=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DDEBUGGING=-g -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dsitebin=/usr/local/bin -Dsiteman1dir=/usr/local/share/man/man1 -Dsiteman3dir=/usr/local/share/man/man3 -Dman3ext=3pm -Dcf_by=Mandriva -Dmyhostname=localhost -Dperladmin=root@localhost -Dcf_email=root@localhost -Dd_dosuid -Ud_csh -Duseshrplib -Duseithreads -Di_db -Di_ndbm -Di_gdbm' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='i586-mandriva-linux-gnu-gcc', 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='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.4.1', 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='i586-mandriva-linux-gnu-gcc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.10.1.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.10.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.1/i386-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: Mandriva Linux patches Built under linux Compiled at Aug 24 2009 13:28:18 %ENV: PERL5LIB="/home/guillomovitch/lib/perl5/site_perl/5.10.1" @INC: /home/guillomovitch/lib/perl5/site_perl/5.10.1/i386-linux-thread-multi /home/guillomovitch/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl/5.10.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/vendor_perl/5.10.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/5.10.1/i386-linux-thread-multi /usr/lib/perl5/5.10.1 /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .
This should now be (belatedly) fixed in v0.14 which is winging its way to CPAN. dump() and load() are no longer being dynamically loaded on first use, but are always available in the Class::Declare namespace. Please let me know if this problem persists or is still an issue with this new version.