Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2222742 - perl-Exception-Base-0.2501-23.fc39 FTBFS: t/all_tests.t fails with perl 5.38.0: Smartmatch is deprecated
Summary: perl-Exception-Base-0.2501-23.fc39 FTBFS: t/all_tests.t fails with perl 5.38....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Exception-Base
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F39FTBFS
TreeView+ depends on / blocked
 
Reported: 2023-07-13 15:40 UTC by Petr Pisar
Modified: 2023-07-16 12:51 UTC (History)
3 users (show)

Fixed In Version: perl-Exception-Base-0.2501-24.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-16 12:51:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github dex4er perl-Exception-Base issues 5 0 None open 'smartmatch' deprecated in perl-5.38.0 2023-07-13 15:40:38 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.