Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 4133
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: blair [...] orcaware.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.21
Fixed in: (no value)



Subject: make test warnings with 0.21
Running make test with perl 5.8.0 with Module::Build I get these warnings: t/install.......ok t/manifypods....ok 2/17Use of uninitialized value in substitution (s///) at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 52. Use of uninitialized value in substitution (s///) at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 53. Use of uninitialized value in string eq at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 54. Use of uninitialized value in substitution (s///) at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 54. Use of uninitialized value in substitution (s///) at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 55. Use of uninitialized value in string eq at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 56. Use of uninitialized value in substitution (s///) at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 56. Use of uninitialized value in concatenation (.) or string at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 57. Use of uninitialized value in substitution (s///) at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 52. Use of uninitialized value in substitution (s///) at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 53. Use of uninitialized value in string eq at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 54. Use of uninitialized value in substitution (s///) at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 54. Use of uninitialized value in substitution (s///) at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 55. Use of uninitialized value in string eq at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 56. Use of uninitialized value in substitution (s///) at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 56. Use of uninitialized value in concatenation (.) or string at /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/File/Spec/Unix.pm line 57. t/manifypods....ok These warnings do not appear if I run make test with Module::Build 0.20 with the same perl. Best, Blair % perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.20-18.9, archname=i686-linux-thread-multi uname='linux orcaware.com 2.4.20-18.9 #1 thu may 29 07:08:16 edt 2003 i686 i686 i386 gnulinux ' config_args='-Dprefix=/opt/i386-linux/installed/perl-5.8.0 -Dcc=/opt/i386-linux/gcc/bin/gcc -Doptimize=-O3 -march=i386 -mcpu=i686 -Uinstallusrbinperl -Ulocincpth -Duseshrplib -Dcf_email=blair@orcaware.com -Ui_db -Uversiononly -Ubincompat5005 -Dusethreads -Duseithreads -Dlibpth=/lib /usr/lib -Dlibspath=/lib /usr/lib -Dd_dosuid' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef 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='/opt/i386-linux/gcc/bin/gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O3 -march=i386 -mcpu=i686', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/include/gdbm' ccversion='', gccversion='3.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='/opt/i386-linux/gcc/bin/gcc', ldflags ='' libpth=/lib /usr/lib libs=-lnsl -lgdbm -ldl -lm -lpthread -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/i686-linux-thread-multi/CORE' cccdlflags='-fpic', lddlflags='-shared' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: ActivePerl Build 806 Built under linux Compiled at Jun 25 2003 17:38:15 @INC: /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/i686-linux-thread-multi /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0 /opt/i386-linux/installed/perl-5.8.0/lib/site_perl/5.8.0/i686-linux-thread-multi /opt/i386-linux/installed/perl-5.8.0/lib/site_perl/5.8.0 /opt/i386-linux/installed/perl-5.8.0/lib/site_perl .
Here's a patch that fixes it, I didn't see this because I'm using a newer version of File::Spec. --- t/manifypods.t 11 Oct 2003 02:39:57 -0000 1.6 +++ t/manifypods.t 17 Oct 2003 00:54:04 -0000 1.7 @@ -39,7 +39,8 @@ 'script' => '', 'lib/Sample/NoPod.pm' => '', ); -$_ = $m->localize_file_path($_) foreach %distro; +# foreach(keys %foo) doesn't give proper lvalues on 5.005, so we use the ugly way +%distro = map {$m->localize_file_path($_), $distro{$_}} keys %distro; $m->dispatch('build');
From: blair [...] orcaware.com
[KWILLIAMS - Thu Oct 16 21:01:32 2003]: Show quoted text
> Here's a patch that fixes it, I didn't see this because I'm using a > newer version of > File::Spec.
You mean a newer version than 0.86? That's the latest on the CPAN mirror I'm using (ftp.funet.fi). Blair
Hmm, I guess the File::Spec version isn't the problem then. 0.86 is the latest. In any case, it doesn't make much sense to pass empty strings into localize_file_path(), so the patch is still the right one to make. -Ken