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: 75223
Status: resolved
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

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



Subject: DateTime failed tests; could not locate Class::ISA
Today I attempted to install with 'cpan' a distro for which DateTime was an explicit prerequisite. That installation failed, citing DateTime as one of the missing prereqs. I know for a fact that DateTime was previously installed on this machine (probably via a Debian package), so I was surprised at this. I went to install DateTime with 'cpan'. It appeared to build okay, but when the tests began I got output starting like the attached. I was surprised at that, because I know that I had Class::ISA in the past. Nonetheless, I moved forward by using 'cpan' to install Class::ISA. After that, I was able to (re-)install DateTime. So, why did Class::ISA get picked up as a dependency and cause tests to fail? Is the fact that Class::ISA is no longer in the Perl 5 core distro relevant here? $ corelist Class::ISA Class::ISA was first released with perl v5.7.3 and removed from v5.13.1 Thank you very much. Jim Keenan
Subject: DateTime.missingdep.txt
CPAN.pm: Building D/DR/DROLSKY/DateTime-0.72.tar.gz Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'DateTime' version '0.72' Building DateTime cc -Ic -I/usr/local/lib/perl5/5.14.0/i686-linux/CORE -DXS_VERSION="0.72" -DVERSION="0.72" -fPIC -c -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o lib/DateTime.o lib/DateTime.c ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/DateTime/DateTime.bs') cc -shared -O2 -L/usr/local/lib -fstack-protector -o blib/arch/auto/DateTime/DateTime.so lib/DateTime.o DROLSKY/DateTime-0.72.tar.gz ./Build -- OK Running Build test t/00load.t ....................... 1/? # Failed test 'use DateTime;' # at t/00load.t line 6. # Tried to use 'DateTime'. # Error: Can't locate Class/ISA.pm in @INC (@INC contains: /home/jimk/.cpan/build/DateTime-0.72-fNBogQ/blib/lib /home/jimk/.cpan/build/DateTime-0.72-fNBogQ/blib/arch /usr/local/lib/perl5/site_perl/5.14.0/i686-linux /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.0/i686-linux /usr/local/lib/perl5/5.14.0 /usr/local/lib/perl5/site_perl/5.12.0 /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/site_perl/5.10.1/DateTime/Locale/Base.pm line 6. # BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.10.1/DateTime/Locale/Base.pm line 6. # Compilation failed in require at /usr/local/lib/perl5/site_perl/5.10.1/DateTime/Locale.pm line 10.
Subject: Re: [rt.cpan.org #75223] DateTime failed tests; could not locate Class::ISA
Date: Wed, 22 Feb 2012 14:00:15 -0600 (CST)
To: James E Keenan via RT <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Wed, 22 Feb 2012, James E Keenan via RT wrote: Show quoted text
> Today I attempted to install with 'cpan' a distro for which DateTime was > an explicit prerequisite. That installation failed, citing DateTime as > one of the missing prereqs. I know for a fact that DateTime was > previously installed on this machine (probably via a Debian package), so > I was surprised at this. I went to install DateTime with 'cpan'. It > appeared to build okay, but when the tests began I got output starting > like the attached. > > I was surprised at that, because I know that I had Class::ISA in the > past. Nonetheless, I moved forward by using 'cpan' to install > Class::ISA. After that, I was able to (re-)install DateTime. > > So, why did Class::ISA get picked up as a dependency and cause tests to > fail?
Duh, I dunno. If you could share the error output you saw that would help me, I think. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
On Wed Feb 22 15:00:24 2012, autarch@urth.org wrote: Show quoted text
> Duh, I dunno. If you could share the error output you saw that would help > me, I think. >
Attached.
Subject: DateTime.complete.error.output.txt

Message body is not shown because it is too large.

Subject: perl.version.info.linux.txt
$ perl -V Summary of my perl5 (revision 5 version 14 subversion 0) configuration: Platform: osname=linux, osvers=2.6.18.8-linode22, archname=i686-linux uname='linux li11-226 2.6.18.8-linode22 #1 smp tue nov 10 16:12:12 utc 2009 i686 gnulinux ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define 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 -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.3.2', 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 =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib /usr/lib64 libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lc -lgdbm_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.7.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.7' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF Built under linux Compiled at May 21 2011 11:34:29 @INC: /usr/local/lib/perl5/site_perl/5.14.0/i686-linux /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.0/i686-linux /usr/local/lib/perl5/5.14.0 /usr/local/lib/perl5/site_perl/5.12.0 /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .
Subject: Re: [rt.cpan.org #75223] DateTime failed tests; could not locate Class::ISA
Date: Wed, 22 Feb 2012 14:45:43 -0600 (CST)
To: James E Keenan via RT <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Wed, 22 Feb 2012, James E Keenan via RT wrote: Show quoted text
> Queue: DateTime > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=75223 > > > On Wed Feb 22 15:00:24 2012, autarch@urth.org wrote: >
>> Duh, I dunno. If you could share the error output you saw that would help >> me, I think. >>
> > Attached.
The error is coming from DateTime::Locale, which used to use Class::ISA in older releases. Maybe try upgrading it? -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/