Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615738 - dev-perl/Devel-Refactor fails tests without '.' in @INC (Can't locate Refactor.pm in @INC)
Summary: dev-perl/Devel-Refactor fails tests without '.' in @INC (Can't locate Refacto...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Gentoo Perl team
URL: https://rt.cpan.org/Ticket/Display.ht...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: perl-5.26-no-dot-inc
  Show dependency tree
 
Reported: 2017-04-16 07:18 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2017-10-06 11:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-16 07:18:38 UTC
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/basic.t ............... 1/7
#   Failed test 'use Refactor;'
#   at t/basic.t line 10.
#     Tried to use 'Refactor'.
#     Error:  Can't locate Refactor.pm in @INC (you may need to install the Refactor module) (@INC contains: /var/tmp/portage/dev-perl/Devel-Refactor-0.50.0-r1/work/Devel-Refactor-0.05/blib/lib /var/tmp/portage/dev-perl/Devel-Refactor-0.50.0-r1/work/Devel-Refactor-0.05/blib/arch /etc/perl /usr/local/lib64/perl5/5.25.11/x86_64-linux /usr/local/lib64/perl5/5.25.11 /usr/lib64/perl5/vendor_perl/5.25.11/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.11 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.25.11 /usr/lib64/perl5/vendor_perl/5.22.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.25.11/x86_64-linux /usr/lib64/perl5/5.25.11) at t/basic.t line 10.
# BEGIN failed--compilation aborted at t/basic.t line 10.
Can't locate object method "new" via package "Devel::Refactor" (perhaps you forgot to load "Devel::Refactor"?) at t/basic.t line 13.
# Looks like your test exited with 255 just after 1.
t/basic.t ............... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 7/7 subtests
t/extract_subroutine.t .. ok 
t/rename_subroutine.t ... ok  

Test Summary Report
-------------------
t/basic.t             (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 7 tests but ran 1.
Files=3, Tests=77,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.2
Comment 1 Larry the Git Cow gentoo-dev 2017-10-06 11:39:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a25241bfbe24651f5537029f86ffc2750b20024f

commit a25241bfbe24651f5537029f86ffc2750b20024f
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-10-06 11:33:32 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-10-06 11:39:18 +0000

    dev-perl/Devel-Refactor: Fix test failures under perl 5.26 bug #615738
    
    Closes: https://bugs.gentoo.org/615738
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../Devel-Refactor/Devel-Refactor-0.50.0-r1.ebuild |  4 +--
 .../files/Devel-Refactor-0.50.0-perl526.patch      | 30 ++++++++++++++++++++++
 2 files changed, 32 insertions(+), 2 deletions(-)