GNU bug report logs - #74800
guix package lacks offloading capabilities (guile-ssh@0.18)

Previous Next

Package: guix;

Reported by: Dariqq <dariqq <at> posteo.net>

Date: Wed, 11 Dec 2024 20:39:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74800 in the body.
You can then email your comments to 74800 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#74800; Package guix. (Wed, 11 Dec 2024 20:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dariqq <dariqq <at> posteo.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 11 Dec 2024 20:39:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dariqq <dariqq <at> posteo.net>
To: bug-guix <at> gnu.org
Subject: guix package lacks offloading capabilities (guile-ssh <at> 0.18)
Date: Wed, 11 Dec 2024 20:38:28 +0000
Hello,

I was trying the patch for https://issues.guix.gnu.org/74787 and was 
wondering why it didnt work for me.

The default guix package is currently built without the offloading/ssh 
support:

from the configure script:

checking whether Guile-SSH is available and recent enough... no


E.g. this recent build on ci.g.g.o: 
https://ci.guix.gnu.org/build/6971850/details




Information forwarded to bug-guix <at> gnu.org:
bug#74800; Package guix. (Wed, 11 Dec 2024 21:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 74800 <at> debbugs.gnu.org (full text, mbox):

From: Dariqq <dariqq <at> posteo.net>
To: 74800 <at> debbugs.gnu.org
Subject: Re: guix package lacks offloading capabilities (guile-ssh <at> 0.18)
Date: Wed, 11 Dec 2024 21:03:46 +0000
Running what the GUIX_CHECK_GUILE_SSH macro expands to with 
guile-ssh <at> 0.18 yields


--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (and (@ (ssh channel) channel-send-eof)
            (@ (ssh popen) open-remote-pipe)
            (@ (ssh dist node) node-eval)
            (@ (ssh auth) userauth-gssapi!)
            ((@ (ssh session) make-session) #:nodelay #t))
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `guile-ssh-error' with args `("'config' is specified, but 
'host' option is missed.")'.
--8<---------------cut here---------------end--------------->8---


On 11.12.24 21:38, Dariqq wrote:
> Hello,
> 
> I was trying the patch for https://issues.guix.gnu.org/74787 and was 
> wondering why it didnt work for me.
> 
> The default guix package is currently built without the offloading/ssh 
> support:
> 
> from the configure script:
> 
> checking whether Guile-SSH is available and recent enough... no
> 
> 
> E.g. this recent build on ci.g.g.o: https://ci.guix.gnu.org/ 
> build/6971850/details





Information forwarded to bug-guix <at> gnu.org:
bug#74800; Package guix. (Wed, 11 Dec 2024 22:11:04 GMT) Full text and rfc822 format available.

Message #11 received at 74800 <at> debbugs.gnu.org (full text, mbox):

From: Tomas Volf <~@wolfsden.cz>
To: 74800 <at> debbugs.gnu.org,
	guix-patches <at> gnu.org
Cc: Tomas Volf <~@wolfsden.cz>
Subject: [PATCH] m4: guix: Fix detection of guile-ssh.
Date: Wed, 11 Dec 2024 23:09:57 +0100
The check for make-session stopped working after update to 0.18.0.  This
commit adds the additional `#:config #f' to skip reading the ssh
configuration, arguably we did not want to do that anyway.

* m4/guix.m4 (GUIX_CHECK_GUILE_SSH): Add `#:config #f' to make-session call.

Change-Id: Id6ea3860292159ac2e6cf2a77df5f720f66aa071
---
 m4/guix.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/guix.m4 b/m4/guix.m4
index 8c2757a8b7..376f40943c 100644
--- a/m4/guix.m4
+++ b/m4/guix.m4
@@ -143,7 +143,7 @@ AC_DEFUN([GUIX_CHECK_GUILE_SSH], [
             (@ (ssh popen) open-remote-pipe)
             (@ (ssh dist node) node-eval)
             (@ (ssh auth) userauth-gssapi!)
-            ((@ (ssh session) make-session) #:nodelay #t))])
+            ((@ (ssh session) make-session) #:nodelay #t #:config #f))])
      if test "$retval" = 0; then
        guix_cv_have_recent_guile_ssh="yes"
      else
-- 
2.46.0





Information forwarded to bug-guix <at> gnu.org:
bug#74800; Package guix. (Thu, 12 Dec 2024 20:30:02 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tomas Volf <~@wolfsden.cz>
Cc: Dariqq <dariqq <at> posteo.net>, 74800-done <at> debbugs.gnu.org,
 guix-patches <at> gnu.org
Subject: Re: bug#74800: guix package lacks offloading capabilities
 (guile-ssh <at> 0.18)
Date: Thu, 12 Dec 2024 21:29:23 +0100
Tomas Volf <~@wolfsden.cz> skribis:

> The check for make-session stopped working after update to 0.18.0.  This
> commit adds the additional `#:config #f' to skip reading the ssh
> configuration, arguably we did not want to do that anyway.
>
> * m4/guix.m4 (GUIX_CHECK_GUILE_SSH): Add `#:config #f' to make-session call.
>
> Change-Id: Id6ea3860292159ac2e6cf2a77df5f720f66aa071

Woow, good catch.  Applied, thanks!

This Guile-SSH upgrade turned out to be trickier than expected.  :-)

Ludo’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 12 Dec 2024 20:30:03 GMT) Full text and rfc822 format available.

Notification sent to Dariqq <dariqq <at> posteo.net>:
bug acknowledged by developer. (Thu, 12 Dec 2024 20:30:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#74800; Package guix. (Fri, 13 Dec 2024 13:53:02 GMT) Full text and rfc822 format available.

Message #22 received at 74800 <at> debbugs.gnu.org (full text, mbox):

From: Dariqq <dariqq <at> posteo.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Tomas Volf <~@wolfsden.cz>, 74800 <at> debbugs.gnu.org
Subject: Re: bug#74800: guix package lacks offloading capabilities
 (guile-ssh <at> 0.18)
Date: Fri, 13 Dec 2024 13:52:02 +0000
Thanks,

On 12.12.24 21:29, Ludovic Courtès wrote:
> Tomas Volf <~@wolfsden.cz> skribis:
> 
>> The check for make-session stopped working after update to 0.18.0.  This
>> commit adds the additional `#:config #f' to skip reading the ssh
>> configuration, arguably we did not want to do that anyway.
>>
>> * m4/guix.m4 (GUIX_CHECK_GUILE_SSH): Add `#:config #f' to make-session call.
>>
>> Change-Id: Id6ea3860292159ac2e6cf2a77df5f720f66aa071
> 
> Woow, good catch.  Applied, thanks!
> 
> This Guile-SSH upgrade turned out to be trickier than expected.  :-)
> 

Could the guix package be updated as well s.t. the default daemon is 
built with offloading again?

> Ludo’.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 11 Jan 2025 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.