https://bugzilla.redhat.com/show_bug.cgi?id=2246773

            Bug ID: 2246773
           Summary: perl-Devel-Cover needs to be synchronised to perl
                    version currently installed
           Product: Fedora
           Version: 38
          Hardware: x86_64
                OS: Linux
            Status: NEW
         Component: perl-Devel-Cover
          Keywords: Upgrades
          Severity: medium
          Assignee: spo...@gmail.com
          Reporter: rwfra...@acm.org
        QA Contact: extras...@fedoraproject.org
                CC: perl-devel@lists.fedoraproject.org, spo...@gmail.com
  Target Milestone: ---
    Classification: Fedora



Perl test programs using Devel::Cover emit a warning when running on the
"wrong" version of perl.

This happens for each and every test script.

A package dependency needs to be added to force a rebuild of perl-Devel-Cover
whenever the perl interpreter is updated.

Reproducible: Always

Steps to Reproduce:
1.
tar xvzf Net-DNS-1.40.tar.gz
2.
perl Makefile.PL
3.
make test_cover
Actual Results:  
PERL_DL_NONLAZY=1 HARNESS_OPTIONS=j1:c "/usr/bin/perl" "-It"
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-install.t ............. 
This version of Devel::Cover was built with Perl version 5.036000.
It is now being run with Perl version 5.036001.
Attempting to make adjustments, but you may find that some of your modules do
not have coverage data collected.  You may need to alter the +-inc, +-ignore
and +-select options.

t/00-install.t ............. 1/210 # 
#       Filename not in MANIFEST: lib/Net/DNS/RR/DLV.pm
t/00-install.t ............. ok       
t/00-load.t ................ 
This version of Devel::Cover was built with Perl version 5.036000.
It is now being run with Perl version 5.036001.
Attempting to make adjustments, but you may find that some of your modules do
not have coverage data collected.  You may need to alter the +-inc, +-ignore
and +-select options.

...

Expected Results:  
PERL_DL_NONLAZY=1 HARNESS_OPTIONS=j1:c "/usr/bin/perl" "-It"
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-install.t ............. ok       
t/00-load.t ................ # 
# These tests were run using:
#       Net::DNS                   1.40
...

In this particular case there seem to be no ill effects, but there have been
occasions in the past where the version mismatch has rendered Devel::Cover
unusable.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2246773

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202246773%23c0
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to