[DRE-maint] Bug#1004654: ruby-rack-mount: FTBFS with ruby-rack 2.2.3 "http://josh.backpackit.com/host">(UTF-8) expected but was <"http://example.org/host">(ASCII-8BIT)

Pirate Praveen praveen at onenetbeyond.org
Mon Jan 31 09:24:13 GMT 2022


Package: ruby-rack-mount
Version: 0.8.3-3
Severity: serious

ruby-rack-mount now ftbfs and fails autopkgtest with ruby-rack 2.2.3

  test_generate_host: F
===============================================================================
Failure: test_generate_host(TestGeneration)
/<<PKGBUILDDIR>>/test/test_generation.rb:74:in `test_generate_host'
     71: assert_equal ['josh.backpackit.com', {}], @app.generate(:host, 
:controller => 'account', :account => 'josh')
     72: assert_equal [{:host => 'josh.backpackit.com', :path_info => 
'/host'}, {}], @app.generate(:all, :controller => 'account', :account 
=> 'josh')
     73: assert_equal [{:request_method => 'GET', :path_info => 
'/login'}, {}], @app.generate(:all, :login)
  => 74: assert_equal 'http://josh.backpackit.com/host', @app.url(@env, 
:controller => 'account', :account => 'josh')
     75: end
     76:
     77: def test_generate_full_url
<"http://josh.backpackit.com/host">(UTF-8) expected but was
<"http://example.org/host">(ASCII-8BIT)

diff:
? http://j osh.backpackit.com/host
? example. rg

? Encoding: UTF -8
? ASCII BIT
===============================================================================
: (0.007321)

full log 
https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-rack-mount/18822994/log.gz 
(same error in clean build too)

This is now a leaf package, the package that build dependended on it no 
longer use it and it is not maintained upstream.

I think we can safely request its removal if no one wants to fix this 
bug
https://lists.debian.org/debian-ruby/2022/01/msg00019.html



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