Package: src:ruby-webpacker
Version: 5.4.3-2
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-webpacker/ -i -O--buildsystem=ruby

[... snipped ...]

        from 
/usr/share/rubygems-integration/all/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:55:in
 `block in get'
        from 
/usr/share/rubygems-integration/all/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:54:in
 `synchronize'
        from 
/usr/share/rubygems-integration/all/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:54:in
 `get'
        from 
/usr/share/rubygems-integration/all/gems/activesupport-6.1.7/lib/active_support/railtie.rb:50:in
 `block in <class:Railtie>'
        from 
/usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:32:in
 `instance_exec'
        from 
/usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:32:in
 `run'
        from 
/usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:61:in
 `block in run_initializers'
        from /usr/lib/ruby/3.0.0/tsort.rb:228:in `block in tsort_each'
        from /usr/lib/ruby/3.0.0/tsort.rb:350:in `block (2 levels) in 
each_strongly_connected_component'
        from /usr/lib/ruby/3.0.0/tsort.rb:431:in 
`each_strongly_connected_component_from'
        from /usr/lib/ruby/3.0.0/tsort.rb:349:in `block in 
each_strongly_connected_component'
        from /usr/lib/ruby/3.0.0/tsort.rb:347:in `each'
        from /usr/lib/ruby/3.0.0/tsort.rb:347:in `call'
        from /usr/lib/ruby/3.0.0/tsort.rb:347:in 
`each_strongly_connected_component'
        from /usr/lib/ruby/3.0.0/tsort.rb:226:in `tsort_each'
        from /usr/lib/ruby/3.0.0/tsort.rb:205:in `tsort_each'
        from 
/usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:60:in
 `run_initializers'
        from 
/usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/application.rb:391:in
 `initialize!'
        from /<<PKGBUILDDIR>>/test/test_app/config/environment.rb:4:in `<top 
(required)>'
        from /<<PKGBUILDDIR>>/test/test_helper.rb:7:in `require_relative'
        from /<<PKGBUILDDIR>>/test/test_helper.rb:7:in `<top (required)>'
        from 
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in 
`require'
        from 
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in 
`require'
        from /<<PKGBUILDDIR>>/test/command_test.rb:1:in `<top (required)>'
        from 
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in 
`require'
        from 
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in 
`require'
        from 
/usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in
 `block in <main>'
        from 
/usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in
 `select'
        from 
/usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in
 `<main>'
rake aborted!
Command failed with status (1): [ruby -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/command_test.rb" 
"test/compiler_test.rb" "test/configuration_test.rb" "test/dev_server_test.rb" "test/env_test.rb" "test/helper_test.rb" 
"test/manifest_test.rb" "test/rake_tasks_test.rb" "test/webpacker_test.rb"  -v]
/usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `<top 
(required)>'
Tasks: TOP => default
(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-webpacker returned exit code 1
make: *** [debian/rules:8: 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.

Reply via email to