GNU bug report logs -
#35154
guix package --show=openssh gnu/packages/curl.scm:55:4: error: libssh2: unbound variable
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35154 in the body.
You can then email your comments to 35154 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#35154
; Package
guix
.
(Fri, 05 Apr 2019 02:26:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jack Hill <jackhill <at> jackhill.us>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 05 Apr 2019 02:26:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35154
; Package
guix
.
(Fri, 05 Apr 2019 06:54:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 35154 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
As I know it seems like need to run `guix pull` to update your scheme files.
I usually run updates for root and non-root users with this line:
`guix pull && guix package -u`
Also after update by root you may need to run `guix system reconfigure config.scm` with you config.scm file (that you need to have). This will update your guix-daemon.
Hope it helps!
Apr 5, 2019, 2:25 AM by jackhill <at> jackhill.us:
> 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 <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 <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 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35154
; Package
guix
.
(Fri, 05 Apr 2019 15:27:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 35154 <at> debbugs.gnu.org (full text, mbox):
On Fri, 5 Apr 2019, znavko <at> tutanota.com wrote:
> As I know it seems like need to run `guix pull` to update your scheme files.
After guix pulling, I still see the problem with the latest Guix. My guix
describe information:
$ guix describe
Generation 124 Apr 05 2019 11:24:29 (current)
guix-at-duke a9674ec
repository URL: https://gitlab.oit.duke.edu/jackhill/guix-at-duke.git
branch: master
commit: a9674ec7b0decac94745c91df886817e2fc8a91b
guix 3a66563
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 3a665637afc32a142dc24a77ce7ce9235eb6a3af
Best,
Jack
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35154
; Package
guix
.
(Fri, 05 Apr 2019 16:31:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 35154 <at> debbugs.gnu.org (full text, mbox):
Jack Hill <jackhill <at> jackhill.us> writes:
> On Fri, 5 Apr 2019, znavko <at> tutanota.com wrote:
>
>> As I know it seems like need to run `guix pull` to update your scheme files.
>
> After guix pulling, I still see the problem with the latest Guix. My
> guix describe information:
>
> $ guix describe
> Generation 124 Apr 05 2019 11:24:29 (current)
> guix-at-duke a9674ec
> repository URL: https://gitlab.oit.duke.edu/jackhill/guix-at-duke.git
> branch: master
> commit: a9674ec7b0decac94745c91df886817e2fc8a91b
> guix 3a66563
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 3a665637afc32a142dc24a77ce7ce9235eb6a3af
I think (gnu packages curl) is not correct because it provides
libssh2-1.8.0, which inherits from a package that is in (gnu packages
ssh).
The definition of libssh2-1.8.0 should probably be moved to (gnu
packages ssh).
--
Ricardo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35154
; Package
guix
.
(Fri, 05 Apr 2019 17:48:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 35154 <at> debbugs.gnu.org (full text, mbox):
On Fri, 5 Apr 2019, Ricardo Wurmus wrote:
> I think (gnu packages curl) is not correct because it provides
> libssh2-1.8.0, which inherits from a package that is in (gnu packages
> ssh).
>
> The definition of libssh2-1.8.0 should probably be moved to (gnu
> packages ssh).
Maybe. Here's an interesting twist: I thought I would try produce a patch
to move that definition. From a up-to-date checkout (commit
177bc62d63e89a1ce2f255879bca1fdc5f3769f1), I ran:
guix environment guix
./bootstrap
./configure --localstatedir=/var
make
./pre-inst-env guix package --show=openssh
And there is no error even though the definition had not been moved.
However, if I guix pull to the same commit, the problem persists.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Sun, 07 Apr 2019 16:31:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jack Hill <jackhill <at> jackhill.us>
:
bug acknowledged by developer.
(Sun, 07 Apr 2019 16:31:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 35154-done <at> debbugs.gnu.org (full text, mbox):
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’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 06 May 2019 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 354 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.