Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 34219
Status: resolved
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: monsieur_champs [...] yahoo.com.br
Cc:
AdminCc:

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



Subject: Non-Stated Dependency on Class::Singleton breaks test scripts
Hi, Dave :) DateTime 0.42 have an undeclared dependency on Class::Singleton. This is breaking the module tests before installation can complete successfuly in my linux box. Please find all the information I got (full logfiles from my failed install attempt; perl version information) attached. Even knowing it's a simple problem, I thought that it would be nice to provide a patch. :) Thanks a lot for maintaining this module!
Subject: Makefile.PL.patch
--- Makefile.PL 2007-09-10 16:24:34.000000000 +0200 +++ Makefile.PL.fixed 2008-03-18 14:09:38.000000000 +0100 @@ -74,6 +74,7 @@ 'Params::Validate' => 0.76, 'Pod::Man' => 1.14, 'Scalar::Util' => 0, + 'Class::Singleton' => 0, 'Test::More' => 0.34, 'Time::Local' => 1.04, },
Subject: perl-version.txt
Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.4.29, archname=i686-linux uname='linux cat 2.4.29 #2 smp thu jul 28 17:12:41 cest 2005 i686 unknown ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include' ccversion='', gccversion='3.4.6', 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 -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under linux Compiled at Mar 17 2008 16:17:42 %ENV: PERL5LIB="/home/lcampos/perl5/lib/perl5:/home/lcampos/perl5/lib/perl5/i486-linux-gnu-thread-multi" PERL_MM_OPT="INSTALL_BASE=/home/lcampos/perl5" @INC: /home/lcampos/perl5/lib/perl5/i686-linux /home/lcampos/perl5/lib/perl5 /home/lcampos/perl5/lib/perl5/i486-linux-gnu-thread-multi /home/lcampos/perl5/lib/5.8.8/i686-linux /home/lcampos/perl5/lib/5.8.8 /home/lcampos/perl5/lib/site_perl/5.8.8/i686-linux /home/lcampos/perl5/lib/site_perl/5.8.8 /home/lcampos/perl5/lib/site_perl .
Subject: DateTime-0.42-1205843681.log

Message body is not shown because it is too large.

From: DROLSKY [...] cpan.org
On Wed Mar 19 04:58:08 2008, monsieur_champs@yahoo.com.br wrote: Show quoted text
> DateTime 0.42 have an undeclared dependency on Class::Singleton. This is > breaking the module tests before installation can complete successfuly > in my linux box. > > Please find all the information I got (full logfiles from my failed > install attempt; perl version information) attached.
If you look carefully you'll see that it's DateTime::TimeZone that needs Class::Singleton. For some reason, your logs don't show DT::TZ being installed at all, even though the log _does_ show that it needs to be installed. DT::TZ does declare Class::Singleton as a dependency. I'm not sure what happened, but it looks like something went wrong on your end.
Subject: Re: [rt.cpan.org #34219] Non-Stated Dependency on Class::Singleton breaks test scripts
Date: Sat, 22 Mar 2008 09:58:38 +0000
To: bug-DateTime [...] rt.cpan.org
From: "Flavio S. Glock" <fglock [...] gmail.com>
You don't have DateTime::TimeZone 0.59, but you do have a broken previous version (DateTime::TimeZone::America::Chicago is being loaded). DateTime::Locale is being tested before the new DateTime::TimeZone could be installed, and it is using the broken DateTime::TimeZone. possible fix: reinstall (or remove) DateTime::TimeZone in order to fix the installation, and then try again. 2008/3/21, DROLSKY via RT <bug-DateTime@rt.cpan.org>: Show quoted text
> > Queue: DateTime > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=34219 > > > > On Wed Mar 19 04:58:08 2008, monsieur_champs@yahoo.com.br wrote: >
> > DateTime 0.42 have an undeclared dependency on Class::Singleton. This is > > breaking the module tests before installation can complete successfuly > > in my linux box. > > > > Please find all the information I got (full logfiles from my failed > > install attempt; perl version information) attached.
> > > If you look carefully you'll see that it's DateTime::TimeZone that needs > Class::Singleton. For some reason, your logs don't show DT::TZ being > installed at all, even though the log _does_ show that it needs to be > installed. DT::TZ does declare Class::Singleton as a dependency. > > I'm not sure what happened, but it looks like something went wrong on > your end. > >