Skip Menu |

This queue is for tickets about the Time-y2038 CPAN distribution.

Report information
The Basics
Id: 42541
Status: resolved
Priority: 0/
Queue: Time-y2038

People
Owner: Nobody in particular
Requestors: balt [...] inside.net
Cc:
AdminCc:

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



Subject: unable to install due to missing cbuilder?
Date: Tue, 20 Jan 2009 10:01:10 +1100
To: bug-Time-y2038 [...] rt.cpan.org
From: Balthasar Indermuehle <balt [...] inside.net>
Hi, I was trying to install Time::y2038 but it cops out where it's trying to build a test program, claiming: "Can't locate object method "cbuilder" via package "Local::Module::Build" at inc/Local/Module/Build.pm line 13." However: cpan[4]> install ExtUtils::CBuilder ExtUtils::CBuilder is up to date (0.24). Not sure where to go from here. Any suggestions? Here's the complete output: cpan[1]> install Time::y2038 CPAN: Storable loaded ok (v2.18) Going to read /root/.cpan/Metadata Database was generated on Wed, 14 Jan 2009 10:26:55 GMT Running install for module 'Time::y2038' Running make for M/MS/MSCHWERN/Time-y2038-20081111.tar.gz CPAN: Digest::SHA loaded ok (v5.46) CPAN: Compress::Zlib loaded ok (v2.009) Checksum for /root/.cpan/sources/authors/id/M/MS/MSCHWERN/Time-y2038-20081111.ta r.gz ok Scanning cache /root/.cpan/build for sizes .......................................................---------------------DONE DEL(1/18): /root/.cpan/build/IO-Compress-Zlib-2.009 DEL(2/18): /root/.cpan/build/Compress-Zlib-2.009 DEL(3/18): /root/.cpan/build/IO-Zlib-1.09 DEL(4/18): /root/.cpan/build/Archive-Tar-1.38 DEL(5/18): /root/.cpan/build/Archive-Zip-1.23 DEL(6/18): /root/.cpan/build/libnet-1.22 DEL(7/18): /root/.cpan/build/Term-ReadLine-Perl-1.0302 DEL(8/18): /root/.cpan/build/YAML-0.66 DEL(9/18): /root/.cpan/build/Text-Glob-0.08 DEL(10/18): /root/.cpan/build/CPAN-1.9205 DEL(11/18): /root/.cpan/build/File-Which-0.05 DEL(12/18): /root/.cpan/build/CPAN-1.9301-Wvoxs0 CPAN: YAML loaded ok (v0.66) DEL(13/18): /root/.cpan/build/CPAN-1.9301-Wvoxs0.yml DEL(14/18): /root/.cpan/build/Astro-0.69-UIl6CR DEL(15/18): /root/.cpan/build/Astro-0.69-UIl6CR.yml DEL(16/18): /root/.cpan/build/libwww-perl-5.822-u0XICn DEL(17/18): /root/.cpan/build/libwww-perl-5.822-u0XICn.yml DEL(18/18): /root/.cpan/build/Params-Util-0.35-rUmvv8 Time-y2038-20081111/ Time-y2038-20081111/Build.PL Time-y2038-20081111/Changes Time-y2038-20081111/check_max.c Time-y2038-20081111/inc/ Time-y2038-20081111/inc/Local/ Time-y2038-20081111/inc/Local/Module/ Time-y2038-20081111/inc/Local/Module/Build.pm Time-y2038-20081111/INSTALL Time-y2038-20081111/lib/ Time-y2038-20081111/lib/Time/ Time-y2038-20081111/lib/Time/y2038/ Time-y2038-20081111/lib/Time/y2038/Everywhere.pm Time-y2038-20081111/lib/Time/y2038.pm Time-y2038-20081111/lib/Time/y2038.xs Time-y2038-20081111/MANIFEST Time-y2038-20081111/MANIFEST.SKIP Time-y2038-20081111/META.yml Time-y2038-20081111/munge_config Time-y2038-20081111/SIGNATURE Time-y2038-20081111/t/ Time-y2038-20081111/t/everywhere.t Time-y2038-20081111/t/time.t Time-y2038-20081111/t/timegm.t Time-y2038-20081111/typemap Time-y2038-20081111/y2038/ Time-y2038-20081111/y2038/time64.c Time-y2038-20081111/y2038/time64.h Time-y2038-20081111/y2038/time64_config.h.in CPAN: File::Temp loaded ok (v0.20) CPAN: Time::HiRes loaded ok (v1.86) CPAN.pm: Going to build M/MS/MSCHWERN/Time-y2038-20081111.tar.gz Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'Time-y2038' version '20081111' CPAN: Module::Build loaded ok (v0.2808) Building a program to test the range of your system time functions... Can't locate object method "cbuilder" via package "Local::Module::Build" at inc/ Local/Module/Build.pm line 13. MSCHWERN/Time-y2038-20081111.tar.gz ./Build -- NOT OK Running Build test Can't test without successful make Running Build install Make had returned bad status, install seems impossible Failed during this command: MSCHWERN/Time-y2038-20081111.tar.gz : make NO ============================================================================== perl version: root@animatrix:Tue Jan 20 09:59:39> perl -v This is perl, v5.8.8 built for i486-linux-gnu-thread-multi Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. ============================================================================== OS version: root@animatrix:Tue Jan 20 09:59:42> uname -a Linux animatrix 2.6.24-etchnhalf.1-686 #1 SMP Tue Dec 2 07:56:33 UTC 2008 i686 GNU/Linux
Subject: Re: [rt.cpan.org #42541] AutoReply: unable to install due to missing cbuilder?
Date: Tue, 20 Jan 2009 11:20:57 +1100
To: bug-Time-y2038 [...] rt.cpan.org
From: Balthasar Indermuehle <balt [...] inside.net>
I appear to have found a fix. This line: inc/Local/Module/Build.pm: my $cb = $self->cbuilder; needs to be this: inc/Local/Module/Build.pm: my $cb = $self->_cbuilder; and all is groovy. Cheers - Balt On Tue, Jan 20, 2009 at 10:02 AM, Bugs in Time-y2038 via RT < bug-Time-y2038@rt.cpan.org> wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "unable to install due to missing cbuilder?", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #42541]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=42541 > > Please include the string: > > [rt.cpan.org #42541] > > in the subject line of all future correspondence about this issue. To do > so, > you may reply to this message. > > Thank you, > bug-Time-y2038@rt.cpan.org > > ------------------------------------------------------------------------- > Hi, > I was trying to install Time::y2038 but it cops out where it's trying to > build a test program, claiming: > "Can't locate object method "cbuilder" via package "Local::Module::Build" > at > inc/Local/Module/Build.pm line 13." > > However: > cpan[4]> install ExtUtils::CBuilder > ExtUtils::CBuilder is up to date (0.24). > > Not sure where to go from here. Any suggestions? > > Here's the complete output: > > cpan[1]> install Time::y2038 > CPAN: Storable loaded ok (v2.18) > Going to read /root/.cpan/Metadata > Database was generated on Wed, 14 Jan 2009 10:26:55 GMT > Running install for module 'Time::y2038' > Running make for M/MS/MSCHWERN/Time-y2038-20081111.tar.gz > CPAN: Digest::SHA loaded ok (v5.46) > CPAN: Compress::Zlib loaded ok (v2.009) > Checksum for > /root/.cpan/sources/authors/id/M/MS/MSCHWERN/Time-y2038-20081111.ta > r.gz ok > Scanning cache /root/.cpan/build for sizes > > .......................................................---------------------DONE > DEL(1/18): /root/.cpan/build/IO-Compress-Zlib-2.009 > DEL(2/18): /root/.cpan/build/Compress-Zlib-2.009 > DEL(3/18): /root/.cpan/build/IO-Zlib-1.09 > DEL(4/18): /root/.cpan/build/Archive-Tar-1.38 > DEL(5/18): /root/.cpan/build/Archive-Zip-1.23 > DEL(6/18): /root/.cpan/build/libnet-1.22 > DEL(7/18): /root/.cpan/build/Term-ReadLine-Perl-1.0302 > DEL(8/18): /root/.cpan/build/YAML-0.66 > DEL(9/18): /root/.cpan/build/Text-Glob-0.08 > DEL(10/18): /root/.cpan/build/CPAN-1.9205 > DEL(11/18): /root/.cpan/build/File-Which-0.05 > DEL(12/18): /root/.cpan/build/CPAN-1.9301-Wvoxs0 > CPAN: YAML loaded ok (v0.66) > DEL(13/18): /root/.cpan/build/CPAN-1.9301-Wvoxs0.yml > DEL(14/18): /root/.cpan/build/Astro-0.69-UIl6CR > DEL(15/18): /root/.cpan/build/Astro-0.69-UIl6CR.yml > DEL(16/18): /root/.cpan/build/libwww-perl-5.822-u0XICn > DEL(17/18): /root/.cpan/build/libwww-perl-5.822-u0XICn.yml > DEL(18/18): /root/.cpan/build/Params-Util-0.35-rUmvv8 > Time-y2038-20081111/ > Time-y2038-20081111/Build.PL > Time-y2038-20081111/Changes > Time-y2038-20081111/check_max.c > Time-y2038-20081111/inc/ > Time-y2038-20081111/inc/Local/ > Time-y2038-20081111/inc/Local/Module/ > Time-y2038-20081111/inc/Local/Module/Build.pm > Time-y2038-20081111/INSTALL > Time-y2038-20081111/lib/ > Time-y2038-20081111/lib/Time/ > Time-y2038-20081111/lib/Time/y2038/ > Time-y2038-20081111/lib/Time/y2038/Everywhere.pm > Time-y2038-20081111/lib/Time/y2038.pm > Time-y2038-20081111/lib/Time/y2038.xs > Time-y2038-20081111/MANIFEST > Time-y2038-20081111/MANIFEST.SKIP > Time-y2038-20081111/META.yml > Time-y2038-20081111/munge_config > Time-y2038-20081111/SIGNATURE > Time-y2038-20081111/t/ > Time-y2038-20081111/t/everywhere.t > Time-y2038-20081111/t/time.t > Time-y2038-20081111/t/timegm.t > Time-y2038-20081111/typemap > Time-y2038-20081111/y2038/ > Time-y2038-20081111/y2038/time64.c > Time-y2038-20081111/y2038/time64.h > Time-y2038-20081111/y2038/time64_config.h.in > CPAN: File::Temp loaded ok (v0.20) > CPAN: Time::HiRes loaded ok (v1.86) > > CPAN.pm: Going to build M/MS/MSCHWERN/Time-y2038-20081111.tar.gz > > Checking whether your kit is complete... > Looks good > > Checking prerequisites... > Looks good > > Creating new 'Build' script for 'Time-y2038' version '20081111' > CPAN: Module::Build loaded ok (v0.2808) > Building a program to test the range of your system time functions... > Can't locate object method "cbuilder" via package "Local::Module::Build" at > inc/ > Local/Module/Build.pm line 13. > MSCHWERN/Time-y2038-20081111.tar.gz > ./Build -- NOT OK > Running Build test > Can't test without successful make > Running Build install > Make had returned bad status, install seems impossible > Failed during this command: > MSCHWERN/Time-y2038-20081111.tar.gz : make NO > > > > ============================================================================== > perl version: > root@animatrix:Tue Jan 20 09:59:39> perl -v > > This is perl, v5.8.8 built for i486-linux-gnu-thread-multi > > Copyright 1987-2006, Larry Wall > > Perl may be copied only under the terms of either the Artistic License or > the > GNU General Public License, which may be found in the Perl 5 source kit. > > Complete documentation for Perl, including FAQ lists, should be found on > this system using "man perl" or "perldoc perl". If you have access to the > Internet, point your browser at http://www.perl.org/, the Perl Home Page. > > > ============================================================================== > OS version: > root@animatrix:Tue Jan 20 09:59:42> uname -a > Linux animatrix 2.6.24-etchnhalf.1-686 #1 SMP Tue Dec 2 07:56:33 UTC 2008 > i686 GNU/Linux > >
same problem, fixed with the same solution
I tapped up the minimum version of Module::Build to 0.2809 which is when ->cbuilder() was introduced. That should cover the problem.