Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-Locale CPAN distribution.

Report information
The Basics
Id: 41365
Status: resolved
Priority: 0/
Queue: DateTime-Locale

People
Owner: Nobody in particular
Requestors: jeremyhetzler [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.42
Fixed in: 0.44



Subject: make test fails (DateTime::Locale 0.42, Cygwin Perl 5.10.0p34065)
make runs fine but "make test" fails. uname -a: CYGWIN_NT-5.1 none 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin make test output (full version attached): /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basic..............Use of uninitialized value $id in pattern match (m//) at /home/steveb/.cpan/build/DateTime-Locale-0.42-u7307n/blib/lib/DateTime/Locale.pm line 65. Use of uninitialized value $id in exists at /home/steveb/.cpan/build/DateTime-Locale-0.42-u7307n/blib/lib/DateTime/Locale.pm line 68. Use of uninitialized value $native_pieces[0] in join or string at /home/steveb/.cpan/build/DateTime-Locale-0.42-u7307n/blib/lib/DateTime/Locale.pm line 83. Use of uninitialized value $id in hash element at /home/steveb/.cpan/build/DateTime-Locale-0.42-u7307n/blib/lib/DateTime/Locale.pm line 85. Use of uninitialized value $id in hash element at /home/steveb/.cpan/build/DateTime-Locale-0.42-u7307n/blib/lib/DateTime/Locale.pm line 90. Use of uninitialized value $id in pattern match (m//) at /home/steveb/.cpan/build/DateTime-Locale-0.42-u7307n/blib/lib/DateTime/Locale.pm line 65. Use of uninitialized value $id in exists at /home/steveb/.cpan/build/DateTime-Locale-0.42-u7307n/blib/lib/DateTime/Locale.pm line 68. Use of uninitialized value $id in concatenation (.) or string at /home/steveb/.cpan/build/DateTime-Locale-0.42-u7307n/blib/lib/DateTime/Locale.pm line 68. You cannot replace an existing locale ('') unless you also specify the 'replace' parameter as true BEGIN failed--compilation aborted at /home/steveb/.cpan/build/DateTime-Locale-0.42-u7307n/blib/lib/DateTime/Locale.pm line 151. Compilation failed in require at t/01basic.t line 8. BEGIN failed--compilation aborted at t/01basic.t line 8. Dubious, test returned 9 (wstat 2304, 0x900) No subtests run -------------------------- perl -V: Summary of my perl5 (revision 5 version 10 subversion 0 patch 34065) configuration: Platform: osname=cygwin, osvers=1.5.25(0.15642), archname=cygwin-thread-multi-64int uname='cygwin_nt-5.1 reini 1.5.25(0.15642) 2008-06-12 19:34 i686 cygwin ' config_args='-de -Dmksymlinks -Dusethreads -Dmad=y -Dusedevel' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include', optimize='-O3', cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using dmd 0.125)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat perllibs=-ldl -lcrypt libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY MYMALLOC PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MAD PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: MAINT34065 CYG11 no-bs CYG12 no archlib in otherlibdirs CYG14 Dynaloader CYG15 static-Win32CORE Bug#55162 File::Spec::case_tolerant performance Built under cygwin Compiled at Jun 30 2008 16:05:15 %ENV: PERL5LIB="/home/steveb/lib/perl:lib" PERLIO="perlio" CYGWIN="" @INC: /home/steveb/lib/perl lib /usr/lib/perl5/5.10/i686-cygwin /usr/lib/perl5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .
Subject: maketest.out
Download maketest.out
application/octet-stream 15.9k

Message body not shown because it is not plain text.

On Tue Dec 02 02:25:59 2008, jeremyhetzler wrote: Show quoted text
> make runs fine but "make test" fails. > > uname -a: CYGWIN_NT-5.1 none 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 > Cygwin > > make test output (full version attached): > /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, > 'blib/lib', 'blib/arch')" t/*.t > t/01basic..............Use of uninitialized value $id in pattern match > (m//) at > /home/steveb/.cpan/build/DateTime-Locale-0.42- > u7307n/blib/lib/DateTime/Locale.pm > line 65.
This should be impossible. The value of $id comes from a parameter passed to the method, and the parameter validation should ensure that only defined scalars make it through. What version of Params::Validate do you have installed?
From: jeremyhetzler [...] gmail.com
On Sat Dec 06 10:16:09 2008, DROLSKY wrote: Show quoted text
> > This should be impossible. The value of $id comes from a parameter > passed to the method, and the parameter validation should ensure that > only defined scalars make it through. > > What version of Params::Validate do you have installed?
That fixed it. I had version 0.89 installed. After updating to 0.91, all the tests pass. It might be good to explicitly require the newer version. Thanks for the help, Jeremy