Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 617050

Summary: dev-perl/Log-Agent fails tests without '.' in @INC (Can't locate t/code.pl in @INC)
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: minor Keywords: TESTFAILURE
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://rt.cpan.org/Ticket/Display.html?id=121459
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 612408    

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-29 22:43:36 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/caller.t .......... Can't locate t/code.pl in @INC (@INC contains: /var/tmp/portage/dev-perl/Log-Agent-1.1.0/work/Log-Agent-1.001/blib/lib /var/tmp/portage/dev-perl/Log-Agent-1.1.0/work/Log-Agent-1.001/blib/arch /etc/perl /usr/local/lib64/perl5/5.25.12/x86_64-linux /usr/loca
l/lib64/perl5/5.25.12 /usr/lib64/perl5/vendor_perl/5.25.12/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.12 /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.12/x86_64-linux /usr/
lib64/perl5/5.25.12) at t/caller.t line 17.               
t/caller.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 10/10 subtests    
t/carp_default.t .... No subtests run                     
t/carp_file.t ....... do "t/carp.pl" failed, '.' is no longer in @INC; did you mean do "./t/carp.pl"? at t/carp_file.t line 30.
t/carp_file.t ....... No subtests run
t/carp_fork.t ....... do "t/carp.pl" failed, '.' is no longer in @INC; did you mean do "./t/carp.pl"? at t/carp_fork.t line 32.
t/carp_fork.t ....... No subtests run            
t/carp_multiline.t .. ok 
t/carp_silent.t ..... Can't locate t/code.pl in @INC (@INC contains: /var/tmp/portage/dev-perl/Log-Agent-1.1.0/work/Log-Agent-1.001/blib/lib /var/tmp/portage/dev-perl/Log-Agent-1.1.0/work/Log-Agent-1.001/blib/arch /etc/perl /usr/local/lib64/perl5/5.25.12/x86_64-linux /usr/loca
l/lib64/perl5/5.25.12 /usr/lib64/perl5/vendor_perl/5.25.12/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.12 /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.12/x86_64-linux /usr/
lib64/perl5/5.25.12) at t/carp_silent.t line 17.
Undefined subroutine &main::contains called at t/carp_silent.t line 41.
END failed--call queue aborted.                                                               
t/carp_silent.t ..... Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 2/2 subtests
Comment 1 Larry the Git Cow gentoo-dev 2017-10-26 08:18:37 UTC
The bug has been closed via the following commit(s):

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

commit d89b82ec12f6efe7756619033f028c0e7ec6df7b
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-10-26 08:18:09 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-10-26 08:18:28 +0000

    dev-perl/Log-Agent: Fix '.' in @INC test failure bug #617050
    
    Closes: https://bugs.gentoo.org/617050
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Log-Agent/Log-Agent-1.1.0.ebuild          |   2 +-
 .../files/Log-Agent-1.1.0-no-dot-inc.patch         | 193 +++++++++++++++++++++
 2 files changed, 194 insertions(+), 1 deletion(-)