Subject: | Devel-NYTProf-2.10 - Tests failure: Undefined subroutine &NYTProfTest::note |
Date: | Sat, 15 Aug 2009 02:19:10 -1000 |
To: | bug-devel-nytprof [...] rt.cpan.org |
From: | parv [...] pair.com |
I was trying to install the module Devel-NYTProf-2.10 on CentOS 5
64bit ...
Linux kolea 2.6.18-128.1.1.el5 #1 SMP Wed Mar 25 18:14:28 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
... encountered some test failures ...
t/test01.............ok 1/97Undefined subroutine &NYTProfTest::note called at t/lib/NYTProfTest.pm line 143.
# Looks like you planned 97 tests but only ran 6.
# Looks like your test died just after 6.
t/test01.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 7-97
Failed 91/97 tests, 6.19% okay
...
t/test51-enable......ok 1/129Undefined subroutine &NYTProfTest::note called at t/lib/NYTProfTest.pm line 143.
# Looks like you planned 129 tests but only ran 6.
# Looks like your test died just after 6.
t/test51-enable......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 7-129
Failed 123/129 tests, 4.65% okay
...
Failed Test Stat Wstat Total Fail List of Failed
------------------------------------------------------------------------------------------------------------------
t/test01.t 255 65280 97 182 7-97
t/test51-enable.t 255 65280 129 246 7-129
3 tests skipped.
Failed 2/36 test scripts. 214/1923 subtests failed.
Files=36, Tests=1923, 132 wallclock secs (23.99 cusr + 5.04 csys = 29.03 CPU)
Failed 2/36 test programs. 214/1923 subtests failed.
make: *** [test_dynamic] Error 255
Test::More version is 0.72, which has &diag. If my suspicion of the
usage of ¬e in *::NYTProfTest is correct, attached patch should fix
the test failures.
And now, the perl verison ...
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.18-128.1.1.el5, archname=x86_64-linux
uname='linux kolea 2.6.18-128.1.1.el5 #1 smp wed mar 25 18:14:28 edt 2009 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Dprefix=/home/agarwal/comp/perl5-64 -Doptimize=-g -DDEBUGGING '
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 ='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-g',
cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-44)', 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 =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -g -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_PERLIO
Built under linux
Compiled at Aug 15 2009 01:45:41
@INC:
/home/agarwal/comp/perl5-64/lib/5.10.0/x86_64-linux
/home/agarwal/comp/perl5-64/lib/5.10.0
/home/agarwal/comp/perl5-64/lib/site_perl/5.10.0/x86_64-linux
/home/agarwal/comp/perl5-64/lib/site_perl/5.10.0
.
--
Message body is not shown because sender requested not to inline it.