[DRE-maint] Bug#809288: ruby-rack-contrib: FTBFS: I18n::InvalidLocale: "en" is not a valid locale

Chris Lamb lamby at debian.org
Mon Dec 28 23:45:37 UTC 2015


Source: ruby-rack-contrib
Version: 1.3.0-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

ruby-rack-contrib fails to build from source in unstable/amd64:

  [..]
  
    1) Error:
  Rack::Locale#test_0002_should treat an empty qvalue as 1.0:
  I18n::InvalidLocale: "en" is not a valid locale
      /usr/lib/ruby/vendor_ruby/i18n.rb:284:in `enforce_available_locales!'
      /usr/lib/ruby/vendor_ruby/i18n/config.rb:13:in `locale='
      /usr/lib/ruby/vendor_ruby/i18n.rb:35:in `locale='
      /home/lamby/temp/cdt.20151229004309.yCCr83jwAq/ruby-rack-contrib-1.3.0/lib/rack/contrib/locale.rb:14:in `call'
      /usr/lib/ruby/vendor_ruby/rack/builder.rb:153:in `call'
      /usr/lib/ruby/vendor_ruby/rack/mock.rb:74:in `request'
      /usr/lib/ruby/vendor_ruby/rack/mock.rb:56:in `get'
      /home/lamby/temp/cdt.20151229004309.yCCr83jwAq/ruby-rack-contrib-1.3.0/test/spec_rack_locale.rb:22:in `response_with_languages'
      /home/lamby/temp/cdt.20151229004309.yCCr83jwAq/ruby-rack-contrib-1.3.0/test/spec_rack_locale.rb:31:in `block (2 levels) in <top (required)>'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:108:in `block (3 levels) in run'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:205:in `capture_exceptions'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:105:in `block (2 levels) in run'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:256:in `time_it'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block in run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:334:in `on_signal'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:276:in `with_info_handler'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:781:in `run_one_method'
      /usr/lib/ruby/vendor_ruby/minitest.rb:308:in `run_one_method'
      /usr/lib/ruby/vendor_ruby/minitest.rb:296:in `block (2 levels) in run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:295:in `each'
      /usr/lib/ruby/vendor_ruby/minitest.rb:295:in `block in run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:334:in `on_signal'
      /usr/lib/ruby/vendor_ruby/minitest.rb:321:in `with_info_handler'
      /usr/lib/ruby/vendor_ruby/minitest.rb:294:in `run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:155:in `block in __run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:155:in `map'
      /usr/lib/ruby/vendor_ruby/minitest.rb:155:in `__run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:129:in `run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:56:in `block in autorun'
  
  174 runs, 465 assertions, 0 failures, 1 errors, 0 skips
  rake aborted!
  Command failed with status (1): [ruby -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/spec_rack_accept_format.rb" "test/spec_rack_access.rb" "test/spec_rack_backstage.rb" "test/spec_rack_callbacks.rb" "test/spec_rack_common_cookies.rb" "test/spec_rack_config.rb" "test/spec_rack_contrib.rb" "test/spec_rack_cookies.rb" "test/spec_rack_csshttprequest.rb" "test/spec_rack_deflect.rb" "test/spec_rack_enforce_valid_encoding.rb" "test/spec_rack_evil.rb" "test/spec_rack_expectation_cascade.rb" "test/spec_rack_garbagecollector.rb" "test/spec_rack_host_meta.rb" "test/spec_rack_jsonp.rb" "test/spec_rack_lighttpd_script_name_fix.rb" "test/spec_rack_locale.rb" "test/spec_rack_mailexceptions.rb" "test/spec_rack_nested_params.rb" "test/spec_rack_not_found.rb" "test/spec_rack_post_body_content_type_parser.rb" "test/spec_rack_proctitle.rb" "test/spec_rack_profiler.rb" "test/spec_rack_relative_redirect.rb" "test/spec_rack_response_cache.rb" "test/spec_rack_response_headers.rb" "test/spec_rack_runtime.rb" "test/spec_rack_sendfile.rb" "test/spec_rack_simple_endpoint.rb" "test/spec_rack_static_cache.rb" "test/spec_rack_try_static.rb" -v]
  /usr/bin/rake2.2:33:in `<main>'
  Tasks: TOP => default
  (See full trace by running task with --trace)
  ERROR: Test "ruby2.2" failed. Exiting.
  dh_auto_install: dh_ruby --install /home/lamby/temp/cdt.20151229004309.yCCr83jwAq/ruby-rack-contrib-1.3.0/debian/ruby-rack-contrib returned exit code 1
  debian/rules:6: recipe for target 'binary' failed
  make: *** [binary] Error 1

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-rack-contrib.1.3.0-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5928 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20151228/1ce3cfbd/attachment.obj>


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