[DRE-maint] Bug#1002118: ruby-heroku-deflater: FTBFS: ERROR: Test "ruby2.7" failed: NoMethodError: undefined method `match?' for #<ActionDispatch::FileHandler:0x00005567d3e291a0>

Lucas Nussbaum lucas at debian.org
Tue Dec 21 15:56:36 GMT 2021


Source: ruby-heroku-deflater
Version: 0.6.3-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
>       NoMethodError:
>         undefined method `match?' for #<ActionDispatch::FileHandler:0x00005567d3e291a0>
>       Shared Example Group: "ServeZippedAssets" called from ./spec/serve_zipped_assets_spec.rb:78
>       # ./lib/heroku-deflater/serve_zipped_assets.rb:31:in `call'
>       # ./spec/serve_zipped_assets_spec.rb:10:in `process'
>       # ./spec/serve_zipped_assets_spec.rb:55:in `block (3 levels) in <top (required)>'
> 
> Finished in 0.01154 seconds (files took 0.28592 seconds to load)
> 24 examples, 12 failures
> 
> Failed examples:
> 
> rspec './spec/serve_zipped_assets_spec.rb[1:1:1:2]' # HerokuDeflater::ServeZippedAssets Rais 4.x behaves like ServeZippedAssets handles the pre-gzipped assets
> rspec './spec/serve_zipped_assets_spec.rb[1:1:1:3]' # HerokuDeflater::ServeZippedAssets Rais 4.x behaves like ServeZippedAssets has correct content type
> rspec './spec/serve_zipped_assets_spec.rb[1:1:1:4]' # HerokuDeflater::ServeZippedAssets Rais 4.x behaves like ServeZippedAssets has correct content encoding
> rspec './spec/serve_zipped_assets_spec.rb[1:1:1:5]' # HerokuDeflater::ServeZippedAssets Rais 4.x behaves like ServeZippedAssets has correct content length
> rspec './spec/serve_zipped_assets_spec.rb[1:1:1:6]' # HerokuDeflater::ServeZippedAssets Rais 4.x behaves like ServeZippedAssets has correct cache control
> rspec './spec/serve_zipped_assets_spec.rb[1:1:1:7]' # HerokuDeflater::ServeZippedAssets Rais 4.x behaves like ServeZippedAssets does not serve non-gzipped assets
> rspec './spec/serve_zipped_assets_spec.rb[1:2:1:2]' # HerokuDeflater::ServeZippedAssets Rais 5.x behaves like ServeZippedAssets handles the pre-gzipped assets
> rspec './spec/serve_zipped_assets_spec.rb[1:2:1:3]' # HerokuDeflater::ServeZippedAssets Rais 5.x behaves like ServeZippedAssets has correct content type
> rspec './spec/serve_zipped_assets_spec.rb[1:2:1:4]' # HerokuDeflater::ServeZippedAssets Rais 5.x behaves like ServeZippedAssets has correct content encoding
> rspec './spec/serve_zipped_assets_spec.rb[1:2:1:5]' # HerokuDeflater::ServeZippedAssets Rais 5.x behaves like ServeZippedAssets has correct content length
> rspec './spec/serve_zipped_assets_spec.rb[1:2:1:6]' # HerokuDeflater::ServeZippedAssets Rais 5.x behaves like ServeZippedAssets has correct cache control
> rspec './spec/serve_zipped_assets_spec.rb[1:2:1:7]' # HerokuDeflater::ServeZippedAssets Rais 5.x behaves like ServeZippedAssets does not serve non-gzipped assets
> 
> /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> mv ./.gem2deb.Gemfile.lock Gemfile.lock
> ERROR: Test "ruby2.7" failed: 


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/ruby-heroku-deflater_0.6.3-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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



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