Here we go again, a pretty little problem with installing a CPAN module that I want to be on my system. The failure is with Module::Manifest::Skip, its tests won't get past the compile stage. The relevant message as appears below is Can't locate object method "_install_subs" via package "Module::Manifest::Skip". The failure was thrown at /usr/share/perl5/vendor_perl/5.40/Moo.pm line 49, so I updated Moo to release 2.005005 but that didn't solve the problem.

My system has these characteristics:

/usr/bin/perl    v5.40.3
MS Windows 11
CYGWIN_NT-10.0-26100 3.6.4-1.x86_64 2025-07-15 07:55 UTC x86_64 Cygwin
@INC:
/usr/local/lib/perl5/site_perl/5.40/x86_64-cygwin-threads
/usr/local/share/perl5/site_perl/5.40
/usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-threads
/usr/share/perl5/vendor_perl/5.40
/usr/lib/perl5/5.40/x86_64-cygwin-threads
/usr/share/perl5/5.40

The following console output is a bit redundant but I wanted to be thorough:

Running [/usr/bin/make UNINST=1]... cp share/MANIFEST.SKIP blib/lib/auto/share/dist/Module-Manifest-Skip/M +ANIFEST.SKIP cp lib/Module/Manifest/Skip.pm blib/lib/Module/Manifest/Skip.pm cp lib/Module/Manifest/Skip.pod blib/lib/Module/Manifest/Skip.pod Manifying 1 pod document Running [/usr/bin/make test UNINST=1]... Skip blib/lib/auto/share/dist/Module-Manifest-Skip/MANIFEST.SKIP (unch +anged) PERL_DL_NONLAZY=1 "/usr/bin/perl.exe" "-MExtUtils::Command::MM" "-MTes +t::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'bl +ib/lib', 'blib/arch')" t/*.t Can't locate object method "_install_subs" via package "Module::Manife +st::Skip" at /usr/share/perl5/vendor_perl/5.40/Moo.pm line 49. BEGIN failed--compilation aborted at t/TestModuleManifestSkip.pm line +6. Compilation failed in require at t/create.t line 3. BEGIN failed--compilation aborted at t/create.t line 3. t/create.t .............. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't locate object method "_install_subs" via package "Module::Manife +st::Skip" at /usr/share/perl5/vendor_perl/5.40/Moo.pm line 49. BEGIN failed--compilation aborted at t/TestModuleManifestSkip.pm line +6. Compilation failed in require at t/recreate.t line 3. BEGIN failed--compilation aborted at t/recreate.t line 3. t/recreate.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/release-pod-syntax.t .. skipped: these tests are for release candida +te testing Can't locate object method "_install_subs" via package "Module::Manife +st::Skip" at /usr/share/perl5/vendor_perl/5.40/Moo.pm line 49. BEGIN failed--compilation aborted at t/TestModuleManifestSkip.pm line +6. Compilation failed in require at t/skip1.t line 3. BEGIN failed--compilation aborted at t/skip1.t line 3. t/skip1.t ............... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't locate object method "_install_subs" via package "Module::Manife +st::Skip" at /usr/share/perl5/vendor_perl/5.40/Moo.pm line 49. BEGIN failed--compilation aborted at t/TestModuleManifestSkip.pm line +6. Compilation failed in require at t/update.t line 3. BEGIN failed--compilation aborted at t/update.t line 3. t/update.t .............. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Test Summary Report ------------------- t/create.t (Wstat: 65280 (exited 255) Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/recreate.t (Wstat: 65280 (exited 255) Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/skip1.t (Wstat: 65280 (exited 255) Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/update.t (Wstat: 65280 (exited 255) Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=5, Tests=0, 2 wallclock secs ( 0.02 usr 0.19 sys + 0.25 cusr + 1.51 csys = 1.96 CPU) Result: FAIL Failed 4/5 test programs. 0/0 subtests failed. make: *** [Makefile:851: test_dynamic] Error 255

Oct 12, 2025 at 18:37 UTC


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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.