On Mon, 2007-03-05 at 15:38 -0500, Robin Norwood wrote:
"Tom 'spot' Callaway" <tcallawa(a)redhat.com>
writes:
> On Mon, 2007-03-05 at 18:17 +0100, Rafael Garcia-Suarez wrote:
>> On 05/03/07, Tom 'spot' Callaway <tcallawa(a)redhat.com> wrote:
>> > CPAN isn't the only thing:
>> >
>> > [spot@localhost perl-5.8.8]$ grep -r "require
ExtUtils::MakeMaker" *
>> > lib/CPAN.pm: require ExtUtils::MakeMaker;
>> > lib/CPAN.pm: require ExtUtils::MakeMaker;
>> > lib/ExtUtils/Embed.pm:#require ExtUtils::MakeMaker;
>> > lib/ExtUtils/Embed.pm: require ExtUtils::MakeMaker;
>> > lib/ExtUtils/t/backwards.t:require ExtUtils::MakeMaker;
>> > lib/ExtUtils/MM.pm:require ExtUtils::MakeMaker;
>> > utils/perlbug.PL: require ExtUtils::MakeMaker;
>> >
>> > so, we'd need to handle ExtUtils::Embed and perlbug too. :/
>> >
>> > perlbug is really the hardest one. I think we really want that to be in
>> > the base perl package.
>>
>> Look closer. EU::MM is only needed by perlbug on... MacOS classic. I
>> think you can ditch that dependency :)
>
> Well, thats a relief. :)
>
> So, we'd need:
>
> perl-ExtUtils-MakeMaker
> perl-ExtUtils-Embed
> perl-CPAN
> (which requires)
> \perl-Test-Harness >= 2.62 (core perl provided 2.56)
>
> We can either entirely extract these components from the core tree
> before building core perl, or we can just let them build and not package
> them (the simpler approach, and the one I have initially chosen).
>
> But when I did that, I hit problems:
> /usr/bin/perlcc needs ExtUtils::Embed (circular dep?)
> /usr/bin/perlivp needs ExtUtils::Installed (circular dep?)
> /usr/bin/h2xs needs ExtUtils::MakeMaker (circular dep?)
> /usr/bin/libnetcfg needs ExtUtils::MakeMaker (circular dep?)
>
> I don't think there is going to be a good way to pull these items out of
> core without introducing circular deps.
Below is a patch proposal to address this issue:
It is based on moving EU::MM and CPAN to perl-devel and then tracing all
deps between the main perl package and perl-devel.
Unless I missed something, this should resolve the deps issues related
to EU::MM.
Ralf