Circular CPAN fail

I got some failing test reports for the latest version of one of my module. The problem turned out to be outside my own module.

A dependency of a dependency of mine (Sub::Uplevel) requires Module::Build 0.35. My module is first trying to build using the installed Module::Build (in this case 0.28). When installing the dependencies, Module::Build 0.35 is installed, but it chokes on the configuration data from the older version of M::B.

Ouch.

I suspect Sub::Uplevel doesn't really need version 0.35 of M::B, but that this was a case of the auto_configure_requires option gone astray, though it certainly would be nice if M::B could handle old configuration files in a useful way.

1 Comment

Fortunately, these failures generally only happen once, as the new Module::Build is installed on the system thereafter. But a blog is not a bug report. Please consider filing one.

Leave a comment

About Leon Timmermans

user-pic