[DRE-maint] Bug#996372: ruby-roxml: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: NoMethodError:

Antonio Terceiro terceiro at debian.org
Wed Oct 13 14:31:02 BST 2021


Source: ruby-roxml
Version: 4.0.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-roxml was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
>       NoMethodError:
>         undefined method `escape' for URI:Module
>       # ./lib/roxml/xml/references.rb:50:in `conventionize'
>       # ./lib/roxml/xml/references.rb:29:in `name'
>       # ./lib/roxml/xml/references.rb:33:in `xpath_name'
>       # ./lib/roxml/xml/references.rb:89:in `xpath'
>       # ./lib/roxml/xml/references.rb:121:in `nodes_in'
>       # ./lib/roxml/xml/references.rb:220:in `fetch_value'
>       # ./lib/roxml/xml/references.rb:38:in `value_in'
>       # ./lib/roxml.rb:557:in `block (2 levels) in from_xml'
>       # ./lib/roxml.rb:556:in `each'
>       # ./lib/roxml.rb:556:in `block in from_xml'
>       # <internal:kernel>:90:in `tap'
>       # ./lib/roxml.rb:553:in `from_xml'
>       # ./spec/examples/dashed_elements_spec.rb:6:in `block (2 levels) in <top (required)>'
> 
> Finished in 0.44762 seconds (files took 1.15 seconds to load)
> 212 examples, 15 failures, 18 pending
> 
> Failed examples:
> 
> rspec ./spec/examples/amazon_spec.rb:10 # PITA::ItemSearchResponse#total_results should be parsed as a number
> rspec ./spec/examples/amazon_spec.rb:16 # PITA::ItemSearchResponse#total_pages should be parsed as a number
> rspec ./spec/examples/amazon_spec.rb:22 # PITA::ItemSearchResponse#items should return a collection of items
> rspec ./spec/examples/amazon_spec.rb:28 # PITA::ItemSearchResponse#items should have the some number less than or equal to #total_results
> rspec ./spec/examples/amazon_spec.rb:40 # PITA::Item should extract asin
> rspec ./spec/examples/amazon_spec.rb:45 # PITA::Item should extract detail_page_url
> rspec ./spec/examples/amazon_spec.rb:50 # PITA::Item should extract manufacturer
> rspec ./spec/examples/current_weather_spec.rb:9 # Weather should extract observations
> rspec ./spec/examples/current_weather_spec.rb:19 # WeatherObservation should extract temperature
> rspec ./spec/examples/current_weather_spec.rb:23 # WeatherObservation should extract feels_like
> rspec ./spec/examples/current_weather_spec.rb:28 # WeatherObservation#current_condition should extract current_condition
> rspec ./spec/examples/current_weather_spec.rb:32 # WeatherObservation#current_condition should extract icon attribute
> rspec ./spec/examples/dashed_elements_spec.rb:9 # GitHub::Commit should extract committed date
> rspec ./spec/examples/dashed_elements_spec.rb:13 # GitHub::Commit should extract url
> rspec ./spec/examples/dashed_elements_spec.rb:17 # GitHub::Commit should extract id
> 
> /usr/bin/ruby3.0 -Iexamples -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec ./spec/definition_spec.rb ./spec/examples/active_record_spec.rb ./spec/examples/amazon_spec.rb ./spec/examples/current_weather_spec.rb ./spec/examples/dashed_elements_spec.rb ./spec/examples/library_spec.rb ./spec/examples/library_with_fines_spec.rb ./spec/examples/person_spec.rb ./spec/examples/post_spec.rb ./spec/examples/search_query_spec.rb ./spec/examples/twitter_spec.rb ./spec/reference_spec.rb ./spec/roxml_spec.rb ./spec/xml/array_spec.rb ./spec/xml/attributes_spec.rb ./spec/xml/encoding_spec.rb ./spec/xml/namespace_spec.rb ./spec/xml/namespaces_spec.rb ./spec/xml/object_spec.rb ./spec/xml/parser_spec.rb ./spec/xml/text_spec.rb failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-roxml/ruby-roxml_4.0.0-2+rebuild1633393804_amd64.build.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211013/449c5d36/attachment.sig>


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