[DRE-maint] Bug#1104416: FTBFS: Building is stuck at cleanup phase

Chris Hofstaedtler zeha at debian.org
Wed Apr 30 10:18:32 BST 2025


* Gunnar Wolf <gwolf at gwolf.org> [250429 22:00]:
>When building ruby-fugit, the build process seems to run successfully,
>until it reaches the cleanup stage. The last output I get is:
>
>    cd debian/ruby-fugit/usr/share/rubygems-integration/all
>    rm -rf bin
>    rm -rf build_info
>    rm -rf cache
>    rm -rf doc
>    rm -rf extensions
>    rmdir plugins
>    cd gems/fugit-1.11.1
>    rm -f
>    chmod 644 lib/fugit/at.rb lib/fugit/cron.rb lib/fugit/duration.rb lib/fugit/misc.rb lib/fugit/nat.rb lib/fugit/parse.rb lib/fugit.rb
>    find lib/ -type d -empty -delete
>
>The process tree for the build at this stage is as follows:
>
>    S+     0:00      |           |   \_ /usr/bin/python3 /usr/bin/gbp buildpackage -us -uc
>    S+     0:00      |           |       \_ /bin/sh -c debuild -i -I -us -uc
>    S+     0:00      |           |           \_ /usr/bin/perl /usr/bin/debuild -i -I -us -uc
>    S+     0:00      |           |               \_ tee ../ruby-fugit_1.11.1-1_amd64.build
>    S+     0:00      |           |               \_ /usr/bin/perl /usr/bin/dpkg-buildpackage -us -uc -ui -i -I
>    S+     0:00      |           |                   \_ /usr/bin/make -f debian/rules binary
>    S+     0:00      |           |                       \_ /usr/bin/perl /usr/bin/dh binary --buildsystem=ruby --with ruby
>    S+     0:00      |           |                           \_ /usr/bin/perl /usr/bin/dh_auto_install --destdir=debian/ruby-fugit/ -O--buildsystem=ruby
>    Dl+    0:13      |           |                               \_ /usr/bin/ruby -EUTF-8 /usr/bin/dh_ruby --install /home/gwolf/vcs/build-area/ruby-fugit-1.11.1/debian/ruby-fugit
>
>What I find odd is that the call to "dh_ruby --install" is in
>uninterruptible sleep due to I/O; that seems to signal some sort of
>deadlock.

I just tried rebuilding ruby-fugit in sbuild (from testing) on arm64 
and it built fine for me. Total build time incl. autopkgtests
was < 1min30s.

Does this build failure happen reliably for you?

Best,
Chris



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