Package: src:redmine
Version: 5.0.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 --with ruby
   dh_update_autotools_config -i
   dh_autoreconf -i
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./debian/check-locales
bundle --local --quiet
`/sbuild-nonexistent` is not a directory.
Bundler will use `/tmp/bundler20220525-2469344-bbkpvo2469344' as your home 
directory temporarily.
rm -f Gemfile.lock
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'

[... snipped ...]

/usr/share/rubygems-integration/all/gems/railties-6.1.4.6/lib/rails/initializable.rb:60:in
 `run_initializers'
/usr/share/rubygems-integration/all/gems/railties-6.1.4.6/lib/rails/application.rb:391:in
 `initialize!'
/<<PKGBUILDDIR>>/config/environment.rb:16:in `<top (required)>'
/usr/share/rubygems-integration/all/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in
 `require'
/usr/share/rubygems-integration/all/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in
 `require'
/usr/share/rubygems-integration/all/gems/activesupport-6.1.4.6/lib/active_support/dependencies.rb:332:in
 `block in require'
/usr/share/rubygems-integration/all/gems/activesupport-6.1.4.6/lib/active_support/dependencies.rb:299:in
 `load_dependency'
/usr/share/rubygems-integration/all/gems/activesupport-6.1.4.6/lib/active_support/dependencies.rb:332:in
 `require'
/usr/share/rubygems-integration/all/gems/railties-6.1.4.6/lib/rails/application.rb:367:in
 `require_environment!'
/usr/share/rubygems-integration/all/gems/railties-6.1.4.6/lib/rails/application.rb:533:in
 `block in run_tasks_blocks'

Caused by:
TZInfo::DataSources::ZoneinfoDirectoryNotFound: None of the paths included in 
TZInfo::DataSources::ZoneinfoDataSource.search_path are valid zoneinfo 
directories.
/usr/share/rubygems-integration/all/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/zoneinfo_data_source.rb:232:in
 `initialize'
/usr/share/rubygems-integration/all/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:157:in
 `new'
/usr/share/rubygems-integration/all/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:157:in
 `create_default_data_source'
/usr/share/rubygems-integration/all/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:55:in
 `block in get'
/usr/share/rubygems-integration/all/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:54:in
 `synchronize'
/usr/share/rubygems-integration/all/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:54:in
 `get'
/usr/share/rubygems-integration/all/gems/activesupport-6.1.4.6/lib/active_support/railtie.rb:50:in
 `block in <class:Railtie>'
/usr/share/rubygems-integration/all/gems/railties-6.1.4.6/lib/rails/initializable.rb:32:in
 `instance_exec'
/usr/share/rubygems-integration/all/gems/railties-6.1.4.6/lib/rails/initializable.rb:32:in
 `run'
/usr/share/rubygems-integration/all/gems/railties-6.1.4.6/lib/rails/initializable.rb:61:in
 `block in run_initializers'
/usr/share/rubygems-integration/all/gems/railties-6.1.4.6/lib/rails/initializable.rb:60:in
 `run_initializers'
/usr/share/rubygems-integration/all/gems/railties-6.1.4.6/lib/rails/application.rb:391:in
 `initialize!'
/<<PKGBUILDDIR>>/config/environment.rb:16:in `<top (required)>'
/usr/share/rubygems-integration/all/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in
 `require'
/usr/share/rubygems-integration/all/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in
 `require'
/usr/share/rubygems-integration/all/gems/activesupport-6.1.4.6/lib/active_support/dependencies.rb:332:in
 `block in require'
/usr/share/rubygems-integration/all/gems/activesupport-6.1.4.6/lib/active_support/dependencies.rb:299:in
 `load_dependency'
/usr/share/rubygems-integration/all/gems/activesupport-6.1.4.6/lib/active_support/dependencies.rb:332:in
 `require'
/usr/share/rubygems-integration/all/gems/railties-6.1.4.6/lib/rails/application.rb:367:in
 `require_environment!'
/usr/share/rubygems-integration/all/gems/railties-6.1.4.6/lib/rails/application.rb:533:in
 `block in run_tasks_blocks'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary-indep] Error 2
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 1: I'm using the "patch" tag because there is an obvious fix
(indicated in the subject).

Note 2: This bug is currently "hidden" by #1022340, which makes the build to 
fail for
another reason. After fixing #1022340, this package will ftbfs again if built in
a chroot with only build-essential and build-dependencies installed.


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.

Reply via email to