Intrepid has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|