[DRE-maint] Bug#839410: ruby-enumerize: FTBFS: ERROR: Test "ruby2.3" failed: Invalid gemspec in [enumerize.gemspec]: No such file or directory - git

Lucas Nussbaum lucas at debian.org
Sat Oct 1 14:18:22 UTC 2016


Source: ruby-enumerize
Version: 1.1.1-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 [enumerize.gemspec]: No such file or directory - git
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Install files                                                                │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> install -d /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/module_attributes.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/module_attributes.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/attribute_map.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/attribute_map.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/set.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/set.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/mongoid.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/mongoid.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/predicates.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/predicates.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/attribute.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/attribute.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/predicatable.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/predicatable.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/integrations/rspec/matcher.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/integrations/rspec/matcher.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/integrations/rspec.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/integrations/rspec.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/integrations/rails_admin.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/integrations/rails_admin.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/base.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/base.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/module.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/module.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/hooks/formtastic.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/hooks/formtastic.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/hooks/simple_form.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/hooks/simple_form.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/hooks/uniqueness.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/hooks/uniqueness.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/hooks/sequel_dataset.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/hooks/sequel_dataset.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/version.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/version.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/value.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/value.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/sequel.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/sequel.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/scope/mongoid.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/scope/mongoid.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/scope/sequel.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/scope/sequel.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/scope/activerecord.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/scope/activerecord.rb
> install -D -m644 /<<PKGBUILDDIR>>/lib/enumerize/activerecord.rb /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby/enumerize/activerecord.rb
> dh_installchangelogs -pruby-enumerize /<<PKGBUILDDIR>>/CHANGELOG.md upstream
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Install Rubygems integration metadata                                        │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> generating gemspec at /<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/share/rubygems-integration/all/specifications/enumerize-1.1.1.gemspec
> /usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby2.3 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-enumerize/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-enumerize/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 -I"lib:test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/activerecord_test.rb" "test/attribute_map_test.rb" "test/attribute_test.rb" "test/base_test.rb" "test/module_attributes_test.rb" "test/mongo_mapper_test.rb" "test/mongoid_test.rb" "test/multiple_test.rb" "test/predicates_test.rb" "test/rails_admin_test.rb" "test/sequel_test.rb" "test/set_test.rb" "test/value_test.rb" 
> /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>>/test/test_helper.rb:24: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>>/test/activerecord_test.rb:1: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 /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:15:in `block in <main>'
> 	from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:4:in `select'
> 	from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:4:in `<main>'
> rake aborted!
> Command failed with status (1): [ruby -I"lib:test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/activerecord_test.rb" "test/attribute_map_test.rb" "test/attribute_test.rb" "test/base_test.rb" "test/module_attributes_test.rb" "test/mongo_mapper_test.rb" "test/mongoid_test.rb" "test/multiple_test.rb" "test/predicates_test.rb" "test/rails_admin_test.rb" "test/sequel_test.rb" "test/set_test.rb" "test/value_test.rb" ]
> 
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> 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-enumerize_1.1.1-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