Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: ivorw-cpan [...] xemaps.com
Cc:
AdminCc:

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



Subject: Module::Build remembers that YAML wasn't installed
Module::Build recommends YAML rather than requiring it. This is fine, one thinks... "I'll install YAML later". But no! Module::Build remembers the fact that you didn't have YAML installed, by writing this information to Module::Build::Config.pm, where it subsequently looks for it during future builds. If you install YAML afterwards, Module::Build won't use it. This was causing ./Build dist (distmeta) to fail (for another module that uses Module::Build), and was puzzling me. I fixed the problem by doing a forced install of Module::Build. I would recommend one of the following: 1. Change Module::Build to check for YAML.pm at run time (preferred). 2. Make YAML into a requires dependency. 3. Change the documentation (pod and INSTALL) to recommend installing YAML first.
This was already fixed in the 0.27_xx branch, soon to be 0.28. Thanks. -Ken