Fedora Account System
Red Hat Associate
Red Hat Customer
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>.
This is triggered by upgrading perl-XML-LibXML from 1:2.0213-3.fc45 to 1:2.0213-4.fc46.
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.
It actually seems the the new libxml2 (or the rebuilt Perl binding) reports line numbers correctly and the test do not expect it.
F45 will be affected after merging perl-XML-LibXML-2.0213-4.fc45.