Your message dated Sat, 5 Apr 2025 17:54:24 +0200
with message-id <z_fsmm4k5ii8x...@grub.nussbaum.fr>
and subject line Re: Bug#1100313: ruby-net-ssh-multi: FTBFS:
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in
`require': cannot load such file -- mocha/setup
has caused the Debian Bug report #1100313,
regarding ruby-net-ssh-multi: FTBFS:
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in
`require': cannot load such file -- mocha/setup
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1100313: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100313
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:ruby-net-ssh-multi
Version: 1.2.1-4
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=ruby --with ruby
dh_auto_clean -O--buildsystem=ruby
dh_ruby --clean
W: XS-Ruby-Versions is deprecated, and will be ignored
dh_autoreconf_clean -O--buildsystem=ruby
dh_clean -O--buildsystem=ruby
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
dh_auto_build -O--buildsystem=ruby
dh_ruby --build
dh_auto_test -O--buildsystem=ruby
dh_ruby --test
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=ruby
dh_prep -O--buildsystem=ruby
dh_auto_install --destdir=debian/ruby-net-ssh-multi/ -O--buildsystem=ruby
dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â ruby-net-ssh-multi: Installing files and building extensions for ruby3.3
â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose
/tmp/d20250312-63994-ax13az/gemspec
WARNING: expected RubyGems version 3.6.3, was 1.8.23
WARNING: description and summary are identical
WARNING: open-ended dependency on net-ssh (>= 2.6.5) is not recommended
if net-ssh is semantically versioned, use:
add_runtime_dependency "net-ssh", "~> 2.6", ">= 2.6.5"
WARNING: open-ended dependency on net-ssh-gateway (>= 1.2.0) is not recommended
if net-ssh-gateway is semantically versioned, use:
add_runtime_dependency "net-ssh-gateway", "~> 1.2", ">= 1.2.0"
WARNING: open-ended dependency on minitest (>= 0, development) is not
recommended
use a bounded requirement, such as "~> x.y"
WARNING: open-ended dependency on mocha (>= 0, development) is not recommended
use a bounded requirement, such as "~> x.y"
WARNING: make sure you specify the oldest ruby version constraint (like ">=
3.0") that you want your gem to support by setting the `required_ruby_version`
gemspec attribute
WARNING: See https://guides.rubygems.org/specification-reference/ for help
Successfully built RubyGem
Name: net-ssh-multi
Version: 1.2.1
File: net-ssh-multi-1.2.1.gem
/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local
--verbose --no-document --ignore-dependencies --install-dir
debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all
/tmp/d20250312-63994-ax13az/net-ssh-multi-1.2.1.gem
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi.rb
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/channel.rb
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/channel_proxy.rb
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/dynamic_server.rb
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/pending_connection.rb
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/server.rb
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/server_list.rb
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/session.rb
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/session_actions.rb
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/subsession.rb
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/version.rb
Successfully installed net-ssh-multi-1.2.1
1 gem installed
cd debian/ruby-net-ssh-multi/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/net-ssh-multi-1.2.1
rm -f
chmod 644 lib/net/ssh/multi/channel.rb lib/net/ssh/multi/channel_proxy.rb
lib/net/ssh/multi/dynamic_server.rb lib/net/ssh/multi/pending_connection.rb
lib/net/ssh/multi/server.rb lib/net/ssh/multi/server_list.rb
lib/net/ssh/multi/session.rb lib/net/ssh/multi/session_actions.rb
lib/net/ssh/multi/subsession.rb lib/net/ssh/multi/version.rb
lib/net/ssh/multi.rb
find lib/ -type d -empty -delete
cd -
cd -
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Checking Rubygems dependency resolution on ruby3.3
â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=.
GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0
ruby3.3 -e gem\ \"net-ssh-multi\"
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Run tests for ruby3.3 from debian/ruby-tests.rake
â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=.
GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0
ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/usr/bin/ruby3.3 -w -I"test"
/usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb
"test/channel_test.rb" "test/multi_test.rb" "test/server_test.rb"
"test/session_actions_test.rb" "test/session_test.rb" "test/test_all.rb" -v
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in
`require': cannot load such file -- mocha/setup (LoadError)
from
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from /<<PKGBUILDDIR>>/test/common.rb:2:in `<top (required)>'
from
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from /<<PKGBUILDDIR>>/test/channel_test.rb:1:in `<top (required)>'
from
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in
`require'
from
/usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:21:in
`block in <main>'
from
/usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in
`select'
from
/usr/share/rubygems-integration/all/gems/rake-13.2.1/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.2.1/lib/rake/rake_test_loader.rb
"test/channel_test.rb" "test/multi_test.rb" "test/server_test.rb"
"test/session_actions_test.rb" "test/session_test.rb" "test/test_all.rb" -v]
/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top
(required)>'
Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby3.3" failed. Exiting.
dh_auto_install: error: dh_ruby --install
/<<PKGBUILDDIR>>/debian/ruby-net-ssh-multi returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
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:ruby-net-ssh-multi, so that this is still
visible in the BTS web page for this package.
Thanks.
--- End Message ---
--- Begin Message ---
Version: 1.2.1-7
This is fixed in 1.2.1-7 (but not properly closed in the changelog)
--- End Message ---