Public bug reported:

Imported from Debian bug http://bugs.debian.org/1107538:

Package: src:ruby-html2text
Version: 0.2.0-1.1
Tags: ftbfs sid forky
User: [email protected]
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

** Affects: ruby-html2text (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ruby-nokogiri (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ruby-html2text (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs update-excuse

** Bug watch added: Debian Bug tracker #1107538
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107538

** Changed in: ruby-html2text (Debian)
 Remote watch: None => Debian Bug tracker #1107538

** Also affects: ruby-nokogiri (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: ftbfs update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120990

Title:
  ruby-html2text autopkg test fails with libxml 2.14.x from experimental

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby-html2text/+bug/2120990/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to