[DRE-maint] Bug#1072017: ruby-libxml: new upstream release, addressing test failures with libxml2 >= 2.12
Aron Xu
aron at debian.org
Mon May 27 16:20:25 BST 2024
Package: src:ruby-libxml
Version: 3.2.4-2
X-Debbugs-Cc: debian-xml-sgml-pkgs at alioth-lists.debian.net
Hi,
libxml2 has been updated to upstream 2.12.7 release and the
autopkgtest shows regressions[1] regarding ruby-libxml:
47s 1) Failure:
47s TestSaxParser#test_parse_seg_fail
[/tmp/autopkgtest-lxc.00ga17my/downtmp/build.LIY/src/test/test_sax_parser.rb:321]:
47s --- expected
47s +++ actual
47s @@ -1 +1 @@
47s -"Fatal error: xmlParseEntityRef: no name at :5."
47s +"Fatal error: xmlParseEntityRef: no name at :4."
47s
47s
47s 2) Failure:
47s TestParser#test_file_encoding
[/tmp/autopkgtest-lxc.00ga17my/downtmp/build.LIY/src/test/test_parser.rb:66]:
47s Expected nil to be truthy.
47s
47s 3) Failure:
47s TestParser#test_bad_xml
[/tmp/autopkgtest-lxc.00ga17my/downtmp/build.LIY/src/test/test_parser.rb:286]:
47s --- expected
47s +++ actual
47s @@ -1 +1 @@
47s -"Fatal error: Extra content at the end of the document at :1."
47s +"Fatal error: Couldn't find end of Start Tag ruby_array line 1 at :1."
47s
47s
47s 4) Failure:
47s TestReader#test_string_encoding
[/tmp/autopkgtest-lxc.00ga17my/downtmp/build.LIY/src/test/test_reader.rb:362]:
47s Expected: 10
47s Actual: 0
47s
47s 353 runs, 42311 assertions, 4 failures, 0 errors, 0 skips
Upstream has fixed a few issues with libxml2 2.12.x in 5.0.x release.
It would be nice if upstream release or some patch works can be
considered to help unblock the migration of new libxml2. I would give
it a try on patching but I'm unfortunately not a Ruby expert.
[1]https://ci.debian.net/packages/r/ruby-libxml/testing/amd64/47035876/
More information about the Pkg-ruby-extras-maintainers
mailing list