Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617050 - dev-perl/Log-Agent fails tests without '.' in @INC (Can't locate t/code.pl in @INC)
Summary: dev-perl/Log-Agent fails tests without '.' in @INC (Can't locate t/code.pl in...
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-29 22:43 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2017-10-26 08:18 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-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(-)