Skip Menu |

This queue is for tickets about the namespace-autoclean CPAN distribution.

Report information
The Basics
Id: 132123
Status: open
Priority: 0/
Queue: namespace-autoclean

People
Owner: Nobody in particular
Requestors: timlegge [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Tests fail missing Dependency
Date: Wed, 11 Mar 2020 23:30:00 -0300
To: bug-namespace-autoclean [...] rt.cpan.org
From: Timothy Legge <timlegge [...] gmail.com>
It appears that Devel::OverloadInfo is an undocumented dependency
On 2020-03-11 19:30:22, timlegge@gmail.com wrote: Show quoted text
> It appears that Devel::OverloadInfo is an undocumented dependency
Perhaps indirectly, but the module itself does not use it. Can you show the error you are getting?
Subject: Re: [rt.cpan.org #132123] Tests fail missing Dependency
Date: Wed, 11 Mar 2020 23:47:10 -0300
To: bug-namespace-autoclean [...] rt.cpan.org
From: Timothy Legge <timlegge [...] gmail.com>
I will send it tomorrow. On Wed., Mar. 11, 2020, 11:33 p.m. Karen Etheridge via RT, < bug-namespace-autoclean@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=132123 > > > On 2020-03-11 19:30:22, timlegge@gmail.com wrote:
> > It appears that Devel::OverloadInfo is an undocumented dependency
> > Perhaps indirectly, but the module itself does not use it. > > Can you show the error you are getting? >
Subject: Re: [rt.cpan.org #132123] Tests fail missing Dependency
Date: Thu, 12 Mar 2020 07:26:57 -0300
To: bug-namespace-autoclean [...] rt.cpan.org
From: Timothy Legge <timlegge [...] gmail.com>
To provide info I should have last night. I was building an Alpine Linux package: as part of that it runs the test: export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test Full details below but the errors shows as. Devel::OverloadInfo is not in the Test Requires section. t/moose-withoverloading.t .......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/moose.t .......................... Can't locate Devel/OverloadInfo.pm in @INC (you may need to install the Devel::OverloadInfo module) (@INC contains: /home/tim/aports/main/perl-namespace-autoclean/src/namespace-autoclean-0.29/blib/lib /home/tim/aports/main/perl-namespace-autoclean/src/namespace-autoclean-0.29/blib/arch /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/lib/perl5/vendor_perl/Class/MOP/Mixin/HasOverloads.pm line 9. regards Tim Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for namespace::autoclean Writing MYMETA.yml and MYMETA.json cp lib/namespace/autoclean.pm blib/lib/namespace/autoclean.pm Manifying 1 pod document PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-report-prereqs.t .............. # # Versions for all modules listed in MYMETA.json (including optional ones): # # === Configure Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.38 # # === Build Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.38 # # === Test Requires === # # Module Want Have # ------------------- ---- -------- # Carp any 1.50 # ExtUtils::MakeMaker any 7.38 # File::Basename any 2.85 # File::Spec any 3.78 # FindBin any 1.51 # Scalar::Util any 1.53 # Test::More 0.88 1.302168 # Test::Needs any 0.002006 # constant any 1.33 # overload any 1.30 # # === Test Recommends === # # Module Want Have # ---------- -------- -------- # CPAN::Meta 2.120900 2.150010 # # === Runtime Requires === # # Module Want Have # -------------------- ---- ---- # B::Hooks::EndOfScope 0.12 0.24 # List::Util any 1.53 # Sub::Identify any 0.14 # namespace::clean 0.20 0.27 # strict any 1.11 # warnings any 1.44 # # === Other Modules === # # Module Have # ----------------------------- -------- # Class::MOP 2.2011 # Encode 3.01 # Exporter 5.73 # File::Temp 0.2309 # JSON::PP 4.02 # Module::Runtime 0.016 # Moo 2.003006 # Moose 2.2011 # MooseX::Role::Parameterized missing # MooseX::Role::WithOverloading missing # Mouse missing # Mouse::PurePerl missing # Pod::Coverage 0.23 # Role::Tiny 2.001003 # Sub::Exporter 0.987 # Sub::Install 0.928 # Sub::Name 0.26 # Sub::Util 1.53 # Test::Fatal 0.014 # YAML missing # autodie 2.29 # parent 0.237 # t/00-report-prereqs.t .............. ok t/also.t ........................... ok t/basic.t .......................... ok t/broken_meta.t .................... ok t/cleanee.t ........................ ok t/constant.t ....................... ok t/except.t ......................... ok t/matchclean.t ..................... ok t/moo-with-moose.t ................. Can't locate Devel/OverloadInfo.pm in @INC (you may need to install the Devel::OverloadInfo module) (@INC contains: /home/tim/aports/main/perl-namespace-autoclean/src/namespace-autoclean-0.29/blib/lib /home/tim/aports/main/perl-namespace-autoclean/src/namespace-autoclean-0.29/blib/arch /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/lib/perl5/vendor_perl/Class/MOP/Mixin/HasOverloads.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Class/MOP/Mixin/HasOverloads.pm line 9. Compilation failed in require at /usr/lib/perl5/vendor_perl/Class/MOP.pm line 17. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Class/MOP.pm line 17. Compilation failed in require at /usr/lib/perl5/vendor_perl/Moose/Exporter.pm line 8. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Moose/Exporter.pm line 8. Compilation failed in require at /usr/lib/perl5/vendor_perl/Moose.pm line 15. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Moose.pm line 15. Compilation failed in require at /usr/share/perl5/vendor_perl/Test/Needs.pm line 27. BEGIN failed--compilation aborted at t/moo-with-moose.t line 6. t/moo-with-moose.t ................. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/moo.t ............................ ok t/moose-with-native-overloading.t .. Can't locate Devel/OverloadInfo.pm in @INC (you may need to install the Devel::OverloadInfo module) (@INC contains: /home/tim/aports/main/perl-namespace-autoclean/src/namespace-autoclean-0.29/blib/lib /home/tim/aports/main/perl-namespace-autoclean/src/namespace-autoclean-0.29/blib/arch /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/lib/perl5/vendor_perl/Class/MOP/Mixin/HasOverloads.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Class/MOP/Mixin/HasOverloads.pm line 9. Compilation failed in require at /usr/lib/perl5/vendor_perl/Class/MOP.pm line 17. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Class/MOP.pm line 17. Compilation failed in require at /usr/lib/perl5/vendor_perl/Moose/Exporter.pm line 8. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Moose/Exporter.pm line 8. Compilation failed in require at /usr/lib/perl5/vendor_perl/Moose.pm line 15. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Moose.pm line 15. Compilation failed in require at /usr/share/perl5/vendor_perl/Test/Needs.pm line 27. BEGIN failed--compilation aborted at t/moose-with-native-overloading.t line 5. t/moose-with-native-overloading.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/moose-withoverloading.t .......... Can't locate Devel/OverloadInfo.pm in @INC (you may need to install the Devel::OverloadInfo module) (@INC contains: /home/tim/aports/main/perl-namespace-autoclean/src/namespace-autoclean-0.29/blib/lib /home/tim/aports/main/perl-namespace-autoclean/src/namespace-autoclean-0.29/blib/arch /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/lib/perl5/vendor_perl/Class/MOP/Mixin/HasOverloads.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Class/MOP/Mixin/HasOverloads.pm line 9. Compilation failed in require at /usr/lib/perl5/vendor_perl/Class/MOP.pm line 17. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Class/MOP.pm line 17. Compilation failed in require at /usr/lib/perl5/vendor_perl/Moose/Exporter.pm line 8. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Moose/Exporter.pm line 8. Compilation failed in require at /usr/lib/perl5/vendor_perl/Moose.pm line 15. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Moose.pm line 15. Compilation failed in require at /usr/share/perl5/vendor_perl/Test/Needs.pm line 27. BEGIN failed--compilation aborted at t/moose-withoverloading.t line 8. t/moose-withoverloading.t .......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/moose.t .......................... Can't locate Devel/OverloadInfo.pm in @INC (you may need to install the Devel::OverloadInfo module) (@INC contains: /home/tim/aports/main/perl-namespace-autoclean/src/namespace-autoclean-0.29/blib/lib /home/tim/aports/main/perl-namespace-autoclean/src/namespace-autoclean-0.29/blib/arch /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/lib/perl5/vendor_perl/Class/MOP/Mixin/HasOverloads.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Class/MOP/Mixin/HasOverloads.pm line 9. Compilation failed in require at /usr/lib/perl5/vendor_perl/Class/MOP.pm line 17. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Class/MOP.pm line 17. Compilation failed in require at /usr/lib/perl5/vendor_perl/Moose/Exporter.pm line 8. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Moose/Exporter.pm line 8. Compilation failed in require at /usr/lib/perl5/vendor_perl/Moose.pm line 15. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Moose.pm line 15. Compilation failed in require at /usr/share/perl5/vendor_perl/Test/Needs.pm line 27. BEGIN failed--compilation aborted at t/moose.t line 7. t/moose.t .......................... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/mouse-pp.t ....................... skipped: Need Mouse t/mouse.t .......................... skipped: Need Mouse t/overload.t ....................... ok t/sub-install.t .................... ok t/sub-name.t ....................... ok Test Summary Report ------------------- t/moo-with-moose.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/moo.t (Wstat: 0 Tests: 30 Failed: 0) TODO passed: 11 t/moose-with-native-overloading.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/moose-withoverloading.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/moose.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=18, Tests=66, 2 wallclock secs ( 0.08 usr 0.02 sys + 1.69 cusr 0.24 csys = 2.03 CPU) Result: FAIL Failed 4/18 test programs. 0/66 subtests failed. make: *** [Makefile:882: test_dynamic] Error 255 Show quoted text
>>> ERROR: perl-namespace-autoclean: check failed
On Wed, Mar 11, 2020 at 11:33 PM Karen Etheridge via RT <bug-namespace-autoclean@rt.cpan.org> wrote: Show quoted text
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=132123 > > > On 2020-03-11 19:30:22, timlegge@gmail.com wrote:
> > It appears that Devel::OverloadInfo is an undocumented dependency
> > Perhaps indirectly, but the module itself does not use it. > > Can you show the error you are getting?
On 2020-03-12 03:27:17, timlegge@gmail.com wrote: Show quoted text
> To provide info I should have last night. I was building an Alpine > Linux package: > > as part of that it runs the test: > > export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') > make test > > Full details below but the errors shows as. Devel::OverloadInfo is > not in the Test Requires section.
Devel::OverloadInfo is not used by namespace::autoclean. It is, however, a requirement of Moose, which is used, when installed, in some tests, such as t/moose.t. Here is the key: Show quoted text
> t/00-report-prereqs.t .............. # > # Versions for all modules listed in MYMETA.json (including optional > ones):
... Show quoted text
> # Moose 2.2011
Moose is installed, but its installation is broken somehow, as its necessary prereqs are missing. In the test, Test::Needs attempts to load Moose, which fails not with a "cannot find Moose.pm in @INC" error but with something else. Therefore the test dies rather than being skipped. I do not know how you ended up with a broken Moose install, but a force-reinstallation of it will get you back to a working state with all of its prerequisites restored.
Subject: Re: [rt.cpan.org #132123] Tests fail missing Dependency
Date: Thu, 12 Mar 2020 14:02:41 -0300
To: bug-namespace-autoclean [...] rt.cpan.org
From: Timothy Legge <timlegge [...] gmail.com>
Hi I tried it from a different machine and it works fine. I have been packaging perl modules for alpine so its possible I been to remove a couple of previously broken packages. thanks for the fast help Tim On Thu, Mar 12, 2020 at 12:46 PM Karen Etheridge via RT <bug-namespace-autoclean@rt.cpan.org> wrote: Show quoted text
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=132123 > > > On 2020-03-12 03:27:17, timlegge@gmail.com wrote:
> > To provide info I should have last night. I was building an Alpine > > Linux package: > > > > as part of that it runs the test: > > > > export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') > > make test > > > > Full details below but the errors shows as. Devel::OverloadInfo is > > not in the Test Requires section.
> > Devel::OverloadInfo is not used by namespace::autoclean. It is, however, > a requirement of Moose, which is used, when installed, in some tests, > such as t/moose.t. > > Here is the key: >
> > t/00-report-prereqs.t .............. # > > # Versions for all modules listed in MYMETA.json (including optional > > ones):
> ...
> > # Moose 2.2011
> > Moose is installed, but its installation is broken somehow, as its necessary > prereqs are missing. In the test, Test::Needs attempts to load Moose, which > fails not with a "cannot find Moose.pm in @INC" error but with something else. > Therefore the test dies rather than being skipped. > > I do not know how you ended up with a broken Moose install, but a force-reinstallation > of it will get you back to a working state with all of its prerequisites restored. >