Skip Menu |

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

Report information
The Basics
Id: 29718
Status: resolved
Worked: 37 hours (2220 min)
Priority: 0/
Queue: CPANPLUS-Dist-Build

People
Owner: BINGOS [...] cpan.org
Requestors: GTERMARS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: (no value)



Subject: Running API in-process creates @INC conflicts
I recently encountered one problem with the whole idea of running the M::B API in-process, as opposed to shelling out for "perl Build.PL"... If you use CPANPLUS to attempt multiple tests/installs and happen to make use of the same class name for your custom derived M::B classes (e.g. "MY::Build"), you get an @INC conflict; the module gets loaded up for the -first- package you try to build and never gets reloaded on any subsequent packages. Thus, any subsequent package tests/installs you try to do end up using the custom M::B class from the first package you built. Boom.
New releases now use process separation and not the API. Cheers.