Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 43605
Status: resolved
Priority: 0/
Queue: DateTime-TimeZone

People
Owner: Nobody in particular
Requestors: htoug [...] cpan.org
michael.reddick [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.84
Fixed in: 0.85



Subject: DateTime::TimeZone 0.84 cannot build under cpan
Download (untitled) / with headers
text/plain 429b
trying to build version 0.84 of the module results in an error: ... Manifying blib/man3/DateTime::TimeZone::OlsonDB.3 Manifying blib/man3/DateTime::TimeZone::Local::Win32.3 /usr/local/adapt/local/perl5.8.7/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build Too early to specify a build action 'Build'. Do 'Build Build' instead. make: *** [Build] Error 9 version 0.83 works. This is perl, v5.8.7 built for i686-linux on RHEL5
Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Wed, 25 Feb 2009 08:37:58 -0600 (CST)
To: Henrik Tougaard via RT <bug-DateTime-TimeZone [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
Download (untitled) / with headers
text/plain 1.2k
On Wed, 25 Feb 2009, Henrik Tougaard via RT wrote: Show quoted text
> Wed Feb 25 08:50:21 2009: Request 43605 was acted upon. > Transaction: Ticket created by HTOUG > Queue: DateTime-TimeZone > Subject: DateTime::TimeZone 0.84 cannot build under cpan > Broken in: 0.84 > Severity: Critical > Owner: Nobody > Requestors: htoug@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=43605 > > > > trying to build version 0.84 of the module results in an error: > > ... > Manifying blib/man3/DateTime::TimeZone::OlsonDB.3 > Manifying blib/man3/DateTime::TimeZone::Local::Win32.3 > /usr/local/adapt/local/perl5.8.7/bin/perl "-Iblib/arch" "-Iblib/lib" > Build.PL Build > Too early to specify a build action 'Build'. Do 'Build Build' instead. > make: *** [Build] Error 9 > > > version 0.83 works. > > This is perl, v5.8.7 built for i686-linux on RHEL5
Nothing in the Build.PL changes between versions. Did you upgrade Module::Build or any other toolchain modules? -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Wed, 25 Feb 2009 18:18:00 +0100
To: bug-DateTime-TimeZone [...] rt.cpan.org
From: Henrik Tougaard <htougaard [...] gmail.com>
Download (untitled) / with headers
text/plain 1.4k
autarch@urth.org via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=43605 > > > On Wed, 25 Feb 2009, Henrik Tougaard via RT wrote: >
>> Wed Feb 25 08:50:21 2009: Request 43605 was acted upon. >> Transaction: Ticket created by HTOUG >> Queue: DateTime-TimeZone >> Subject: DateTime::TimeZone 0.84 cannot build under cpan >> Broken in: 0.84 >> Severity: Critical >> Owner: Nobody >> Requestors: htoug@cpan.org >> Status: new >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=43605 > >> >> >> trying to build version 0.84 of the module results in an error: >> >> ... >> Manifying blib/man3/DateTime::TimeZone::OlsonDB.3 >> Manifying blib/man3/DateTime::TimeZone::Local::Win32.3 >> /usr/local/adapt/local/perl5.8.7/bin/perl "-Iblib/arch" "-Iblib/lib" >> Build.PL Build >> Too early to specify a build action 'Build'. Do 'Build Build' instead. >> make: *** [Build] Error 9 >> >> >> version 0.83 works. >> >> This is perl, v5.8.7 built for i686-linux on RHEL5
> > Nothing in the Build.PL changes between versions. Did you upgrade > Module::Build or any other toolchain modules? >
No. We tried to install 0.84 first - and failed. Then we installed 0.83 without trouble. First: Show quoted text
cpan> install DateTime::TimeZone
...Build error .. analysis etc - but no changes to anything Show quoted text
cpan> look look D/DR/DROLSKY/DateTime-TimeZone-0.83.tar.gz
Show quoted text
> perl Makefile.PL
... Show quoted text
> make test install
/Henrik .. no problems
Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Wed, 25 Feb 2009 12:44:16 -0600 (CST)
To: Henrik Tougaard via RT <bug-DateTime-TimeZone [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
Download (untitled) / with headers
text/plain 692b
On Wed, 25 Feb 2009, Henrik Tougaard via RT wrote: Show quoted text
>> Nothing in the Build.PL changes between versions. Did you upgrade >> Module::Build or any other toolchain modules? >>
> No. > We tried to install 0.84 first - and failed. > Then we installed 0.83 without trouble.
Hmm, like I said, none of the build files changes between versions. The output you're getting doesn't give me any clues. It just works for me, not that that helps you. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Wed, 25 Feb 2009 21:44:54 +0100
To: bug-DateTime-TimeZone [...] rt.cpan.org
From: Henrik Tougaard <htougaard [...] gmail.com>
Download (untitled) / with headers
text/plain 75.7k

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Wed, 25 Feb 2009 21:55:56 +0100
To: bug-DateTime-TimeZone [...] rt.cpan.org
From: Henrik Tougaard <htougaard [...] gmail.com>
Download (untitled) / with headers
text/plain 75.7k

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Thu, 26 Feb 2009 09:32:23 -0600 (CST)
To: Henrik Tougaard via RT <bug-DateTime-TimeZone [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
Download (untitled) / with headers
text/plain 779b
On Wed, 25 Feb 2009, Henrik Tougaard via RT wrote: Show quoted text
>> cpan[6]> look D/DR/DROLSKY/DateTime-TimeZone-0.84.tar.gz >> >> Trying to open a subshell in the build directory... >> Working directory is /root/.cpan/build/DateTime-TimeZone-0.84-xytpQS >> [root@clover DateTime-TimeZone-0.84-xytpQS]# perl Makefile.PL
What happens if you do: perl Build.PL ./Build ? Show quoted text
>> /usr/local/adapt/local/perl5.8.7/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build
See, that makes no sense, and I hav eno idea why make would be calling it. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Fri, 27 Feb 2009 13:02:15 +0100
To: bug-DateTime-TimeZone [...] rt.cpan.org
From: Henrik Tougaard <htougaard [...] gmail.com>
Download (untitled) / with headers
text/plain 4.2k
autarch@urth.org via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=43605 > > > On Wed, 25 Feb 2009, Henrik Tougaard via RT wrote: >
>>> cpan[6]> look D/DR/DROLSKY/DateTime-TimeZone-0.84.tar.gz >>> >>> Trying to open a subshell in the build directory... >>> Working directory is /root/.cpan/build/DateTime-TimeZone-0.84-xytpQS >>> [root@clover DateTime-TimeZone-0.84-xytpQS]# perl Makefile.PL
> > What happens if you do: > > perl Build.PL > ./Build > > ? >
Works perfectly in 0.84 and 0.83 The challenge is 'just' to get cpan.pm to use build.... Show quoted text
>>> /usr/local/adapt/local/perl5.8.7/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build
> > See, that makes no sense, and I hav eno idea why make would be calling it.
Doing perl Makefile.PL make and then a 'make -n' after the failure gives me: ... Manifying blib/man3/DateTime::TimeZone::OlsonDB.3 Manifying blib/man3/DateTime::TimeZone::Local::Win32.3 /usr/local/adapt/local/perl5.8.7/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build Too early to specify a build action 'Build'. Do 'Build Build' instead. make: *** [Build] Error 9 [root@clover DateTime-TimeZone-0.84-jhVcu6]# make -n /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /usr/local/adapt/local/perl5.8.7/bin/perl "-MExtUtils::Command::MM" -e pod2man "--" --section=3 --perm_rw=644\ lib/DateTime/TimeZone/UTC.pm blib/man3/DateTime::TimeZone::UTC.3 \ lib/DateTime/TimeZone/Catalog.pm blib/man3/DateTime::TimeZone::Catalog.3 \ lib/DateTime/TimeZone/Local.pm blib/man3/DateTime::TimeZone::Local.3 \ lib/DateTime/TimeZone/OffsetOnly.pm blib/man3/DateTime::TimeZone::OffsetOnly.3 \ lib/DateTime/TimeZone/Floating.pm blib/man3/DateTime::TimeZone::Floating.3 \ lib/DateTime/TimeZone/Local/Unix.pm blib/man3/DateTime::TimeZone::Local::Unix.3 \ lib/DateTime/TimeZone/Local/VMS.pm blib/man3/DateTime::TimeZone::Local::VMS.3 \ lib/DateTime/TimeZone.pm blib/man3/DateTime::TimeZone.3 \ lib/DateTime/TimeZone/OlsonDB.pm blib/man3/DateTime::TimeZone::OlsonDB.3 \ lib/DateTime/TimeZone/Local/Win32.pm blib/man3/DateTime::TimeZone::Local::Win32.3 /bin/sh -c true /usr/local/adapt/local/perl5.8.7/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build /bin/sh -c true /bin/sh -c true [root@clover DateTime-TimeZone-0.84-jhVcu6]# It seems that make wants to build Build as the last thing it does. Wierd.... Diff'ing the makefiles from 0.83 and 0.84 (and ignoring diffs due to the version change and addition of Katmandu etc) gives: *** /tmp/Makefile-0.83 2009-02-27 12:55:34.000000000 +0100 --- /tmp/Makefile-0.84 2009-02-27 12:55:14.000000000 +0100 *************** *** 13,19 **** # EXE_FILES => [] # INSTALLDIRS => q[site] # NAME => q[DateTime::TimeZone] - # PL_FILES => { } # PREREQ_PM => { Class::Singleton=>q[1.03], Params::Validate=>q[0.72], Pod::Man=>q[1.14], Module::Build=>q[0], Cwd=>q[3] } # VERSION_FROM => q[lib/DateTime/TimeZone.pm] *************** *** 1638,1643 **** --- 1637,1648 ---- # --- MakeMaker processPL section: + all :: Build + $(NOECHO) $(NOOP) + + Build :: Build.PL + $(PERLRUNINST) Build.PL Build + # --- MakeMaker installbin section: *************** There is a minor change in the Makefile.PL: *** Makefile.PL 2008-10-27 16:11:19.000000000 +0100 --- ../DateTime-TimeZone-0.84-jhVcu6/Makefile.PL 2009-01-21 21:47:30.000000000 +0100 *************** *** 1,4 **** ! # Note: this file was auto-generated by Module::Build::Compat version 0.30 use ExtUtils::MakeMaker; WriteMakefile ( --- 1,4 ---- ! # Note: this file was auto-generated by Module::Build::Compat version 0.31012 use ExtUtils::MakeMaker; WriteMakefile ( *************** *** 12,18 **** 'Pod::Man' => '1.14' }, 'INSTALLDIRS' => 'site', ! 'EXE_FILES' => [], ! 'PL_FILES' => {} ) ; --- 12,17 ---- 'Pod::Man' => '1.14' }, 'INSTALLDIRS' => 'site', ! 'EXE_FILES' => [] ) ; The removal of the 'PL_FILES'-line might cause make to try to build Build from Build.PL. Hmmm... Probably Module::Build::Compat v.0.31012 is the cause of the bug? /Henrik
Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Fri, 27 Feb 2009 08:04:07 -0600 (CST)
To: Henrik Tougaard via RT <bug-DateTime-TimeZone [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
Download (untitled) / with headers
text/plain 977b
On Fri, 27 Feb 2009, Henrik Tougaard via RT wrote: Show quoted text
> Works perfectly in 0.84 and 0.83 > > The challenge is 'just' to get cpan.pm to use build....
There's a config option called prefer_installer which can be EUMM or MB. Show quoted text
> The removal of the 'PL_FILES'-line might cause make to try to build > Build from Build.PL. > Hmmm... > Probably Module::Build::Compat v.0.31012 is the cause of the bug?
Possibly, but I tried running make on my system and it worked fine. Of course, I didn't use cpan, so maybe cpan is invoking it differently somehow. I just remade this with Module::Build 0.32 and that processPL section is gone, so maybe that is the fix. But I don't see any changes in Module::Build::Compat that are relevant. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
Subject: Re: bug 43605
Date: Mon, 9 Mar 2009 11:45:01 -0600
To: bug-DateTime-TimeZone [...] rt.cpan.org
From: Michael Reddick <michael.reddick [...] gmail.com>
Download (untitled) / with headers
text/plain 410b
I had the same problem. This fixed it.. --- /home/michaelr/Desktop/DateTime-TimeZone-0.84/Makefile.PL 2009-01-21 14:47:30.000000000 -0600 +++ Makefile.PL 2009-03-09 12:41:43.000000000 -0600 @@ -2,6 +2,7 @@ use ExtUtils::MakeMaker; WriteMakefile ( + 'PL_FILES' => {}, 'NAME' => 'DateTime::TimeZone', 'VERSION_FROM' => 'lib/DateTime/TimeZone.pm', 'PREREQ_PM' => {
Download (untitled) / with headers
text/plain 323b
I think I know what's going on here. Ancient versions of ExtUtils::MakeMaker (pre 6.25, released in 2004!) see Build.PL and try to process it the way it does things like Foo_pm.PL. This is some wacky pre-processing feature where you can generate files to be installed from a .PL file. So what version of EUMM do you have?
CC: htoug [...] cpan.org
Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Mon, 9 Mar 2009 12:35:26 -0600
To: bug-DateTime-TimeZone [...] rt.cpan.org
From: Michael Reddick <michael.reddick [...] gmail.com>
Show quoted text
> > > So what version of EUMM do you have? > >
6.17
Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Mon, 9 Mar 2009 13:46:42 -0500 (CDT)
To: Michael Reddick via RT <bug-DateTime-TimeZone [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
Download (untitled) / with headers
text/plain 614b
On Mon, 9 Mar 2009, Michael Reddick via RT wrote: Show quoted text
> Queue: DateTime-TimeZone > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=43605 > >
>> >> >> So what version of EUMM do you have? >> >>
> 6.17
And I assume you're using Perl 5.8.7 or earlier? I'm bringing this up with the Module::Build folks, since that'd be the easiest place to fix this. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
CC: htoug [...] cpan.org
Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Mon, 9 Mar 2009 12:55:41 -0600
To: bug-DateTime-TimeZone [...] rt.cpan.org
From: Michael Reddick <michael.reddick [...] gmail.com>
Download (untitled) / with headers
text/plain 598b
On Mon, Mar 9, 2009 at 12:47 PM, autarch@urth.org via RT < bug-DateTime-TimeZone@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=43605 > > > On Mon, 9 Mar 2009, Michael Reddick via RT wrote: >
> > Queue: DateTime-TimeZone > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=43605 > > >
> >> > >> > >> So what version of EUMM do you have? > >> > >>
> > 6.17
> > And I assume you're using Perl 5.8.7 or earlier? >
5.8.5 Show quoted text
> > I'm bringing this up with the Module::Build folks, since that'd be the > easiest place to fix this. > >
Sounds, good. Thanks. michael
From: mike [...] averoinc.com
Download (untitled) / with headers
text/plain 914b
As a quick workaround I installed latest ExtUtils::MakeMaker (6.48) via cpan. Once that was installed, the DateTime::TimeZone build issue went away, and it installed correctly via cpan. On Mon Mar 09 14:56:15 2009, michael.reddick@gmail.com wrote: Show quoted text
> On Mon, Mar 9, 2009 at 12:47 PM, autarch@urth.org via RT < > bug-DateTime-TimeZone@rt.cpan.org> wrote: >
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=43605 > > > > > On Mon, 9 Mar 2009, Michael Reddick via RT wrote: > >
> > > Queue: DateTime-TimeZone > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=43605 > > > >
> > >> > > >> > > >> So what version of EUMM do you have? > > >> > > >>
> > > 6.17
> > > > And I assume you're using Perl 5.8.7 or earlier? > >
> > > 5.8.5 > >
> > > > I'm bringing this up with the Module::Build folks, since that'd be the > > easiest place to fix this. > > > >
> Sounds, good. Thanks. > > michael
Download (untitled) / with headers
text/plain 203b
I'm unable to install DateTime::TimeZone Get the following error: Can't access URL ftp://ftp.ccs.neu.edu/net/mirrors/ftp.funet.fi/pub/languages/perl/CPAN/authors/id/D/D//D/D//D/D/D/Da/DateTime/TimeZone
Subject: Re: [rt.cpan.org #43605] DateTime::TimeZone 0.84 cannot build under cpan
Date: Thu, 12 Mar 2009 16:02:23 -0500 (CDT)
To: Charlie Sawyer via RT <bug-DateTime-TimeZone [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
Download (untitled) / with headers
text/plain 760b
On Thu, 12 Mar 2009, Charlie Sawyer via RT wrote: Show quoted text
> Queue: DateTime-TimeZone > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=43605 > > > I'm unable to install DateTime::TimeZone Get the following error: > > Can't access URL > ftp://ftp.ccs.neu.edu/net/mirrors/ftp.funet.fi/pub/languages/perl/CPAN/authors/id/D/D//D/D//D/D/D/Da/DateTime/TimeZone
This is a problem with the CPAN mirror or the CPAN shell, and has nothing to do with this module, or with the error discussed in this ticket. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.