Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 8824
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: kane [...] dwim.org
Cc:
AdminCc:

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



Subject: Module::Build's self updating is broken if Module::Build is already loaded
[kane@myriad ~...build/Module-Build-0.2606]$ cat x.pl use Module::Build; do 'Build.PL'; system('./Build'); [kane@myriad ~...build/Module-Build-0.2606]$ perlc x.pl Checking whether your kit is complete... Looks good Feature 'YAML_support' enabled. Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Module-Build' version '0.2606' * ERROR: Configuration was initially created with Module::Build version '0.2605', but we are now using version '0.2606'. Please re-run the Build.PL or Makefile.PL script. [kane@myriad ~...build/Module-Build-0.2606]$
Date: Sat, 11 Dec 2004 17:35:57 -0600
From: "Ken Williams" <ken [...] mathforum.org>
To: bug-Module-Build [...] rt.cpan.org
Subject: Re: [cpan #8824] Module::Build's self updating is broken if Module::Build is already loaded
RT-Send-Cc:
This shouldn't be *expected* to work. The Build.PL script should be run in its own process, not via do(). The "use Module::Build; do 'Build.PL';" just ensures that the Build.PL script isn't using the version of Module::Build it thinks it's loading. So of course it breaks. What motivates this use case? -Ken
Thanks, this is fixed now in CVS.