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

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


Source: ruby-openid-connect
Version: 0.12.0-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 [openid_connect.gemspec]: No such file or directory - git
> GEM_PATH=debian/ruby-openid-connect/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\ \"openid_connect\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby2.3 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=. GEM_PATH=debian/ruby-openid-connect/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
> /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:130:in `all_identifiers'
> 	from /usr/lib/ruby/vendor_ruby/tzinfo/timezone.rb:124:in `all'
> 	from /<<PKGBUILDDIR>>/lib/openid_connect/response_object/user_info.rb:30:in `<class:UserInfo>'
> 	from /<<PKGBUILDDIR>>/lib/openid_connect/response_object/user_info.rb:3:in `<class:ResponseObject>'
> 	from /<<PKGBUILDDIR>>/lib/openid_connect/response_object/user_info.rb:2:in `<module:OpenIDConnect>'
> 	from /<<PKGBUILDDIR>>/lib/openid_connect/response_object/user_info.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 /<<PKGBUILDDIR>>/lib/openid_connect/response_object.rb:7:in `block in <top (required)>'
> 	from /<<PKGBUILDDIR>>/lib/openid_connect/response_object.rb:6:in `each'
> 	from /<<PKGBUILDDIR>>/lib/openid_connect/response_object.rb:6: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>>/lib/openid_connect/connect_object.rb:52: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>>/lib/openid_connect.rb:85: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/spec_helper.rb:9: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/openid_connect/access_token_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-openid-connect_0.12.0-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