[DRE-maint] Bug#1106273: ruby-libxml ftbfs with libxml 2.14.x from experimental

Matthias Klose doko at debian.org
Thu May 22 12:12:30 BST 2025


Package: src:ruby-libxml
Version: 5.0.3-1
Tags: ftbfs sid forky
User: debian-xml-sgml-pkgs at lists.alioth.debian.org
Userflags: libxml2.14

[this bug is NOT targeted to the upcoming trixie release]

[...]
Finished in 6.907723s, 56.4585 runs/s, 6138.9257 assertions/s.

   1) Failure:
TestHtmlParserContext#test_default_options 
[test/test_html_parser_context.rb:9]:
Expected: 0
   Actual: 4096

   2) Failure:
TestReader#test_invalid_encoding [test/test_reader.rb:341]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"Fatal error: Input is not proper UTF-8, indicate encoding !
-Bytes: 0xF6 0x74 0x6C 0x65 at :2."
+"Fatal error: Couldn't find end of Start Tag m at :2."


   3) Failure:
HTMLParserTest#test_noexistent_file [test/test_html_parser.rb:24]:
--- expected
+++ actual
@@ -1 +1 @@
-"Warning: failed to load external entity \"i_dont_exist.xml\"."
+"Warning: failed to load \"i_dont_exist.xml\": No such file or directory."


   4) Failure:
HTMLParserTest#test_no_implied [test/test_html_parser.rb:144]:
--- expected
+++ actual
@@ -1 +1,3 @@
-"<p>hello world</p>"
+# encoding: US-ASCII
+#    valid: true
+""


   5) Failure:
TestDtd#test_external_dtd [test/test_dtd.rb:115]:
--- expected
+++ actual
@@ -1 +1 @@
-"Warning: failed to load external entity \"test.dtd\" at :1."
+"Warning: failed to load \"test.dtd\": No such file or directory at :1."


   6) Failure:
TestXml#test_enabled_http [test/test_xml.rb:91]:
Expected false to be truthy.

   7) Failure:
TestXml#test_enabled_unicode [test/test_xml.rb:120]:
Expected false to be truthy.

   8) Failure:
TestXml#test_enabled_ftp [test/test_xml.rb:86]:
Expected false to be truthy.

   9) Failure:
TestSaxParser#test_noexistent_file [test/test_sax_parser.rb:138]:
--- expected
+++ actual
@@ -1 +1 @@
-"Warning: failed to load external entity \"i_dont_exist.xml\"."
+"Warning: failed to load \"i_dont_exist.xml\": No such file or directory."


  10) Failure:
TestParser#test_noexistent_file [test/test_parser.rb:47]:
--- expected
+++ actual
@@ -1 +1 @@
-"Warning: failed to load external entity \"i_dont_exist.xml\"."
+"Warning: failed to load \"i_dont_exist.xml\": No such file or directory."


  11) Failure:
TestParser#test_string_encoding [test/test_parser.rb:218]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"Fatal error: Input is not proper UTF-8, indicate encoding !
-Bytes: 0xF6 0x74 0x6C 0x65 at :2."
+"Fatal error: Invalid bytes in character encoding at :2."


390 runs, 42406 assertions, 11 failures, 0 errors, 0 skips
     ELEMENT bands
       ATTRIBUTE genre
         TEXT
           content=metal
       ELEMENT m#C3#B6tley_cr#C3#BCe
         ATTRIBUTE country
           TEXT
             content=us
         TEXT
           content=M#C3#B6tley Cr#C3#BCe is an American heavy metal...
       ELEMENT iron_maiden
         ATTRIBUTE country
           TEXT
             content=uk
         TEXT
           content=Iron Maiden is a British heavy metal ban...
DOCUMENT
version=1.0
encoding=utf-8
URL=/<<BUILDDIR>>/ruby-libxml-5....
standalone=true
   ELEMENT bands
     ATTRIBUTE genre
       TEXT
         content=metal
     ELEMENT m#C3#B6tley_cr#C3#BCe
       ATTRIBUTE country
         TEXT interned
           content=us
       TEXT
         content=M#C3#B6tley Cr#C3#BCe is an American heavy metal...
     ELEMENT iron_maiden
       ATTRIBUTE country
         TEXT interned
           content=uk
       TEXT
         content=Iron Maiden is a British heavy metal ban...
rake aborted!



More information about the Pkg-ruby-extras-maintainers mailing list