[DRE-maint] Bug#1116891: rails: FTBFS with the nocheck build profile
Santiago Vila
sanvila at debian.org
Tue Sep 30 15:54:30 BST 2025
Package: src:rails
Version: 2:7.2.2.2+dfsg-1
Severity: important
Tags: forky sid ftbfs
User: debian-qa at lists.debian.org
Usertags: ftbfs-nocheck-profile
Dear maintainer:
During a rebuild of all packages in unstable using the nocheck build profile,
your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:
https://wiki.debian.org/qa.debian.org/FTBFS/Nocheck
(It's a wiki, so you are welcome to contribute)
[ Note: This is RC, but I will wait at least two weeks before raising
the severities, there are a lot of gcc-15 and CMake 4 bugs open now ].
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
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 add an affects on src:rails, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=ruby --with ruby
dh_auto_clean -O--buildsystem=ruby
dh_ruby --clean
dh_autoreconf_clean -O--buildsystem=ruby
debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean -X~ -X.bak
rm -f -r railties/guides/output
# kill redis server for tests, don't fail if not started
debian/stop-redis-server.sh || true
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules binary
dh binary --buildsystem=ruby --with ruby
dh_update_autotools_config -O--buildsystem=ruby
dh_autoreconf -O--buildsystem=ruby
dh_auto_configure -O--buildsystem=ruby
dh_ruby --configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
racc -o actionpack/lib/action_dispatch/journey/parser.rb \
actionpack/lib/action_dispatch/journey/parser.y
#cd activestorage && rollup -c && cd -
#cd actionview && coffee -c -t app/assets/javascripts/rails-ujs.coffee && \
#mv app/assets/javascripts/rails-ujs.coffee . && blade build && \
#mv rails-ujs.coffee app/assets/javascripts # && \
#rm -f app/assets/javascripts/rails-ujs.js && cd -
cd actioncable && rake -Ilib assets:codegen && cd -
rake aborted!
LoadError: cannot load such file -- zeitwerk (LoadError)
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
/<<PKGBUILDDIR>>/actioncable/lib/action_cable.rb:28:in `<top (required)>'
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
/<<PKGBUILDDIR>>/actioncable/Rakefile:7:in `<top (required)>'
/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-ruby-extras-maintainers
mailing list