Skip Menu |

This queue is for tickets about the SOAP-WSDL CPAN distribution.

Report information
The Basics
Id: 33676
Status: resolved
Priority: 0/
Queue: SOAP-WSDL

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

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



Subject: "passthrough" Makefile.PL considered dangerous
SOAP::WSDL currently uses a "passthrough" mode Makefile.PL. This involves spawning a second CPAN client inside the Makefile.PL (which may have locking issues with the parent one) and results in broken and unintended effects. Module::Install made the same mistake, and has been widely panned for the "Install deps during Makefile.PL execution" approach. In fact, it's bad enough the feature is going to be deprecated. The Module::Build guys also recommend against using it. Since SOAP::WSDL is already fairly modern-focused (with UTF and attributes and what not, it already has a minimum Perl version of 5.8.5) and still largely experimental, it's not unreasonable to ONLY have a Build.PL in the experimental versions for now. At production time, you may need to use either traditional generation, or simply port it. Install deps during Makefile.PL is simply unsafe.
Hi Adam, fixed in SVN - I've changed the "write_makefile" parameter to "small", so Makefile.PL just calls Build.PL and added Module::Build to the prereqs. Thanks for reporting, Martin