[DRE-maint] Bug#952018: ruby-http-accept-language: FTBFS: ERROR: Test "ruby2.5" failed: NoMethodError:

Lucas Nussbaum lucas at debian.org
Sun Feb 23 07:45:07 GMT 2020


Source: ruby-http-accept-language
Version: 2.1.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>       NoMethodError:
>         undefined method `expect' for #<RSpec::ExampleGroups::HttpAcceptLanguageParser:0x000055e9a57e9a20>
>         Did you mean?  exec
>       # ./spec/parser_spec.rb:62:in `block (2 levels) in <top (required)>'
> 
> Finished in 0.01261 seconds (files took 0.12149 seconds to load)
> 18 examples, 18 failures
> 
> Failed examples:
> 
> rspec ./spec/auto_locale_spec.rb:37 # HttpAcceptLanguage::AutoLocale available languages includes accept_languages take a suitable locale
> rspec ./spec/auto_locale_spec.rb:50 # HttpAcceptLanguage::AutoLocale available languages do not include accept_languages set the locale to default
> rspec ./spec/auto_locale_spec.rb:65 # HttpAcceptLanguage::AutoLocale default locale is ja set the locale to default
> rspec ./spec/middleware_spec.rb:31 # Rack integration handles reuse of the env instance
> rspec ./spec/middleware_spec.rb:42 # Rack integration decodes the HTTP_ACCEPT_LANGUAGE header
> rspec ./spec/middleware_spec.rb:47 # Rack integration finds the first available language
> rspec ./spec/parser_spec.rb:9 # HttpAcceptLanguage::Parser should return empty array
> rspec ./spec/parser_spec.rb:14 # HttpAcceptLanguage::Parser should properly split
> rspec ./spec/parser_spec.rb:18 # HttpAcceptLanguage::Parser should ignore jambled header
> rspec ./spec/parser_spec.rb:23 # HttpAcceptLanguage::Parser should properly respect whitespace
> rspec ./spec/parser_spec.rb:28 # HttpAcceptLanguage::Parser should find first available language
> rspec ./spec/parser_spec.rb:32 # HttpAcceptLanguage::Parser should find first compatible language
> rspec ./spec/parser_spec.rb:37 # HttpAcceptLanguage::Parser should find first compatible from user preferred
> rspec ./spec/parser_spec.rb:42 # HttpAcceptLanguage::Parser should accept symbols as available languages
> rspec ./spec/parser_spec.rb:47 # HttpAcceptLanguage::Parser should accept and ignore wildcards
> rspec ./spec/parser_spec.rb:52 # HttpAcceptLanguage::Parser should sanitize available language names
> rspec ./spec/parser_spec.rb:56 # HttpAcceptLanguage::Parser should accept available language names as symbols and return them as strings
> rspec ./spec/parser_spec.rb:60 # HttpAcceptLanguage::Parser should find most compatible language from user preferred
> 
> /usr/bin/ruby2.5 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb failed
> ERROR: Test "ruby2.5" failed: 

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/ruby-http-accept-language_2.1.1-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



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