On Wed, Jul 02, 2014 at 03:26:32AM -0400, Dan Kogai via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=96107 >
>
> Okay, you tried to install Encode via cpanm on perl which is installed via perlbrew. Which is strange because OS X is the very platform I am writing Encode upon, which is tested before shipped not only on OS X but also linuxes on travis...
>
> How did you invoke cpanm? Simply "cpanm Encode" or "perlbrew exec cpanm Encode"? If you have not tried the latter, would you do so and see what happens?
Yes, just 'cpanm Encode'. 'perlbrew exec cpanm Encode' attempts to run the
command across all perlbrews, of which I have dozens...
I think I found the answer though -- on this machine where tests fail, I
have HARNESS_OPTIONS=j9. Are multiple tests using the same filenames for
scratch files? This would cause tests to write over each other's data when
run simultaneously -- so simply switching to using File::Temp::tempdir()
in all tests should remedy this.
Unfortunately, this variable isn't reported yet in CPAN::Reporter -- but
we worked on this at the QA Hackathon in Lyon, and should be done soon --
https://github.com/cpan-testers/CPAN-Reporter/issues/14