[DRE-maint] Bug#918622: ruby-leaflet-rails FTBFS with rails 5.2

Adrian Bunk bunk at debian.org
Mon Jan 7 19:45:31 GMT 2019


Source: ruby-leaflet-rails
Version: 0.7.7-1
Severity: serious
Tags: ftbfs buster sid
Control: close -1 1.3.1-1

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-leaflet-rails.html

...
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=debian/ruby-leaflet-rails/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation
config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:

  * development - set it to false
  * test - set it to false (unless you use a tool that preloads your test environment)
  * production - set it to true


An error occurred while loading ./spec/view_helpers_spec.rb.
Failure/Error: app.config.assets.precompile += %w(layers-2x.png layers.png marker-icon-2x.png marker-icon.png marker-shadow.png)

NoMethodError:
  undefined method `assets' for #<Rails::Application::Configuration:0x000056542a930998>
  Did you mean?  asset_host
# ./lib/leaflet-rails.rb:13:in `block in <class:Engine>'
# ./spec/spec_helper.rb:31:in `<top (required)>'
# ./spec/view_helpers_spec.rb:1:in `<top (required)>'
No examples found.

Finished in 0.00066 seconds (files took 2.7 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-leaflet-rails-0.7.7/debian/ruby-leaflet-rails returned exit code 1
make: *** [debian/rules:7: binary] Error 1



This is fixed in the package in experimental.


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