[DRE-maint] Bug#1004299: ruby-net-ssh: FTBFS in sid

Cédric Boutillier boutil at debian.org
Mon Jan 24 14:35:35 GMT 2022


Package: ruby-net-ssh
Version: 1:6.1.0-2

Hi,

When trying to rebuild ruby-net-ssh in sid, I get test failures related
to DSA cryptography. They all have the message: 
        OpenSSL:PKey::DSAError: bad sig size


Hopefully, this is the relevant part. Full log attached

Finished in 4.013999s, 372.1974 runs/s, 1244.6442 assertions/s.

  1) Error:
Authentication::TestAgent#test_add_dsa_cert_identity:
OpenSSL::PKey::DSAError: bad sig size
    /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
    /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
    /<<PKGBUILDDIR>>/test/authentication/test_agent.rb:414:in `make_cert'
    /<<PKGBUILDDIR>>/test/authentication/test_agent.rb:273:in `test_add_dsa_cert_identity'

  2) Error:
Authentication::TestKeyManager#test_each_identity_should_load_from_implicit_cert_file:
OpenSSL::PKey::DSAError: bad sig size
    /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
    /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
    /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:320:in `rsa_cert'
    /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:76:in `test_each_identity_should_load_from_implicit_cert_file'

  3) Error:
Authentication::TestKeyManager#test_each_identity_should_ignore_explicit_cert_file_unless_matching_key_is_avaiable:
OpenSSL::PKey::DSAError: bad sig size
    /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
    /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
    /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:320:in `rsa_cert'
    /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:104:in `test_each_identity_should_ignore_explicit_cert_file_unless_matching_key_is_avaiable'

  4) Error:
Authentication::TestKeyManager#test_each_identity_should_load_from_explicit_cert_file_given_matching_key_is_loaded:
OpenSSL::PKey::DSAError: bad sig size
    /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
    /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
    /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:320:in `rsa_cert'
    /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:88:in `test_each_identity_should_load_from_explicit_cert_file_given_matching_key_is_loaded'

  5) Error:
Authentication::TestKeyManager#test_each_identity_should_match_explicit_keycert_with_agent_provided_identity:
OpenSSL::PKey::DSAError: bad sig size
    /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
    /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
    /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:320:in `rsa_cert'
    /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:141:in `test_each_identity_should_match_explicit_keycert_with_agent_provided_identity'

  6) Error:
Authentication::TestKeyManager#test_sign_with_agent_originated_key_should_be_signable_through_explicitly_loaded_cert:
OpenSSL::PKey::DSAError: bad sig size
    /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
    /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
    /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:320:in `rsa_cert'
    /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:218:in `test_sign_with_agent_originated_key_should_be_signable_through_explicitly_loaded_cert'

1494 runs, 4996 assertions, 0 failures, 6 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w /usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/test_all.rb" "test/test_buffer.rb" "test/test_buffered_io.rb" "test/test_config.rb" "test/test_key_factory.rb" "test/test_known_hosts.rb" "test/test_proxy_jump.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)
ERROR: Test "ruby3.0" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-net-ssh returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Source: ruby-net-ssh
Version: 1:6.1.0-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-3-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-net-ssh_6.1.0-2_amd64-2022-01-24T13:24:15Z.build.gz
Type: application/gzip
Size: 41851 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20220124/819c8f45/attachment-0001.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20220124/819c8f45/attachment-0001.sig>


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