Bug 2539975 - perl-XML-LibXML-Devel-SetLineNumber-0.002-35.fc46 FTBFS: t/02working.t fails
Summary: perl-XML-LibXML-Devel-SetLineNumber-0.002-35.fc46 FTBFS: t/02working.t fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-XML-LibXML-Devel-SetLineNumber
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F46FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2026-09-24 07:27 UTC by Petr Pisar
Modified: 2026-09-24 11:03 UTC (History)
1 user (show)

Fixed In Version: perl-XML-LibXML-Devel-SetLineNumber-0.002-36.fc46
Clone Of:
Environment:
Last Closed: 2026-09-24 11:03:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github tobyink p5-xml-libxml-devel-setlinenumber pull 1 0 None open Adapt tests to libxml-2.15.4 2026-09-24 10:17:26 UTC

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.


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