in reply to Test failures prevent installation of Module::Package::RDF (on CygPerl) ('Dependency Hell')

Looking around at this code a little more. The subroutine where the error is triggered is this here:

Moo.pm lines 37 to 52:
37 sub import { 38 my $target = caller; 39 my $class = shift; 40 if ($INC{'Role/Tiny.pm'} and Role::Tiny->is_role($target)) { 41 croak "Cannot import Moo into a role"; 42 } 43 44 _set_loaded(caller); 45 46 strict->import; 47 warnings->import; 48 49 $class->_install_subs($target, @_); 50 $class->make_class($target); 51 return; 52 }

I've not yet learned enough about Moo or Moose or any of these entries in the contest to impose OO on Perl, so this code is pretty much opaque to me. What I do get is that in line 49 $class holds the class name "Module::Manifest::Skip" and Skip.pm has no method (sub) "_install_subs".

Ingy is a pretty well-known CPAN contributor and if this is his error I hope he'll find it and fix it. Maybe I'll try to help out by filing a bug report.

    — Soren Oct 12, 2025 at 22:14 UTC

A just machine to make big decisions
Programmed by fellows (and gals) with compassion and vision
We'll be clean when their work is done
We'll be eternally free yes, and eternally young
Donald Fagen —> I.G.Y.
(Slightly modified for inclusiveness)

  • Comment on Re: Test failures prevent installation of Module::Package::RDF (on CygPerl) ('Dependency Hell')
  • Download Code

Replies are listed 'Best First'.
Re^2: Test failures prevent installation of Module::Package::RDF (on CygPerl) ('Dependency Hell')
by choroba (Cardinal) on Oct 12, 2025 at 22:40 UTC

      That's the same bug for sure, choroba:

      This GitHub bug#7 was reported for Moo 2.004000 in 2020

      I am confused about what decisions have been made (that is, the reasons for those decisions) to not fix a bug that was reported in 2020 (!). And tonight is the first time I've heard of a distroprefs patch. I'll do some Google research and figure it out, or not, but in any event thanks much choroba for rescuing me from submitting a bug report that would just duplicate one already made.

          — Soren

      Oct 13, 2025 at 02:35 UTC

      Ok choroba, having helped me out, your reward is more questions ;-) You wrote:

      This comment contains a link to a distroprefs patch.

      So, I attempted to learn about distroprefs on my own (how did I not know about this? it's a mystery–I have used cpan for a long time). I read this short article by brian d foy. I'm setting things up according to the instructions. My remaining question is: where's the actual patch? Can I get it from github (I looked around, I'm still rather clumsy with github)? The yaml file linked to in the comment is 1/2 of what I need, the patch is the other 1/2. If you you can guide me I'll send you cookies (well not really but I will be grateful). If I have to, I'll make a patch myself, so, not a big deal.

          — Soren

      Oct 13, 2025 at 18:22 UTC