all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* libssh upgraded; guile-ssh fails its tests
@ 2014-04-02 17:06 Mark H Weaver
  2014-04-04 15:51 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Mark H Weaver @ 2014-04-02 17:06 UTC (permalink / raw)
  To: guix-devel

FYI, I upgraded libssh to the latest version in master, to fix a
security flaw.  Since then, I tried building guile-ssh for the first
time.  It fails its test suite.  I guess this may have been caused by
the libssh upgrade.  I don't have time to look into it right now, but I
don't think we should consider using an old version of libssh to fix
this problem.

      Mark

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: libssh upgraded; guile-ssh fails its tests
  2014-04-02 17:06 libssh upgraded; guile-ssh fails its tests Mark H Weaver
@ 2014-04-04 15:51 ` Ludovic Courtès
  2014-04-04 16:30   ` Artyom Poptsov
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2014-04-04 15:51 UTC (permalink / raw)
  To: Artyom Poptsov; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

Hello Artyom,

Upgrading libssh from 0.5.5 to 0.6.3 turned out to break Guile-SSH
0.6.0.  I attach some of the test logs.  Any idea what’s going on?

TIA,
Ludo’.


[-- Attachment #2: test-suite.log --]
[-- Type: text/plain, Size: 18701 bytes --]

===========================================
   Guile-SSH 0.6.0: tests/test-suite.log
===========================================

# TOTAL: 5
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: client-server
===================

;;; note: source file ../srfi/srfi-64.scm
;;;       newer than compiled /gnu/store/725n5w5vcpd9ihzr27vn7c731hx2ky0j-guile-2.0.11/lib/guile/2.0/ccache/srfi/srfi-64.go
In ice-9/bootTest end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "get-protocol-version"
Test end:
 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/evaTest end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-none!, success"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-none!, denied"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-none!, partial"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-password!, success"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-password!, denied"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-password!, partial"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-pubkey!, success"
Test end:
  result-kind: fail
  actual-value: #f
.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a276c0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1bf0e00>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1b4d5c0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a3fcc0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1b346c0>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1b4da80 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a5d6f0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1b35c40>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1ba49c0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 19d9240 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 24207c0>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1b4d580 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 19d0ba0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 2486380>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1d5f040 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 19c7180 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 248b400>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1b4dc00 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a7c450 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1bf7860>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 249fb00 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a0d090 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 2467280>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1ba4f80 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 In thread:
ERROR: In procedure server-handle-key-exchange: Error while printing exception.
[eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a9f8a0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1f9e7c0>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 2331780 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 In thread:
ERROR: In procedure server-handle-key-exchange: Error while printing exception.
[eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a1bf30 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1c7d600>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1ba4780 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
Backtrace:
In ice-9/boot-9.scm:
 157: 11 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 10 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 9 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 8 [eval # #]
In ice-9/boot-9.scm:
2401: 7 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 6 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 5 [%start-stack load-stack ...]
1729: 4 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 3 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 453: 2 [eval # ()]
 432: 1 [eval # #]
In unknown file:
   ?: 0 [connect! #<session 246bc00>]

ERROR: In procedure connect!:
ERROR: Throw to key `guile-ssh-error' with args `("connect!" "Connection refused" #<session 246bc00> #f)'.
%%%% Starting test client-server  (Writing full log to "client-server.log")
FAIL connect!, disconnect!
FAIL get-protocol-version
FAIL get-public-key-hash
FAIL userauth-get-list
FAIL userauth-none!, success
FAIL userauth-none!, denied
FAIL userauth-none!, partial
FAIL userauth-password!, success
FAIL userauth-password!, denied
FAIL userauth-password!, partial
FAIL userauth-pubkey!, success

FAIL: server-client
===================

;;; note: source file ../srfi/srfi-64.scm
;;;       newer than compiled /gnu/store/725n5w5vcpd9ihzr27vn7c731Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "server-message-get"
    client: connected
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "message-get-type"
    client: connected
Test end:
  result-kind: fail
  actual-value: #f
Group end: server-client
# of unexpected failures  3
...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 2141880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 2141880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 2157c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./server-client.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 24494b0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [server-handle-key-exchange #<session 241d880>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 242e8c0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In thread:
In ice-9/boot-9.scm:
ERROR: In procedure authenticate-server:  157: 16 Error while printing exception.
[catch #t #<catch-closure 21245c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 21245c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 2141880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 2141880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 2157c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./server-client.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 22190f0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [server-handle-key-exchange #<session 254cfa0>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 23f6b00 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In thread:
ERROR: In procedure authenticate-server: Error while printing exception.
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 21245c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 21245c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 2141880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 2141880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 2157c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./server-client.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 21de810 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [server-handle-key-exchange #<session 29e1a40>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 233e780 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
%%%% Starting test server-client  (Writing full log to "server-client.log")
FAIL accept, key exchange
FAIL server-message-get
FAIL message-get-type
# of unexpected failures  3

FAIL: sssh-ssshd
================

---------- ssshd ----------
Using private RSA key: /tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-Test end:
  result-kind: pass
  actual-value: 4094
Test begin:
  test-name: "sssh, exec"
Test end:
  result-kind: fail
  actual-value: #f
Group end: sssh-ssshd
# of expected passes      1
# of unexpected failures  1
RSA key: /tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/rsakey
Using private DSA key: /tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/dsakey
Listening on port:     12600
PID file:              ssshd.pid
Backtrace:
In ice-9/boot-9.scm:
 157: 5 [catch #t #<catch-closure 15e65a0> ...]
In unknown file:
   ?: 4 [apply-smob/1 #<catch-closure 15e65a0>]
In ice-9/boot-9.scm:
  63: 3 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 2 [eval # #]
 432: 1 [eval # #]
In unknown file:
   ?: 0 [connect! #<session 17ec7c0>]

ERROR: In procedure connect!:
ERROR: Throw to key `guile-ssh-error' with args `("connect!" "Timeout connecting to 127.0.0.1" #<session 17ec7c0> #f)'.
;;; note: source file ../srfi/srfi-64.scm
;;;       newer than compiled /gnu/store/725n5w5vcpd9ihzr27vn7c731hx2ky0j-guile-2.0.11/lib/guile/2.0/ccache/srfi/srfi-64.go
%%%% Starting test sssh-ssshd  (Writing full log to "sssh-ssshd.log")
FAIL sssh, exec
# of expected passes      1
# of unexpected failures  1

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.


[-- Attachment #3: client-server.log --]
[-- Type: text/plain, Size: 13083 bytes --]

;;; note: source file ../srfi/srfi-64.scm
;;;       newer than compiled /gnu/store/725n5w5vcpd9ihzr27vn7c731hx2ky0j-guile-2.0.11/lib/guile/2.0/ccache/srfi/srfi-64.go
In ice-9/bootTest end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "get-protocol-version"
Test end:
 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/evaTest end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-none!, success"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-none!, denied"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-none!, partial"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-password!, success"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-password!, denied"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-password!, partial"
Test end:
  result-kind: fail
  actual-value: #f
Test begin:
  test-name: "userauth-pubkey!, success"
Test end:
  result-kind: fail
  actual-value: #f
.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a276c0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1bf0e00>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1b4d5c0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a3fcc0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1b346c0>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1b4da80 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a5d6f0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1b35c40>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1ba49c0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 19d9240 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 24207c0>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1b4d580 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 19d0ba0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 2486380>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1d5f040 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 19c7180 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 248b400>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1b4dc00 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a7c450 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1bf7860>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 249fb00 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a0d090 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 2467280>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1ba4f80 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 In thread:
ERROR: In procedure server-handle-key-exchange: Error while printing exception.
[eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 [eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a9f8a0 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1f9e7c0>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 2331780 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 11 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 8 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 432: 7 In thread:
ERROR: In procedure server-handle-key-exchange: Error while printing exception.
[eval # #]
 411: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch #t #<procedure 1a1bf30 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
 432: 4 [eval # #]
In unknown file:
   ?: 3 [connect! #<session 1c7d600>]
In ice-9/boot-9.scm:
 102: 2 [#<procedure 1ba4780 at ice-9/boot-9.scm:97:6 (thrown-k . args)> guile-ssh-error ...]
In ice-9/eval.scm:
 387: 1 [eval # #]
In unknown file:
   ?: 0 [make-stack #t]
Backtrace:
In ice-9/boot-9.scm:
 157: 11 [catch #t #<catch-closure 192f5c0> ...]
In unknown file:
   ?: 10 [apply-smob/1 #<catch-closure 192f5c0>]
In ice-9/boot-9.scm:
  63: 9 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 8 [eval # #]
In ice-9/boot-9.scm:
2401: 7 [save-module-excursion #<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
4052: 6 [#<procedure 194c880 at ice-9/boot-9.scm:4045:3 ()>]
1724: 5 [%start-stack load-stack ...]
1729: 4 [#<procedure 1962c60 ()>]
In unknown file:
   ?: 3 [primitive-load "/tmp/nix-build-guile-ssh-0.6.0.drv-0/guile-ssh-0.6.0/tests/./client-server.scm"]
In ice-9/eval.scm:
 453: 2 [eval # ()]
 432: 1 [eval # #]
In unknown file:
   ?: 0 [connect! #<session 246bc00>]

ERROR: In procedure connect!:
ERROR: Throw to key `guile-ssh-error' with args `("connect!" "Connection refused" #<session 246bc00> #f)'.
%%%% Starting test client-server  (Writing full log to "client-server.log")
FAIL connect!, disconnect!
FAIL get-protocol-version
FAIL get-public-key-hash
FAIL userauth-get-list
FAIL userauth-none!, success
FAIL userauth-none!, denied
FAIL userauth-none!, partial
FAIL userauth-password!, success
FAIL userauth-password!, denied
FAIL userauth-password!, partial
FAIL userauth-pubkey!, success

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: libssh upgraded; guile-ssh fails its tests
  2014-04-04 15:51 ` Ludovic Courtès
@ 2014-04-04 16:30   ` Artyom Poptsov
  2014-04-04 18:07     ` Mark H Weaver
  2014-04-04 20:07     ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Artyom Poptsov @ 2014-04-04 16:30 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Hi.

> Upgrading libssh from 0.5.5 to 0.6.3 turned out to break Guile-SSH
> 0.6.0.  I attach some of the test logs.  Any idea what’s going on?

Well, I think the problem is that there are changes in the API between
libssh 0.5 and libssh 0.6.  So Guile-SSH must be updated to be able to
work with libssh 0.6.  I have plans to migrate Guile-SSH to libssh 0.6,
but this work is still to be done.

And it worth mention that according to the Guile-SSH 0.6.0 documenation
it requires libssh 0.5.4 or 0.5.5, so you shouldn't be surprised that
Guile-SSH 0.6.0 breaks on libssh 0.6 ;-)

Thanks.

- Artyom

-- 
Artyom Poptsov <poptsov.artyom@gmail.com>
Home page: http://poptsov-artyom.narod.ru/  JID: avp@xmpp.ru
Nizhny Novgorod Linux Users Group (NNLUG) member: http://nnlug.ru/
CADR hackerspace founder: http://cadrspace.ru/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: libssh upgraded; guile-ssh fails its tests
  2014-04-04 16:30   ` Artyom Poptsov
@ 2014-04-04 18:07     ` Mark H Weaver
  2014-04-04 19:17       ` Artyom Poptsov
  2014-04-04 20:07     ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Mark H Weaver @ 2014-04-04 18:07 UTC (permalink / raw)
  To: Artyom Poptsov; +Cc: guix-devel

Artyom Poptsov <poptsov.artyom@gmail.com> writes:

>> Upgrading libssh from 0.5.5 to 0.6.3 turned out to break Guile-SSH
>> 0.6.0.  I attach some of the test logs.  Any idea what’s going on?
>
> Well, I think the problem is that there are changes in the API between
> libssh 0.5 and libssh 0.6.  So Guile-SSH must be updated to be able to
> work with libssh 0.6.  I have plans to migrate Guile-SSH to libssh 0.6,
> but this work is still to be done.
>
> And it worth mention that according to the Guile-SSH 0.6.0 documenation
> it requires libssh 0.5.4 or 0.5.5, so you shouldn't be surprised that
> Guile-SSH 0.6.0 breaks on libssh 0.6 ;-)

FYI, versions of libssh prior to 0.6.3 contain a security vulnerability.

  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0017

Therefore, unless someone wants to backport the security fix to an older
version of libssh, we'll have to live without Guile-SSH for now.

      Mark

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: libssh upgraded; guile-ssh fails its tests
  2014-04-04 18:07     ` Mark H Weaver
@ 2014-04-04 19:17       ` Artyom Poptsov
  0 siblings, 0 replies; 6+ messages in thread
From: Artyom Poptsov @ 2014-04-04 19:17 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Hello Mark,

thank you for pointing me out to this problem.  I do understand that due
to the aforementioned vulnerability Guile-SSH cannot do its job well.

So I'll port Guile-SSH to libssh 0.6.3 where the vulnerability was
closed.  I think this solution is acceptable.

- Artyom

-- 
Artyom Poptsov <poptsov.artyom@gmail.com>
Home page: http://poptsov-artyom.narod.ru/  JID: avp@xmpp.ru
Nizhny Novgorod Linux Users Group (NNLUG) member: http://nnlug.ru/
CADR hackerspace founder: http://cadrspace.ru/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: libssh upgraded; guile-ssh fails its tests
  2014-04-04 16:30   ` Artyom Poptsov
  2014-04-04 18:07     ` Mark H Weaver
@ 2014-04-04 20:07     ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2014-04-04 20:07 UTC (permalink / raw)
  To: Artyom Poptsov; +Cc: guix-devel

Artyom Poptsov <poptsov.artyom@gmail.com> skribis:

>> Upgrading libssh from 0.5.5 to 0.6.3 turned out to break Guile-SSH
>> 0.6.0.  I attach some of the test logs.  Any idea what’s going on?
>
> Well, I think the problem is that there are changes in the API between
> libssh 0.5 and libssh 0.6.  So Guile-SSH must be updated to be able to
> work with libssh 0.6.  I have plans to migrate Guile-SSH to libssh 0.6,
> but this work is still to be done.

OK.

> And it worth mention that according to the Guile-SSH 0.6.0 documenation
> it requires libssh 0.5.4 or 0.5.5, so you shouldn't be surprised that
> Guile-SSH 0.6.0 breaks on libssh 0.6 ;-)

Indeed.  :-)

The important thing is that libssh 0.6.3 fixes a security issue:
<https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-0017>.

The patch being simple, I’ve adjusted it for 0.5.5, and used that for
Guile-SSH in the meantime:

  http://git.savannah.gnu.org/cgit/guix.git/commit/?id=9c333da6f1b465e70767254ab19d9ec27681bb7b

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-04 20:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-02 17:06 libssh upgraded; guile-ssh fails its tests Mark H Weaver
2014-04-04 15:51 ` Ludovic Courtès
2014-04-04 16:30   ` Artyom Poptsov
2014-04-04 18:07     ` Mark H Weaver
2014-04-04 19:17       ` Artyom Poptsov
2014-04-04 20:07     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.