Package: src:guile-ssh
Version: 0.18.0-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202603/

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 cannot 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:guile-ssh, so that this is still
visible in the BTS web page for this package.

Note: This started to happen with libssh-dev version 0.12.0-1, which
also broke several other packages (see Bug #1130972), but I'm
reporting it against guile-ssh because it's neither a configure error
or a linking error (in other words, I believe this one is likely
to be a real bug in guile-ssh, but of course I could be wrong).

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -rf debian/build/ doc/guile-ssh.info doc/stamp-vti doc/version.texi
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext

[... snipped ...]

* PASS: session-get, invalid option
* PASS: session-parse-config!
* PASS: session-parse-config!, non-session object
* PASS: session-parse-config!, wrong config file
* PASS: make-session
* PASS: make-session, '#:config' and '#:host' is specified
* PASS: make-session, '#:config' set to '/dev/null'
* FAIL: make-session, '#:config' as a boolean value: #f
source-file: tests/session.scm
source-line: 230
source-form: (test-assert
              "make-session, '#:config' as a boolean value: #f"
              (make-session #:host "localhost" #:config #f))
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #<&compound-exception components: (#<&error> #<&origin origin: 
"session-set!"> #<&message message: "No such option"> #<&irritants irritants: 
process-config?> #<&exception-with-kind-and-args kind: guile-ssh-error args: 
("session-set!" "No such option" process-config? #f)>)>
* PASS: make-session, '#:config' as a boolean value: #t
* PASS: make-session, only '#:config' is specified
* PASS: make-session: keywords must overwrite config options
* PASS: blocking-flush!
* PASS: connected?, non-session object
* PASS: connected?, check that we are not connected
*** Leaving test group: session ***
*** Test suite finished. ***
*** # of expected passes    : 23
*** # of unexpected failures: 3
FAIL session.scm (exit status: 1)

FAIL: key
=========

*** Entering test group: key ***
* PASS: public-key-from-file: RSA
* SKIP: public-key-from-file: DSA
source-file: tests/key.scm
source-line: 51
source-form: (test-assert
              "public-key-from-file: DSA"
              (begin
                (setup-test-logging! "public-key-from-file: DSA")
                (set-log-userdata! "public-key-from-file: DSA")
                (public-key-from-file %dsakey-pub)))
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* PASS: public-key-from-file: ECDSA
* PASS: private-key-from-file: RSA
* SKIP: private-key-from-file: DSA
source-file: tests/key.scm
source-line: 64
source-form: (test-assert
              "private-key-from-file: DSA"
              (private-key-from-file %dsakey))
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* PASS: private-key-from-file: ECDSA
* PASS: key?: not a key
* PASS: key?: RSA
* SKIP: key?: DSA
source-file: tests/key.scm
source-line: 87
source-form: (test-assert
              "key?: DSA"
              (key? (private-key-from-file %dsakey)))
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* PASS: key?: ECDSA
* PASS: key?: RSA (public)
* SKIP: key?: DSA (public)
source-file: tests/key.scm
source-line: 100
source-form: (test-assert
              "key?: DSA (public)"
              (key? *dsa-pub-key*))
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* PASS: key?: ECDSA (public)
* PASS: private-key?: RSA
* PASS: private-key?: RSA (public)
* PASS: private-key?: not a key
* PASS: public-key?: RSA (public)
* PASS: public-key?: RSA
* PASS: public-key?: not a key
* PASS: private-key->public-key: RSA
* SKIP: private-key->public-key: DSA
source-file: tests/key.scm
source-line: 134
source-form: (test-assert
              "private-key->public-key: DSA"
              (begin
                (setup-test-logging!
                 "private-key->public-key: DSA")
                (set-log-userdata! "private-key->public-key: DSA")
                (private-key->public-key
                 (private-key-from-file %dsakey))))
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* PASS: private-key->public-key: ECDSA
* PASS: get-key-type: RSA
* SKIP: get-key-type: DSA
source-file: tests/key.scm
source-line: 148
source-form: (test-assert
              "get-key-type: DSA"
              (begin
                (setup-test-logging! "get-key-type: DSA")
                (set-log-userdata! "get-key-type: DSA")
                (equal?
                 (eq? 'rsa
                      (get-key-type
                       (private-key-from-file %dsakey))))))
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* FAIL: get-key-type: ECDSA
source-file: tests/key.scm
source-line: 153
source-form: (test-assert
              "get-key-type: ECDSA"
              (begin
                (setup-test-logging! "get-key-type: ECDSA")
                (set-log-userdata! "get-key-type: ECDSA")
                (let ((key (private-key-from-file %ecdsakey)))
                  (or (eq? 'ecdsa-p256 (get-key-type key))
                      (eq? 'ecdsa (get-key-type key))))))
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* PASS: private-key-to-file
* PASS: public-key->string, RSA
* SKIP: public-key->string, DSA
source-file: tests/key.scm
source-line: 187
source-form: (test-equal
              "public-key->string, DSA"
              (public-key->string *dsa-pub-key*)
              %dsakey-pub-string)
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* PASS: public-key->string, ECDSA
* PASS: string->public-key, RSA
* SKIP: string->public-key, DSA
source-file: tests/key.scm
source-line: 203
source-form: (test-equal
              "string->public-key, DSA"
              (public-key->string
               (string->public-key %dsakey-pub-string 'dss))
              %dsakey-pub-string)
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* FAIL: string->public-key, ECDSA
source-file: tests/key.scm
source-line: 209
source-form: (test-equal
              "string->public-key, ECDSA"
              (if (>= (string->number
                       (cadr (string-split
                              (get-libssh-version)
                              #\.)))
                      9)
                  (public-key->string
                   (string->public-key
                    %ecdsakey-pub-string
                    'ecdsa-p256))
                  (public-key->string
                   (string->public-key
                    %ecdsakey-pub-string
                    'ecdsa)))
              %ecdsakey-pub-string)
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #<&compound-exception components: (#<&error> #<&origin origin: 
"string->public-key"> #<&message message: "Wrong key type"> #<&irritants 
irritants: ecdsa-p256> #<&exception-with-kind-and-args kind: guile-ssh-error 
args: ("string->public-key" "Wrong key type" ecdsa-p256 #f)>)>
* PASS: string->public-key, RSA, gc test
* PASS: make-keypair: RSA
* SKIP: make-keypair: DSS
source-file: tests/key.scm
source-line: 233
source-form: (test-assert
              "make-keypair: DSS"
              (begin
                (setup-test-logging! "make-keypair: DSS")
                (set-log-userdata! "make-keypair: DSS")
                (let ((key (make-keypair 'dss 1024)))
                  (and (key? key) (eq? (get-key-type key) 'dss)))))
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* FAIL: make-keypair: ECDSA
source-file: tests/key.scm
source-line: 240
source-form: (test-assert
              "make-keypair: ECDSA"
              (begin
                (setup-test-logging! "make-keypair: ECDSA")
                (set-log-userdata! "make-keypair: ECDSA")
                (let ((key (make-keypair 'ecdsa 256)))
                  (and (key? key)
                       (or (eq? (get-key-type key) 'ecdsa)
                           (eq? (get-key-type key) 'ecdsa-p256))))))
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* PASS: encrypted key: RSA
* PASS: encrypted key: RSA: access denied
* SKIP: encrypted key: DSS
source-file: tests/key.scm
source-line: 278
source-form: (test-assert
              "encrypted key: DSS"
              (begin
                (setup-test-logging! "encrypted key: DSS")
                (set-log-userdata! "encrypted key: DSS")
                (private-key-from-file
                 %dsakey-encrypted
                 #:auth-callback
                 (lambda (prompt max-len echo? verify? userdata)
                   "123"))))
expected-value: #f
expected-error: #f
actual-value: #f
actual-error: #f
* PASS: encrypted key: ECDSA
*** Leaving test group: key ***
*** Test suite finished. ***
*** # of expected passes    : 27
*** # of unexpected failures: 3
*** # of skips              : 10
FAIL key.scm (exit status: 1)

============================================================================
Testsuite summary for Guile-SSH 0.18.0
============================================================================
# TOTAL: 12
# PASS:  10
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log for debugging.
Some test(s) failed.  Please report this to [email protected],
together with the test-suite.log file (gzipped) and your system
information.  Thanks.
============================================================================
make[5]: *** [Makefile:694: test-suite.log] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/guile-3.0/tests'
make[4]: *** [Makefile:829: check-TESTS] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/guile-3.0/tests'
make[3]: *** [Makefile:894: check-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/guile-3.0/tests'
make[2]: *** [Makefile:437: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/guile-3.0'
dh_auto_test: error: cd debian/build/guile-3.0 && make -j1 check 
TESTSUITEFLAGS="-j1 --verbose" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:7: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to