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

Bug 617110

Summary: <dev-perl/Module-Info-0.370.0-r1 fails tests without '.' in @INC (Can't locate t/lib/Bar.pm 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=121035
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 643280    
Bug Blocks: 612408    

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-30 14:18:14 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
===(      10;0   9/59  1/4  0/3 )=======================================#     Failed test (t/n0_die_on_error.t at line 19)
# B::Module::Info,packages use failed with 2 saying:                                                            
# Can't locate t/lib/Bar.pm in @INC (you may need to install the t::lib::Bar module) (@INC contains: blahbityblahblah /var/tmp/portage/dev-perl/Module-Info-0.370.0-r1/work/Module-Info-0.37/blib/lib /var/tmp/portage/dev-perl/Module-Info-0.370.0-r1/work/Module-Info-0.37/blib/arc
h /etc/perl /usr/local/lib64/perl5/5.25.12/x86_64-linux /usr/local/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/li
b64/perl5/vendor_perl /usr/lib64/perl5/5.25.12/x86_64-linux /usr/lib64/perl5/5.25.12) at /var/tmp/portage/dev-perl/Module-Info-0.370.0-r1/work/Module-Info-0.37/t/lib/Foo.pm line 64.
#                                                                                                             
# BEGIN failed--compilation aborted at /var/tmp/portage/dev-perl/Module-Info-0.370.0-r1/work/Module-Info-0.37/t/lib/Foo.pm line 65.                                                                                                                                                  
# Looks like you failed 1 tests of 4.                                                                                                                                                                                                                                               
t/n0_die_on_error.t ...... Dubious, test returned 1 (wstat 256, 0x100)                                                                                                                      
Failed 1/4 subtests
Comment 1 Larry the Git Cow gentoo-dev 2017-10-30 07:51:06 UTC
The bug has been referenced in the following commit(s):

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

commit f894f2cec57d9eb8e85e1b48e38a39c4c65b5596
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-10-30 07:50:33 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-10-30 07:50:57 +0000

    dev-perl/Module-Info: Fix '.' in @INC test failures, bug #617110
    
    Bug: https://bugs.gentoo.org/617110
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Module-Info/Module-Info-0.370.0-r1.ebuild |  3 +-
 .../files/Module-Info-0.370.0-no-dot-inc.patch     | 63 ++++++++++++++++++++++
 2 files changed, 65 insertions(+), 1 deletion(-)}
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-10-30 07:54:12 UTC
There are other test failures in 0.350.0 that show up when this error is skipped, so didn't bother patching that, instead going to stabilize 0.370.0
Comment 3 Larry the Git Cow gentoo-dev 2018-03-26 11:37:24 UTC
The bug has been closed via the following commit(s):

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

commit 364f294fd02ce07e5a19a5a0191e080e4f574c43
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-03-26 11:37:00 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-03-26 11:37:00 +0000

    dev-perl/Module-Info: Cleanup old re bug #617110
    
    Closes: https://bugs.gentoo.org/617110
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-perl/Module-Info/Manifest                      |  1 -
 dev-perl/Module-Info/Module-Info-0.350.0-r1.ebuild | 23 ----------------------
 2 files changed, 24 deletions(-)