Front page | perl.perl5.porters |
Postings from October 2005
blead @ 25755: uinit warnings during 'make test'
Thread Next
From:
Stas Bekman
Date:
October 13, 2005 18:25
Subject:
blead @ 25755: uinit warnings during 'make test'
Message ID:
434F091D.7030201@stason.org
there are two warnings during the blead's test suite run:
lib/ExtUtils/t/Command....................Use of uninitialized value
$expect in numeric eq (==) at ../lib/ExtUtils/t/Command.t line 61, <> line
576.
ok
lib/ExtUtils/t/Manifest...................Use of uninitialized value $got
in string eq at ../lib/ExtUtils/t/Manifest.t line 103.
ok
I'm not sure about the first one, but the second one can be shutdown with:
diff -u lib/ExtUtils/t/Manifest.t.orig lib/ExtUtils/t/Manifest.t
--- lib/ExtUtils/t/Manifest.t.orig 2005-10-13 18:18:37.000000000 -0700
+++ lib/ExtUtils/t/Manifest.t 2005-10-13 18:20:31.000000000 -0700
@@ -100,6 +100,7 @@
($res, $warn) = do { local $ExtUtils::Manifest::Quiet = 1;
catch_warning( \&skipcheck )
};
+$warn = '' unless defined $warn;
cmp_ok( $warn, 'eq', '', 'disabled warnings' );
# add a skip file with a rule to skip itself (and the nonexistent glob
'*baz*')
though this is probably not the right fix. it has something to do with
ExtUtils::Manifest not emitting a warning as this test expects it to happen.
Summary of my perl5 (revision 5 version 9 subversion 3) configuration:
Platform:
osname=linux, osvers=2.6.12-11mdksmp, archname=i686-linux-thread-multi
uname='linux localhost 2.6.12-11mdksmp #1 smp sun aug 28 18:37:54
cest 2005 i686 intel(r) pentium(r) 4 cpu 2.80ghz unknown gnulinux '
config_args='-des -Dprefix=/home/stas/perl/blead-ithread -Dusethreads
-Doptimize=-g -Duseshrplib -Dusedevel -Accflags=-DDEBUG_LEAKING_SCALARS
-DDEBUG_LEAKING_SCALARS_FORK_DUMP'
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='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUG_LEAKING_SCALARS -DDEBUG_LEAKING_SCALARS_FORK_DUMP -DDEBUGGING
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUG_LEAKING_SCALARS -DDEBUG_LEAKING_SCALARS_FORK_DUMP -DDEBUGGING
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include'
ccversion='', gccversion='4.0.1 (4.0.1-5mdk for Mandriva Linux
release 2006.0)', 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='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.5.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/home/stas/perl/blead-ithread/lib/5.9.3/i686-linux-thread-multi/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING DEBUG_LEAKING_SCALARS_FORK_DUMP
MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
THREADS_HAVE_PIDS USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Locally applied patches:
DEVEL25755
Built under linux
Compiled at Oct 13 2005 17:52:25
%ENV:
PERLDOC_PAGER="less -R"
@INC:
/home/stas/perl/blead-ithread/lib/5.9.3/i686-linux-thread-multi
/home/stas/perl/blead-ithread/lib/5.9.3
/home/stas/perl/blead-ithread/lib/site_perl/5.9.3/i686-linux-thread-multi
/home/stas/perl/blead-ithread/lib/site_perl/5.9.3
/home/stas/perl/blead-ithread/lib/site_perl
.
--
_____________________________________________________________
Stas Bekman mailto:stas@stason.org http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/
Thread Next
-
blead @ 25755: uinit warnings during 'make test'
by Stas Bekman