On Thu, Dec 18, 2014 at 4:36 AM, Nick Wellnhofer <[email protected]> wrote:
> On 18/12/2014 05:53, Marvin Humphrey wrote:
>>
>> There was a glitch with Lucy's `./Build dist` -- it balked with the
>> following
>> message:
>>
>>    Parcel 'Lucy' defined twice in ../core/Lucy.cfp and ../core/Lucy.cfp at
>>
>> /Users/evmarvin/Desktop/p5lib/lib/perl5/darwin-thread-multi-2level/Clownfish/CFC/Perl/Build.pm
>>    line 249.
>>
>> However, I believe that problem is isolated to Lucy's `dist` action rather
>> than a manifestation of the bug which is affecting CPAN installation
>> (CLOWNFISH-18).
>
>
> This very much looks like CLOWNFISH-18 and this really shouldn't happen with
> RC2. Are you sure you used RC2 when you got that error message? Using RC2,
> `./Build dist` works fine for me.

Yes, I'm still having issues.  I believe that the problem arises because the
parcel registry is global.  If you create two CFCHierarchy objects within the
same process which operate on the same source dir, the second one will collide
when parsing the parcel file a second time.  (Other registries are also global
and have the same issue, so the fix is not just a one-liner somewhere.)

I'm pretty sure this is happening because Lucy's "dist" action depends on
"pod".  When invoking "./Build dist" in a clean directory, first a
CFCHierarchy object is created when building the "clownfish" action, and then
a second one is created during "pod".

This sequence of events does not seem to happen when invoking either the
"code", "test" or "install" actions on a newly unpacked Lucy CPAN tarball.
Therefore, though we still have issues, I intend to call the VOTE a success
and finish the release.

Marvin Humphrey

Reply via email to