Source: libssh2
Version: 1.11.0-6
Severity: serious
Tags: ftbfs

OpenSSH 9.8 disabled DSA by default at compile time
(https://www.openssh.com/releasenotes.html#9.8p1).  As a result, libssh2
now fails to build with test failures, as follows:

  make[6]: Entering directory '/<<PKGBUILDDIR>>/tests'
  PASS: test_simple
  PASS: mansyntax.sh
  FAIL: test_sshd.test 1 - sshd-test_ssh2
  FAIL: test_sshd.test 2 - sshd-test_auth_pubkey_ok_ed25519
  ERROR: test_sshd.test - exited with status 1
  =====================================
     libssh2 -: tests/test-suite.log
  =====================================
  
  # TOTAL: 5
  # PASS:  2
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  2
  # XPASS: 0
  # ERROR: 1
  
  .. contents:: :depth: 2
  
  ERROR: test_sshd
  ================
  
  /<<PKGBUILDDIR>>/tests/openssh_server/sshd_config line 2: Bad key types 
'+ssh-rsa,ssh-dss,ssh-rsa-cert-...@openssh.com'.
  
  Connection to 127.0.0.1:4711 attempt #0 failed: retrying...
  Connection to 127.0.0.1:4711 attempt #1 failed: retrying...
  Connection to 127.0.0.1:4711 attempt #2 failed: retrying...
  Failure establishing SSH session: -43
  Fingerprint: ./test_sshd.test: line 131: 2387220 Segmentation fault      
"${test}"
  Connection to 127.0.0.1:4711 attempt #0 failed: retrying...
  Connection to 127.0.0.1:4711 attempt #1 failed: retrying...
  Connection to 127.0.0.1:4711 attempt #2 failed: retrying...
  Failed to connect to 127.0.0.1:4711
  ./test_sshd.test: line 1: kill: (2387095) - No such process
  # sshd executable: '/usr/sbin/sshd' (OpenSSH_9.8p1 Debian)
  # ssh executable: '/usr/bin/ssh' (OpenSSH_9.8p1 Debian-1, OpenSSL 3.2.2 4 Jun 
2024)
  # waiting for sshd...
  # waiting for sshd...
  # waiting for sshd...
  # waiting for sshd...
  # waiting for sshd...
  # waiting for sshd...
  # waiting for sshd...
  # waiting for sshd...
  1..2
  not ok 1 - sshd-test_ssh2
  FAIL: test_sshd.test 1 - sshd-test_ssh2
  not ok 2 - sshd-test_auth_pubkey_ok_ed25519
  FAIL: test_sshd.test 2 - sshd-test_auth_pubkey_ok_ed25519
  ERROR: test_sshd.test - exited with status 1
  
  ============================================================================
  Testsuite summary for libssh2 -
  ============================================================================
  # TOTAL: 5
  # PASS:  2
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  2
  # XPASS: 0
  # ERROR: 1
  ============================================================================
  See tests/test-suite.log
  Please report to libssh2-de...@lists.haxx.se
  ============================================================================
  make[6]: *** [Makefile:1241: test-suite.log] Error 1

https://github.com/libssh2/libssh2/commit/b7ab0faa70567a789419798fe079f5678ad4e156
seems to have been upstream's approach to this, so I suggest
cherry-picking that.

Thanks,

-- 
Colin Watson (he/him)                              [cjwat...@debian.org]

Reply via email to