[DRE-maint] Bug#1026187: ruby-globalid: FTBFS in bookworm (missing build-depends on tzdata)

Santiago Vila sanvila at debian.org
Fri Dec 16 00:48:07 GMT 2022


Package: src:ruby-globalid
Version: 0.6.0-1
Severity: serious
Tags: bookworm ftbfs patch

Dear maintainer:

During a rebuild of all packages in bookworm, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary-indep
dh binary-indep --buildsystem=ruby --with ruby
    dh_update_autotools_config -i -O--buildsystem=ruby
    dh_autoreconf -i -O--buildsystem=ruby
    dh_auto_configure -i -O--buildsystem=ruby
	dh_ruby --configure
    dh_auto_build -i -O--buildsystem=ruby
	dh_ruby --build
    dh_auto_test -i -O--buildsystem=ruby
	dh_ruby --test
    create-stamp debian/debhelper-build-stamp
    dh_testroot -i -O--buildsystem=ruby
    dh_prep -i -O--buildsystem=ruby
    dh_auto_install --destdir=debian/ruby-globalid/ -i -O--buildsystem=ruby

[... snipped ...]

Error:
RailtieTest#test_GlobalID.app_for_Blog::Application_defaults_to_blog:
TZInfo::DataSourceNotFound: tzinfo-data is not present. Please add gem 'tzinfo-data' to your Gemfile and run bundle install
     test/cases/railtie_test.rb:22:in `block in <class:RailtieTest>'

rails test test/cases/railtie_test.rb:21

E

Error:
RailtieTest#test_SignedGlobalID.verifier_defaults_to_Blog::Application.message_verifier(:signed_global_ids)_when_secret_key_base_is_present:
TZInfo::DataSourceNotFound: tzinfo-data is not present. Please add gem 'tzinfo-data' to your Gemfile and run bundle install
     test/cases/railtie_test.rb:62:in `block in <class:RailtieTest>'

rails test test/cases/railtie_test.rb:61

E

Error:
RailtieTest#test_SignedGlobalID.verifier_can_be_set_with_config.global_id.verifier_=:
TZInfo::DataSourceNotFound: tzinfo-data is not present. Please add gem 'tzinfo-data' to your Gemfile and run bundle install
     test/cases/railtie_test.rb:82:in `block in <class:RailtieTest>'

rails test test/cases/railtie_test.rb:80



Finished in 0.585726s, 230.4834 runs/s, 402.9191 assertions/s.
135 runs, 236 assertions, 0 failures, 8 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" /usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/cases/global_id_test.rb" "test/cases/global_identification_test.rb" "test/cases/global_locator_test.rb" "test/cases/railtie_test.rb" "test/cases/signed_global_id_test.rb" "test/cases/uri_gid_test.rb" "test/cases/verifier_test.rb" ]
/usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Tasks: TOP => default => test
(See full trace by running task with --trace)
mv ./.gem2deb.Gemfile.lock Gemfile.lock
ERROR: Test "ruby3.0" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-globalid returned exit code 1
make: *** [debian/rules:7: binary-indep] Error 25
dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

Note: I'm using the "patch" tag because there is an obvious fix
(indicated in the subject).

About the archive rebuild: The build was made using virtual machines
from Hetzner, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages (plus
debhelper).

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



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