Bug 2457783

Summary: perl-XML-Catalog-1.03-34.fc45 FTBFS: tests fail with perl-XML-Parser ≥ 2.51
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-XML-CatalogAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jplesnik, mspacek, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org//package/perl-XML-Catalog
Whiteboard:
Fixed In Version: perl-XML-Catalog-1.03-35.fc45 perl-XML-Catalog-1.03-35.fc44 perl-XML-Catalog-1.03-34.fc43 perl-XML-Catalog-1.03-33.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-04-30 00:53:13 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: 2433833    

Description Petr Pisar 2026-04-13 08:15:53 UTC
perl-XML-Catalog-1.03-34.fc45 fails to build in Fedora 45 because tests fail like this:

+ 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
# Testing XML::Catalog 1.03

#   Failed test 'Reslove PublicID'
#   at t/001-load.t line 20.
#          got: undef
#     expected: 'file:///home/test/fedora/perl-XML-Catalog/perl-XML-Catalog-1.03-build/XML-Catalog-1.03/t/test.dtd'

#   Failed test 'Reslove deligated PublicID'
#   at t/001-load.t line 25.
#          got: undef
#     expected: 'file:///home/test/fedora/perl-XML-Catalog/perl-XML-Catalog-1.03-build/XML-Catalog-1.03/t/test.dtd'

#   Failed test 'Reslove nextCatalog'
#   at t/001-load.t line 30.
#          got: undef
#     expected: 'file:///home/test/fedora/perl-XML-Catalog/perl-XML-Catalog-1.03-build/XML-Catalog-1.03/t/test2.dtd'
# Looks like you failed 3 tests of 5.

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/22720315>. An upgrade of perl-XML-Parser from 2.47-9.fc44 to 2.51-1.fc45 is suspicious.

Comment 1 Petr Pisar 2026-04-20 06:56:07 UTC
It is triggered by that upgrade.

Comment 2 Petr Pisar 2026-04-20 07:12:07 UTC
This is triggered by this XML-Parser commit between 2.47 and 2.48:

commit 45016045691b95067238af981440ef0a5850e724 (HEAD)
Author: Toddr Bot <toddbot>
Date:   Mon Mar 16 21:40:21 2026 +0000

    fix: propagate xpcroak errors in Subs style instead of swallowing them
    
    The Subs style wrapped handler calls in eval { } to silently skip
    elements without corresponding subs, but this also swallowed legitimate
    errors from xpcroak(). Replace eval with defined(&$sub) checks, matching
    the pattern already used by the Stream style.
    
    Fixes https://github.com/cpan-authors/XML-Parser/issues/50
    
    Co-Authored-By: Claude Opus 4.6 <noreply>

Comment 3 Fedora Update System 2026-04-20 10:41:37 UTC
FEDORA-2026-50be1f7737 (perl-XML-Catalog-1.03-35.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-50be1f7737

Comment 4 Fedora Update System 2026-04-20 10:42:27 UTC
FEDORA-2026-107bdc8dba (perl-XML-Catalog-1.03-34.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-107bdc8dba

Comment 5 Fedora Update System 2026-04-20 10:42:37 UTC
FEDORA-2026-0780488a2a (perl-XML-Catalog-1.03-33.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0780488a2a

Comment 6 Fedora Update System 2026-04-22 10:01:39 UTC
FEDORA-2026-107bdc8dba has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-107bdc8dba`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-107bdc8dba

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-04-22 11:05:14 UTC
FEDORA-2026-0780488a2a has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-0780488a2a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0780488a2a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-04-22 11:23:35 UTC
FEDORA-2026-50be1f7737 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-50be1f7737`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-50be1f7737

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-04-30 00:53:13 UTC
FEDORA-2026-50be1f7737 (perl-XML-Catalog-1.03-35.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-04-30 01:20:25 UTC
FEDORA-2026-107bdc8dba (perl-XML-Catalog-1.03-34.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2026-04-30 01:29:44 UTC
FEDORA-2026-0780488a2a (perl-XML-Catalog-1.03-33.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.