GNU bug report logs -
#62335
Exception when showing version-control packages
Previous Next
Reported by: Greg Hogan <code <at> greghogan.com>
Date: Tue, 21 Mar 2023 14:26:02 UTC
Severity: normal
Done: Josselin Poiret <dev <at> jpoiret.xyz>
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 62335 in the body.
You can then email your comments to 62335 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#62335
; Package
guix
.
(Tue, 21 Mar 2023 14:26:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Greg Hogan <code <at> greghogan.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 21 Mar 2023 14:26:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I have not installed the guix package so I believe that I am running
an unmodified Guix. Testing on my manifest, only packages from
version-control.scm (cvs, diffstat, git, subversion, ...) are
generating the exception.
--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 38 Mar 21 2023 13:38:52 (current)
guix 38b64d4
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 38b64d47ed3dfaeb63b859e7a8834e477ffed3a1
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
$ guix show hello
name: hello
version: 2.12.1
outputs:
+ out: everything
systems: x86_64-linux i686-linux
dependencies:
location: gnu/packages/base.scm:87:2
homepage: https://www.gnu.org/software/hello/
license: GPL 3+
synopsis: Hello, GNU world: An example GNU package
description: GNU Hello prints the message "Hello, world!" and then
exits. It serves as an example of standard GNU coding practices. As
such, it supports command-line arguments, multiple
+ languages, and so on.
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
$ guix show git
Backtrace:
In ice-9/boot-9.scm:
3424:24 19 (_)
222:29 18 (map1 _)
222:29 17 (map1 _)
222:29 16 (map1 _)
222:29 15 (map1 _)
222:29 14 (map1 _)
222:29 13 (map1 _)
222:29 12 (map1 _)
222:29 11 (map1 _)
222:17 10 (map1 (((gnu packages python-xyz)) ((gnu packages #)) …))
3327:17 9 (resolve-interface (gnu packages python-xyz) #:select _ …)
In ice-9/threads.scm:
390:8 8 (_ _)
In ice-9/boot-9.scm:
3253:13 7 (_)
In ice-9/threads.scm:
390:8 6 (_ _)
In ice-9/boot-9.scm:
3544:20 5 (_)
2836:4 4 (save-module-excursion _)
3564:26 3 (_)
In unknown file:
2 (primitive-load-path "gnu/packages/python-xyz" #<proced…>)
In gnu/packages/python-xyz.scm:
24360:42 1 (_)
In ice-9/boot-9.scm:
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error: pre-commit: unbound variable
--8<---------------cut here---------------end--------------->8---
Information forwarded
to
bug-guix <at> gnu.org
:
bug#62335
; Package
guix
.
(Tue, 21 Mar 2023 19:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 62335 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Greg,
Greg Hogan <code <at> greghogan.com> writes:
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> error: pre-commit: unbound variable
This is caused by yet another import cycle: pre-commit is defined in
version-control.scm, which uses python-xyz, which defines
python-jupytext and which has pre-commit among its native-inputs, which
is thus not yet defined (if you tried loading version-control.scm
first).
I think the fix would be to move pre-commit to python-xyz? These import
cycles are getting a bit out of hand, especially since we never catch
them during development... Can we also turn unbound variable warnings
into errors, so that `guix pull` could catch them earlier?
Best,
--
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Josselin Poiret <dev <at> jpoiret.xyz>
:
You have taken responsibility.
(Thu, 23 Mar 2023 14:37:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Greg Hogan <code <at> greghogan.com>
:
bug acknowledged by developer.
(Thu, 23 Mar 2023 14:37:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 62335-close <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Greg,
Greg Hogan <code <at> greghogan.com> writes:
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> error: pre-commit: unbound variable
This should be fixed now by Maxim with
5174820753be045ba4fc7cc93da33f4e0b730bc3.
Closing, feel free to re-open if it is not the case.
Best,
--
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 21 Apr 2023 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 22 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.