Bug 2539975

Summary: perl-XML-LibXML-Devel-SetLineNumber-0.002-35.fc46 FTBFS: t/02working.t fails
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-XML-LibXML-Devel-SetLineNumberAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-XML-LibXML-Devel-SetLineNumber-0.002-36.fc46 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-09-24 11:03:25 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: 2503726    

Description Petr Pisar 2026-09-24 07:27:47 UTC
perl-XML-LibXML-Devel-SetLineNumber-0.002-35.fc46 fails to build in Fedora 46 because tests fail like this:

#   Failed test 'BEFORE 1'
#   at t/02working.t line 18.
#          got: '1'
#     expected: '0'
#   Failed test 'BEFORE 2'
#   at t/02working.t line 18.
#          got: '2'
#     expected: '0'
#   Failed test 'BEFORE 3'
#   at t/02working.t line 18.
#          got: '3'
#     expected: '0'
# Looks like you failed 3 tests of 6.
t/02working.t .. 

A difference between failing and passing buildroot is at <https://koschei.fedoraproject.org/build/24031102>.

Comment 1 Petr Pisar 2026-09-24 07:31:16 UTC
This is triggered by upgrading perl-XML-LibXML from 1:2.0213-3.fc45 to 1:2.0213-4.fc46.

Comment 2 Petr Pisar 2026-09-24 07:35:06 UTC
That perl-XML-LibXML changed from using libxml2_2.13-0:2.13.9-4.fc46.x86_64 to using libxml2-0:2.15.4-1.fc46.x86_64.

Comment 3 Petr Pisar 2026-09-24 07:52:19 UTC
It actually seems the the new libxml2 (or the rebuilt Perl binding) reports line numbers correctly and the test do not expect it.

Comment 4 Petr Pisar 2026-09-24 10:39:33 UTC
F45 will be affected after merging perl-XML-LibXML-2.0213-4.fc45.