GNU bug report logs - #35154
guix package --show=openssh gnu/packages/curl.scm:55:4: error: libssh2: unbound variable

Previous Next

Package: guix;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Fri, 5 Apr 2019 02:26:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#35154: closed (guix package --show=openssh gnu/packages/curl.scm:55:4:
 error: libssh2: unbound variable)
Date: Sun, 07 Apr 2019 16:31:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 07 Apr 2019 18:30:08 +0200
with message-id <87ef6dlqwf.fsf <at> gnu.org>
and subject line Re: bug#35154: guix package --show=openssh gnu/packages/curl.scm:55:4: error: libssh2: unbound variable
has caused the debbugs.gnu.org bug report #35154,
regarding guix package --show=openssh gnu/packages/curl.scm:55:4: error: libssh2: unbound variable
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
35154: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35154
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jack Hill <jackhill <at> jackhill.us>
To: bug-guix <at> gnu.org
Subject: guix package --show=openssh gnu/packages/curl.scm:55:4: error:
 libssh2: unbound variable
Date: Thu, 4 Apr 2019 22:25:43 -0400 (EDT)
[Message part 3 (text/plain, inline)]
Hi Guix,

When trying to run guix package --show with packages from the
(gnu packages ssh) module, such as openssh, guile-ssh, and libssh, I get 
the following stack trace:

$ guix package --show=openssh
Backtrace:
In ice-9/boot-9.scm:
  3014:26 19 (_)
In unknown file:
          18 (primitive-load-path "gnu/packages/gnupg" #<procedure 1…>)
In gnu/packages/gnupg.scm:
     34:0 17 (_)
In ice-9/boot-9.scm:
   2874:4 16 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
  2887:24 15 (_)
   222:29 14 (map1 _)
   222:29 13 (map1 _)
   222:29 12 (map1 _)
   222:29 11 (map1 _)
   222:29 10 (map1 _)
   222:17  9 (map1 (((gnu packages curl)) ((gnu packages crypto)) # …))
  2800:17  8 (resolve-interface (gnu packages curl) #:select _ #:hide …)
In ice-9/threads.scm:
    390:8  7 (_ _)
In ice-9/boot-9.scm:
  2726:13  6 (_)
In ice-9/threads.scm:
    390:8  5 (_ _)
In ice-9/boot-9.scm:
  2994:20  4 (_)
   2312:4  3 (save-module-excursion _)
  3014:26  2 (_)
In unknown file:
           1 (primitive-load-path "gnu/packages/curl" #<procedure 20…>)
In gnu/packages/curl.scm:
     55:4  0 (_)

gnu/packages/curl.scm:55:4: error: libssh2: unbound variable

$ guix describe
Generation 123  Apr 04 2019 22:02:49    (current)
  guix-at-duke a9674ec
    repository URL: https://gitlab.oit.duke.edu/jackhill/guix-at-duke.git
    branch: master
    commit: a9674ec7b0decac94745c91df886817e2fc8a91b
  guix 54c9d7b
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 54c9d7bb69847c89a7193347f858bb4e9476f7df

To me, the error looks like a missing module import or simmilar, but I 
can't spot it. Perhaps it is something else.

Best,
Jack
[Message part 4 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Jack Hill <jackhill <at> jackhill.us>
Cc: Marius Bakke <mbakke <at> fastmail.com>, 35154-done <at> debbugs.gnu.org
Subject: Re: bug#35154: guix package --show=openssh
 gnu/packages/curl.scm:55:4: error: libssh2: unbound variable
Date: Sun, 07 Apr 2019 18:30:08 +0200
Hi Jack,

Jack Hill <jackhill <at> jackhill.us> skribis:

>            1 (primitive-load-path "gnu/packages/curl" #<procedure 20…>)
> In gnu/packages/curl.scm:
>      55:4  0 (_)
>
> gnu/packages/curl.scm:55:4: error: libssh2: unbound variable

Fixed in 71b4974a40347bdc651c3a1f923780733d96ded7.

The lesson is: when inheriting from a package, do it in the module where
it’s defined.

Thanks,
Ludo’.


This bug report was last modified 6 years and 44 days ago.

Previous Next


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