[DRE-maint] Bug#1107538: ruby-html2text autopkg test fails with libxml 2.14.x from experimental

Matthias Klose doko at debian.org
Mon Jun 9 08:23:25 BST 2025


Package: src:ruby-html2text
Version: 0.2.0-1.1
Tags: ftbfs sid forky
User: debian-xml-sgml-pkgs at lists.alioth.debian.org
Usertags: libxml2.14

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

ruby-html2text autopkg test fails with libxml 2.14.x from experimental, 
and all it's dependencies built with that libxml version.

[...]
67s Failures:
  67s
  67s   1) Html2Text#convert 
/tmp/autopkgtest.DZ9HbB/build.5mB/src/spec/examples/anchors.html 
converts to text
  67s      Failure/Error: expect(text).to eq(expected)
  67s
  67s        expected: #<Encoding:UTF-8> "A document without any HTML 
open/closing 
tags.\n----------------------------------------------------...http://foo.com) 
- or http://www.foo.com [link](http://foo.com)\n\n[An anchor which will 
not appear]"
  67s             got: #<Encoding:US-ASCII> "A document without any HTML 
open/closing tags. 
-----------------------------------------------------...http://foo.com) 
- or http://www.foo.com [link](http://foo.com)\n\n[An anchor which will 
not appear]"
  67s
  67s        (compared using ==)
  67s
  67s        Diff:
  67s        @@ -1,5 +1,4 @@
  67s        -A document without any HTML open/closing tags.
  67s 
----------------------------------------------------------------
  67s        +A document without any HTML open/closing tags. 
---------------------------------------------------------------
  67s         We try and use the representation given by common browsers 
of the HTML document, so that it looks similar when converted to plain 
text. [visit foo.com](http://foo.com) - or http://www.foo.com 
[link](http://foo.com)
  67s
  67s         [An anchor which will not appear]
  67s      # ./spec/examples_spec.rb:20:in `block (5 levels) in <top 
(required)>'
  67s
  67s Finished in 0.03083 seconds (files took 0.15897 seconds to load)
  67s 25 examples, 1 failure
  67s
  67s Failed examples:
  67s
  67s rspec ./spec/examples_spec.rb[1:1:1:2] # Html2Text#convert 
/tmp/autopkgtest.DZ9HbB/build.5mB/src/spec/examples/anchors.html 
converts to text
  67s
  67s /usr/bin/ruby3.3 
-I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib 
/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec 
--pattern ./spec/\*\*/\*_spec.rb --format documentation failed



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