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

Bug 615590

Summary: <dev-perl/Devel-SmallProf-2.20.0-r3 fails tests without '.' 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=121134
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 643238    
Bug Blocks: 612408    

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-15 06:40:56 UTC
>>> Configuring source in /var/tmp/portage/dev-perl/Devel-SmallProf-2.20.0-r2/work/Devel-SmallProf-2.02 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Devel-SmallProf-2.20.0-r2/image/
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Devel::SmallProf
Writing MYMETA.yml and MYMETA.json
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/Devel-SmallProf-2.20.0-r2/work/Devel-SmallProf-2.02 ...
 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
make -j3 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed'
cp lib/Devel/SmallProf.pm blib/lib/Devel/SmallProf.pm
>>> Source compiled.
>>> Test phase: dev-perl/Devel-SmallProf-2.20.0-r2
make -j3 test TEST_VERBOSE=0
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/part1.t .. do "t/part1.b" failed, '.' is no longer in @INC at t/part1.t line 9.
No such file or directory at t/part1.t line 9.
t/part1.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/part2.t .. Failed 7/10 subtests
t/part3.t .. do ".smallprof" failed, '.' is no longer in @INC at /var/tmp/portage/dev-perl/Devel-SmallProf-2.20.0-r2/work/Devel-SmallProf-2.02/blib/lib/Devel/SmallProf.pm line 59.
do "t/part3.b" failed, '.' is no longer in @INC at t/part3.t line 3.
No such file or directory at t/part3.t line 3.
t/part3.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/part4.t .. Failed 1/2 subtests
t/pods.t ... skipped: Only the author needs to check that POD docs are right

Test Summary Report
-------------------
t/part1.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/part2.t (Wstat: 0 Tests: 10 Failed: 7)
  Failed tests:  1-3, 5-8
t/part3.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/part4.t (Wstat: 0 Tests: 2 Failed: 1)
  Failed test:  1
Comment 1 Larry the Git Cow gentoo-dev 2017-10-07 22:53:13 UTC
The bug has been referenced in the following commit(s):

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

commit 366705970a7887e22b257e7ed185c62ff8e5e165
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-10-07 22:51:08 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-10-07 22:52:47 +0000

    dev-perl/Devel-SmallProf: Fix perl 5.26 support re bug #615590
    
    - Runtime code for .smallprof file loading changed needing rbump
    - Tests patched for loading with new "do" syntax.
    
    Bug: https://bugs.gentoo.org/615590
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../Devel-SmallProf-2.20.0-r3.ebuild               | 22 +++++++
 .../files/Devel-SmallProf-2.20.0-perl526.patch     | 67 ++++++++++++++++++++++
 2 files changed, 89 insertions(+)}
Comment 2 Larry the Git Cow gentoo-dev 2018-01-30 02:18:50 UTC
The bug has been referenced in the following commit(s):

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

commit ec68bd25dec29428e3a2bb6aeebf2e9196ab4bad
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-01-30 02:00:19 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-01-30 02:18:09 +0000

    dev-perl/Devel-SmallProf: Cleanup old re bug #615590
    
    Bug: https://bugs.gentoo.org/615590
    Package-Manager: Portage-2.3.18, Repoman-2.3.6

 .../Devel-SmallProf-2.20.0-r2.ebuild                | 21 ---------------------
 1 file changed, 21 deletions(-)}