Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661202 - dev-perl/Devel-Cover fails tests on perl 5.28 ( B::Debug will be removed from the Perl core distribution )
Summary: dev-perl/Devel-Cover fails tests on perl 5.28 ( B::Debug will be removed from...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: perl-5.28-unmask
  Show dependency tree
 
Reported: 2018-07-15 04:01 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2019-01-04 07:32 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 2018-07-15 04:01:18 UTC
Devel::Cover seems to be broken when using the previously-dual-lifed B::Debug which is moving to CPAN-only.

Given this output occurs at runtime and possibly needs us to give love to lots of places in tree for B::Debug migration, starting off as a blocker for unmask.

t/e2e/eval_sub.t ............ ok
B::Debug will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /var/tmp/portage/dev-perl/Devel-Cover-1.290.0/work/Devel-Cover-1.29/blib
/lib/Devel/Cover.pm, line 28.
t/e2e/eval_use.t ............ ok
t/internal/criteria.t ....... ok
t/internal/inc_filter.t ..... ok
t/internal/launch.t ......... ok
t/regexp/regexp_eval.t ...... ok
#   Failed test 'test with perl -MDevel::Cover,-silent,1 -e'
#   at t/internal/subprocess.t line 18.
#          got: 'B::Debug will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /var/tmp/portage/dev-perl/Devel-Cover-1.290.0/work/Devel-Cover-1.29/blib/lib/Devel/Cover.pm, line 28.
# Hello, world.'
#     expected: 'Hello, world.' 
# Looks like you failed 1 test of 2.
t/internal/subprocess.t ..... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests                                                                
t/e2e/md5.t ................. ok

Test Summary Report
-------------------
t/internal/subprocess.t   (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2                                                                          
  Non-zero exit status: 1
Comment 1 Larry the Git Cow gentoo-dev 2019-01-04 05:50:56 UTC
The bug has been referenced in the following commit(s):

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

commit b42f4823c916a631f6e7510b20f1984613885c08
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2019-01-04 05:49:38 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2019-01-04 05:49:46 +0000

    dev-perl/Devel-Cover: Move dep for B::Debug to dev-perl/B-Debug
    
    Devel-Cover is the only package in tree that indicates it requires
    B::Debug. More over, no packages we have in gentoo turn up on CPAN
    when grepped for consumption of B::Debug
    
    Therefor, we're just going to skip the shenigans with virtuals and make
    all consumers ( who we remeber, are all in ~arch ) simply pull
    dev-perl/B-Debug
    
    This won't cause any problems with older virtual versions existing,
    as no package exists requiring a specific version of B-Debug, so the
    multi-way conflict virtuals typically do with perl-core/ are not
    necessary here.
    
    So, Devel-Cover is safe to force installing a CPAN version of B-Debug
    on any perl.
    
    Bug: https://bugs.gentoo.org/661202
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Signed-off-by: Kent Fredric <kentnl@gentoo.org>

 .../{Devel-Cover-1.290.0.ebuild => Devel-Cover-1.290.0-r1.ebuild}     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

commit 28a92fd152e743ed315ad2013a8868b9feee99fe
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2019-01-04 01:25:18 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2019-01-04 05:43:16 +0000

    dev-perl/B-Debug: Add w/ version 1.260.0
    
    Being split from core in 5.30, warning from 5.28 onwards in ways that
    produce warnings, which can lead to test failures
    
    Bug: https://bugs.gentoo.org/661202
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Signed-off-by: Kent Fredric <kentnl@gentoo.org>

 dev-perl/B-Debug/B-Debug-1.260.0.ebuild | 30 ++++++++++++++++++++++++++++++
 dev-perl/B-Debug/Manifest               |  1 +
 dev-perl/B-Debug/metadata.xml           | 12 ++++++++++++
 3 files changed, 43 insertions(+)
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2019-01-04 07:32:13 UTC
Tested, -r1 now fixed on 5.28