Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929194 - dev-ruby/nokogiri-1.15.5 fails tests: Expected "2:1: FATAL: Premature end of data in tag foo line 1" to include "FATAL: Extra content at the end of the document".
Summary: dev-ruby/nokogiri-1.15.5 fails tests: Expected "2:1: FATAL: Premature end of ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-11 22:16 UTC by matoro
Modified: 2024-04-12 09:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_929194.txt,61.09 KB, text/plain)
2024-04-11 22:17 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-04-11 22:16:35 UTC
Finished in 3.282033s, 756.5432 runs/s, 2735.8040 assertions/s.                                                                                                                                 
                                                                                                                                                                                                
  1) Failure:                                                                                                                                                                                   
Nokogiri::XML::TestReader#test_broken_markup_namespaces [/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/test/xml/test_reader.rb:799]:                                    
Expected "2:1: FATAL: Premature end of data in tag foo line 1" to include "FATAL: Extra content at the end of the document".                                                                    
                                                                                                                                                                                                
  2) Failure:                                                                                                                                                                                   
Nokogiri::XML::TestReader#test_broken_markup_attribute_hash [/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/test/xml/test_reader.rb:768]:                                
Expected "2:1: FATAL: Premature end of data in tag foo line 1" to include "FATAL: Extra content at the end of the document".                                                                    
                                                                                                                                                                                                
  3) Failure:                                                                                                                                                                                   
Nokogiri::XML::SAX::PushParser#test_0017_test_broken_encoding [/var/tmp/portage/dev-ruby/nokogiri-1.15.5/work/ruby31/nokogiri-1.15.5/test/xml/sax/test_push_parser.rb:190]:                     
--- expected                                                                                                                                                                                    
+++ actual                                                                                                                                                                                      
@@ -1,3 +1 @@                                                                                                                                                                                   
-# encoding: UTF-8                                                                                                                                                                              
-#    valid: false                                                                                                                                                                              
-"Gau\xDF"                                                                                                                                                                                      
+"Gau�"                                                                                                                                                                                         
                                                                                                                                                                                                

2483 runs, 8979 assertions, 3 failures, 0 errors, 31 skips


Reproducible: Always
Comment 1 matoro archtester 2024-04-11 22:17:07 UTC
Created attachment 890471 [details]
build.log and emerge --info
Comment 2 Hans de Graaff gentoo-dev Security 2024-04-12 09:15:58 UTC
This happens due to incompatible changes in newer libxml2 versions. It won't be fixed in nokogiri, I'll update the stable target to a 1.16.x version of nokogiri instead.