Skip Menu |

This queue is for tickets about the Role-MethodReturns CPAN distribution.

Report information
The Basics
Id: 131208
Status: rejected
Priority: 0/
Queue: Role-MethodReturns

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Could not find sub 'ObjectDoesInterface' exported by Types::Interface
Another possible failure: ... # Failed test 'use Role::MethodReturns;' # at t/00_use_ok.t line 4. # Tried to use 'Role::MethodReturns'. # Error: Could not find sub 'ObjectDoesInterface' exported by Types::Interface at /home/cpansand/.cpan/build/2019122005/Role-MethodReturns-0.02-1/blib/lib/Role/MethodReturns.pm line 27. # BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019122005/Role-MethodReturns-0.02-1/blib/lib/Role/MethodReturns.pm line 27. # Compilation failed in require at t/00_use_ok.t line 4. # BEGIN failed--compilation aborted at t/00_use_ok.t line 4. # Looks like you failed 1 test of 1. t/00_use_ok.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests ... Probably happens if Types::Interface is too old.
On 2019-12-21 02:18:18, SREZIC wrote: Show quoted text
> Another possible failure: > > ... > # Failed test 'use Role::MethodReturns;' > # at t/00_use_ok.t line 4. > # Tried to use 'Role::MethodReturns'. > # Error: Could not find sub 'ObjectDoesInterface' exported by > Types::Interface at /home/cpansand/.cpan/build/2019122005/Role- > MethodReturns-0.02-1/blib/lib/Role/MethodReturns.pm line 27. > # BEGIN failed--compilation aborted at > /home/cpansand/.cpan/build/2019122005/Role-MethodReturns-0.02- > 1/blib/lib/Role/MethodReturns.pm line 27. > # Compilation failed in require at t/00_use_ok.t line 4. > # BEGIN failed--compilation aborted at t/00_use_ok.t line 4. > # Looks like you failed 1 test of 1. > t/00_use_ok.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests > ... > > Probably happens if Types::Interface is too old.
No. It's caused by a stray unauthorized Types::Interface included in https://metacpan.org/release/KFLY/Function-Interface-0.01 The official Types::Interface has a lower version number, so it was never installed on my smokers (probably because of CPAN.pm's allow_installing_module_downgrades set to "no"). Cleaning up my smokers and rejecting this ticket.