[DRE-maint] Bug#839412: ruby-leaflet-rails: FTBFS: ERROR: Test "ruby2.3" failed: Invalid gemspec in [leaflet-rails.gemspec]: No such file or directory - git
Lucas Nussbaum
lucas at debian.org
Sat Oct 1 14:18:30 UTC 2016
Source: ruby-leaflet-rails
Version: 0.7.7-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161001 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> Invalid gemspec in [leaflet-rails.gemspec]: No such file or directory - git
> GEM_PATH=debian/ruby-leaflet-rails/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -e gem\ \"leaflet-rails\"
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby2.3 from debian/ruby-tests.rake │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=. GEM_PATH=debian/ruby-leaflet-rails/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -S rake -f debian/ruby-tests.rake
> /usr/bin/ruby2.3 /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
>
> /usr/lib/ruby/vendor_ruby/tzinfo/data_source.rb:182:in `rescue in create_default_data_source': No source of timezone data could be found. (TZInfo::DataSourceNotFound)
> Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
> from /usr/lib/ruby/vendor_ruby/tzinfo/data_source.rb:179:in `create_default_data_source'
> from /usr/lib/ruby/vendor_ruby/tzinfo/data_source.rb:40:in `block in get'
> from /usr/lib/ruby/vendor_ruby/tzinfo/data_source.rb:39:in `synchronize'
> from /usr/lib/ruby/vendor_ruby/tzinfo/data_source.rb:39:in `get'
> from /usr/lib/ruby/vendor_ruby/tzinfo/timezone.rb:629:in `data_source'
> from /usr/lib/ruby/vendor_ruby/tzinfo/timezone.rb:92:in `get'
> from /usr/lib/ruby/vendor_ruby/tzinfo/timezone_proxy.rb:67:in `real_timezone'
> from /usr/lib/ruby/vendor_ruby/tzinfo/timezone_proxy.rb:30:in `period_for_utc'
> from /usr/lib/ruby/vendor_ruby/tzinfo/timezone.rb:549:in `current_period'
> from /usr/lib/ruby/vendor_ruby/active_support/values/time_zone.rb:281:in `utc_offset'
> from /usr/lib/ruby/vendor_ruby/active_support/values/time_zone.rb:243:in `block in []'
> from /usr/lib/ruby/vendor_ruby/active_support/values/time_zone.rb:243:in `tap'
> from /usr/lib/ruby/vendor_ruby/active_support/values/time_zone.rb:243:in `[]'
> from /usr/lib/ruby/vendor_ruby/active_support/core_ext/time/zones.rb:61:in `find_zone!'
> from /usr/lib/ruby/vendor_ruby/active_support/railtie.rb:20:in `block in <class:Railtie>'
> from /usr/lib/ruby/vendor_ruby/rails/initializable.rb:30:in `instance_exec'
> from /usr/lib/ruby/vendor_ruby/rails/initializable.rb:30:in `run'
> from /usr/lib/ruby/vendor_ruby/rails/initializable.rb:55:in `block in run_initializers'
> from /usr/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
> from /usr/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
> from /usr/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
> from /usr/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
> from /usr/lib/ruby/2.3.0/tsort.rb:347:in `each'
> from /usr/lib/ruby/2.3.0/tsort.rb:347:in `call'
> from /usr/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
> from /usr/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
> from /usr/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
> from /usr/lib/ruby/vendor_ruby/rails/initializable.rb:54:in `run_initializers'
> from /usr/lib/ruby/vendor_ruby/rails/application.rb:352:in `initialize!'
> from /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `public_send'
> from /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `method_missing'
> from /<<PKGBUILDDIR>>/spec/spec_helper.rb:31:in `<top (required)>'
> from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> from /<<PKGBUILDDIR>>/spec/view_helpers_spec.rb:1:in `<top (required)>'
> from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1361:in `load'
> from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1361:in `block in load_spec_files'
> from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1359:in `each'
> from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1359:in `load_spec_files'
> from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:106:in `setup'
> from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:92:in `run'
> from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:78:in `run'
> from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
> from /usr/bin/rspec:4:in `<main>'
> /usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby2.3" failed:
If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185
If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.
The full build log is available from:
http://aws-logs.debian.net/2016/10/01/ruby-leaflet-rails_0.7.7-1_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