Bug 2222742

Summary: perl-Exception-Base-0.2501-23.fc39 FTBFS: t/all_tests.t fails with perl 5.38.0: Smartmatch is deprecated
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Exception-BaseAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: emmanuel, paul, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Exception-Base-0.2501-24.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-16 12:51:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2168842    

Description Petr Pisar 2023-07-13 15:40:39 UTC
perl-Exception-Base-0.2501-23.fc39 fails to build with perl 5.38.0:

+ make test
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
# Smartmatch is deprecated at (eval 16) line 2.
#  at t/all_tests.t line 10.
#       main::__ANON__("Smartmatch is deprecated at (eval 16) line 2.\x{a}") called at (eval 16) line 2
#       eval '
#             $self->assert_num_equals(1, \'String\' ~~ $obj);
#         ' called at t/tlib/Exception/BaseTest.pm line 574
#       Exception::BaseTest::test_overload(Exception::BaseTest=HASH(0x56344b4e2eb0)) called at /usr/share/perl5/vendor_perl/Test/Unit/Lite.pm line 602
#       eval {...} called at /usr/share/perl5/vendor_perl/Test/Unit/Lite.pm line 601
#       Test::Unit::TestSuite::run(Test::Unit::TestSuite=HASH(0x56344b32a100), Test::Unit::Result=HASH(0x56344b32a0e8), Test::Unit::HarnessUnit=HASH(0x56344b2ff910)) called at /usr/share/perl5/vendor_perl/Test/Unit/Lite.pm line 750
#       Test::Unit::TestRunner::start(Test::Unit::HarnessUnit=HASH(0x56344b2ff910), "Test::Unit::Lite::AllTests") called at t/all_tests.t line 12
t/all_tests.t .. 
Failed 1/50 subtests

Comment 1 Fedora Update System 2023-07-16 12:50:54 UTC
FEDORA-2023-b330fed12d has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b330fed12d

Comment 2 Fedora Update System 2023-07-16 12:51:55 UTC
FEDORA-2023-b330fed12d has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.