Skip Menu |

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

Report information
The Basics
Id: 95228
Status: open
Priority: 0/
Queue: namespace-alias

People
Owner: rafl [...] debian.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Test fails with perl 5.19.11
With perl 5.19.11 "make test" produces the following failures: Class::MOP::load_class is deprecated at /usr/perl5.19.11/lib/site_perl/5.19.11/amd64-freebsd/Class/MOP.pm line 73. Class::MOP::load_class("Foo::Bar::Baz") called at /home/cpansand/.cpan/build/namespace-alias-0.02-th7umq/blib/lib/namespace/alias.pm line 19 namespace::alias::import("namespace::alias", "Foo::Bar::Baz", "MyAlias") called at t/basic.t line 23 main::BEGIN() called at t/basic.t line 23 eval {...} called at t/basic.t line 23 Modification of a read-only value attempted at t/basic.t line 33. t/basic.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Class::MOP::load_class is deprecated at /usr/perl5.19.11/lib/site_perl/5.19.11/amd64-freebsd/Class/MOP.pm line 73. Class::MOP::load_class("Foo::Bar::Baz") called at /home/cpansand/.cpan/build/namespace-alias-0.02-th7umq/blib/lib/namespace/alias.pm line 19 namespace::alias::import("namespace::alias", "Foo::Bar::Baz", "MyAlias") called at t/scope.t line 19 main::BEGIN() called at t/scope.t line 19 eval {...} called at t/scope.t line 19 Modification of a read-only value attempted at t/scope.t line 25. t/scope.t .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Test report overview: http://matrix.cpantesters.org/?dist=namespace-alias-0.02 Regards, Slaven
On 2014-05-01 03:25:10, SREZIC wrote: Show quoted text
> With perl 5.19.11 "make test" produces the following failures: > > Class::MOP::load_class is deprecated at > /usr/perl5.19.11/lib/site_perl/5.19.11/amd64-freebsd/Class/MOP.pm line > 73.
This is just a warning, but should be fixed (replace with Class::Load::load_class or Module::Runtime::use_module). Show quoted text
> Modification of a read-only value attempted at t/basic.t line 33. > t/basic.t ..
This seems to be a new problem from blead. core ticket: https://rt.perl.org/Ticket/Display.html?id=121779
Show quoted text
>
> > Modification of a read-only value attempted at t/basic.t line 33. > > t/basic.t ..
> > This seems to be a new problem from blead. core ticket: > https://rt.perl.org/Ticket/Display.html?id=121779
Florian: I think we can fix this similarly to https://github.com/karenetheridge/signatures/commit/f8c009ca144ed776e7cf499e33d0966c9ea13c7d but I don't speak enough XS to know exactly what to do. If you can give me the code snippet I'll apply and ship it.