GNU bug report logs -
#38715
Issue with guile-email: unbound variable
Previous Next
Reported by: Jelle Licht <jlicht <at> fsfe.org>
Date: Mon, 23 Dec 2019 03:21:01 UTC
Severity: normal
Done: Ricardo Wurmus <rekado <at> elephly.net>
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 38715 in the body.
You can then email your comments to 38715 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#38715
; Package
guix
.
(Mon, 23 Dec 2019 03:21:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jelle Licht <jlicht <at> fsfe.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 23 Dec 2019 03:21:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hey guix,
Pretty recently, it seems something weird is happening when playing with
guix on the REPL.
On master, 5a947e118fb72b8fb1fd0c8d0b783fc7cde0c461:
--8<---------------cut here---------------start------------->8---
$ guix repl
> (use-modules (gnu packages gnupg))
While compiling expression:
error: guile-email: unbound variable.
--8<---------------cut here---------------end--------------->8---
Loading up the `(gnu packages mail)' module first seems to work around
the compilation error. My best guess is that this has something to do
with a circular reference between guile modules, but I am not certain on
how to easily debug (and fix) this.
- Jelle
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38715
; Package
guix
.
(Mon, 23 Dec 2019 05:57:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 38715 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Jelle,
Jelle Licht 写道:
> Hey guix,
>
> Pretty recently, it seems something weird is happening when
> playing with
> guix on the REPL.
>
> On master, 5a947e118fb72b8fb1fd0c8d0b783fc7cde0c461:
>
> --8<---------------cut
> here---------------start------------->8---
> $ guix repl
>> (use-modules (gnu packages gnupg))
> While compiling expression:
> error: guile-email: unbound variable.
> --8<---------------cut
> here---------------end--------------->8---
Ah! Glad someone else is seeing this too. Below's the full
backtrace if it's of interest to anyone.
Kind regards,
T G-R
Backtrace:
In ice-9/boot-9.scm:
222:29 19 (map1 (((gnu packages imagemagick)) ((gnu packages
w3m)) ((gnu packages wget)) ((gnu packages autotools)) ((gnu
packages base)) ((gnu packages compression)) ((gnu packages
node)) ((gnu packages xml)) ((# …)) …))
222:29 18 (map1 (((gnu packages w3m)) ((gnu packages wget))
((gnu packages autotools)) ((gnu packages base)) ((gnu packages
compression)) ((gnu packages node)) ((gnu packages xml)) ((gnu
packages glib)) ((gnu # acl)) # …))
222:29 17 (map1 (((gnu packages wget)) ((gnu packages
autotools)) ((gnu packages base)) ((gnu packages compression))
((gnu packages node)) ((gnu packages xml)) ((gnu packages
glib)) ((gnu packages acl)) ((gnu # mail)) …))
222:29 16 (map1 (((gnu packages autotools)) ((gnu packages
base)) ((gnu packages compression)) ((gnu packages node)) ((gnu
packages xml)) ((gnu packages glib)) ((gnu packages acl)) ((gnu
packages mail)) ((gnu # #)) (#) …))
222:29 15 (map1 (((gnu packages base)) ((gnu packages
compression)) ((gnu packages node)) ((gnu packages xml)) ((gnu
packages glib)) ((gnu packages acl)) ((gnu packages mail))
((gnu packages messaging)) ((gnu # #)) (#) …))
222:29 14 (map1 (((gnu packages compression)) ((gnu packages
node)) ((gnu packages xml)) ((gnu packages glib)) ((gnu
packages acl)) ((gnu packages mail)) ((gnu packages messaging))
((gnu packages package-management)) # …))
222:29 13 (map1 (((gnu packages node)) ((gnu packages xml))
((gnu packages glib)) ((gnu packages acl)) ((gnu packages
mail)) ((gnu packages messaging)) ((gnu packages
package-management)) ((gnu packages perl)) ((# …)) …))
222:29 12 (map1 (((gnu packages xml)) ((gnu packages glib))
((gnu packages acl)) ((gnu packages mail)) ((gnu packages
messaging)) ((gnu packages package-management)) ((gnu packages
perl)) ((gnu packages pdf)) ((gnu …)) …))
222:29 11 (map1 (((gnu packages glib)) ((gnu packages acl))
((gnu packages mail)) ((gnu packages messaging)) ((gnu packages
package-management)) ((gnu packages perl)) ((gnu packages pdf))
((gnu packages scheme)) ((…)) …))
222:29 10 (map1 (((gnu packages acl)) ((gnu packages mail))
((gnu packages messaging)) ((gnu packages package-management))
((gnu packages perl)) ((gnu packages pdf)) ((gnu packages
scheme)) ((gnu packages speech)) (#) …))
222:17 9 (map1 (((gnu packages mail)) ((gnu packages
messaging)) ((gnu packages package-management)) ((gnu packages
perl)) ((gnu packages pdf)) ((gnu packages scheme)) ((gnu
packages speech)) ((gnu packages xiph)) (#) …))
2800:17 8 (resolve-interface (gnu packages mail) #:select _
#:hide _ #:prefix _ #:renamer _ #:version _)
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 #<procedure 748881fa1db0 at
ice-9/boot-9.scm:2995:21 ()>)
3014:26 2 (_)
In unknown file:
1 (primitive-load-path "gnu/packages/mail" #<procedure
748881c88280 at ice-9/boot-9.scm:3001:37 ()>)
In gnu/packages/mail.scm:
779:28 0 (_)
gnu/packages/mail.scm:779:28: error: guile-email: unbound variable
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38715
; Package
guix
.
(Mon, 23 Dec 2019 06:04:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 38715 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> My best guess is that this has something to do with a circular
> reference between guile modules, but I am not certain on how to easily
> debug (and fix) this.
I updated the guile-email package two days ago. I hope that is not what
introduced this problem, and I don't see how it could have. Even `guix
build guile-email` on the terminal fails with a guile-email unbound
variable error.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38715
; Package
guix
.
(Mon, 23 Dec 2019 13:49:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 38715 <at> debbugs.gnu.org (full text, mbox):
Arun Isaac <arunisaac <at> systemreboot.net> writes:
>> My best guess is that this has something to do with a circular
>> reference between guile modules, but I am not certain on how to easily
>> debug (and fix) this.
>
> I updated the guile-email package two days ago. I hope that is not what
> introduced this problem, and I don't see how it could have. Even `guix
> build guile-email` on the terminal fails with a guile-email unbound
> variable error.
I do not think it was that commit, as I found the offending commit:
c7b2b539802eaa3f969e212c98eb671a1a75e9f3
This is the commit that adds mumimu to gnu/packages/mail.scm, as well as
to the inputs of mumi. Reverting this commit (at least) solves the issue
I had in the first mail.
Could it be that the reference to guile-email in the version field of
mumimu created this issue?
--8<---------------cut here---------------start------------->8---
(version (git-version (package-version guile-email) revision commit))
--8<---------------cut here---------------end--------------->8---
- Jelle
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38715
; Package
guix
.
(Thu, 26 Dec 2019 10:42:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 38715 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Jelle Licht <jlicht <at> fsfe.org> writes:
> Arun Isaac <arunisaac <at> systemreboot.net> writes:
>
>>> My best guess is that this has something to do with a circular
>>> reference between guile modules, but I am not certain on how to easily
>>> debug (and fix) this.
>>
>> I updated the guile-email package two days ago. I hope that is not what
>> introduced this problem, and I don't see how it could have. Even `guix
>> build guile-email` on the terminal fails with a guile-email unbound
>> variable error.
>
> I do not think it was that commit, as I found the offending commit:
> c7b2b539802eaa3f969e212c98eb671a1a75e9f3
>
> This is the commit that adds mumimu to gnu/packages/mail.scm, as well as
> to the inputs of mumi. Reverting this commit (at least) solves the issue
> I had in the first mail.
>
> Could it be that the reference to guile-email in the version field of
> mumimu created this issue?
> --8<---------------cut here---------------start------------->8---
> (version (git-version (package-version guile-email) revision commit))
> --8<---------------cut here---------------end--------------->8---
I also spotted this. It looks to me sort of like a copy/paste error, I'm
not sure why this variant of mu would take the version of the
guile-email package.
Anyway, to work around this issue I've pushed [1], which just replaces
the reference with the current value.
1: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=03460d2bd327815535801e3780c224f91af9b445
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38715
; Package
guix
.
(Thu, 26 Dec 2019 18:19:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 38715 <at> debbugs.gnu.org (full text, mbox):
Hi Chris,
Christopher Baines <mail <at> cbaines.net> skribis:
> Jelle Licht <jlicht <at> fsfe.org> writes:
[...]
>> I do not think it was that commit, as I found the offending commit:
>> c7b2b539802eaa3f969e212c98eb671a1a75e9f3
>>
>> This is the commit that adds mumimu to gnu/packages/mail.scm, as well as
>> to the inputs of mumi. Reverting this commit (at least) solves the issue
>> I had in the first mail.
>>
>> Could it be that the reference to guile-email in the version field of
>> mumimu created this issue?
>> --8<---------------cut here---------------start------------->8---
>> (version (git-version (package-version guile-email) revision commit))
>> --8<---------------cut here---------------end--------------->8---
>
> I also spotted this. It looks to me sort of like a copy/paste error, I'm
> not sure why this variant of mu would take the version of the
> guile-email package.
>
> Anyway, to work around this issue I've pushed [1], which just replaces
> the reference with the current value.
>
> 1: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=03460d2bd327815535801e3780c224f91af9b445
My bad! I copied the definition of ‘mumimu’ from Mumi itself and didn’t
pay enough attention.
The version number makes little sense anyway. You did the right thing,
thank you, and apologies for the breakage!
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38715
; Package
guix
.
(Thu, 26 Dec 2019 20:04:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 38715 <at> debbugs.gnu.org (full text, mbox):
Christopher Baines <mail <at> cbaines.net> writes:
>> Could it be that the reference to guile-email in the version field of
>> mumimu created this issue?
>> --8<---------------cut here---------------start------------->8---
>> (version (git-version (package-version guile-email) revision commit))
>> --8<---------------cut here---------------end--------------->8---
>
> I also spotted this. It looks to me sort of like a copy/paste error, I'm
> not sure why this variant of mu would take the version of the
> guile-email package.
This is a copy/paste error. The origin of this expression is the
guix.scm file of mumi. Ludo then wrote a mumi service and copied the
definition of mumimu from that guix.scm file.
(package-version guile-email) is obviously wrong. It should have been
(package-version mu), because mumimu is a fork of mu.
--
Ricardo
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Sun, 06 Dec 2020 12:28:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jelle Licht <jlicht <at> fsfe.org>
:
bug acknowledged by developer.
(Sun, 06 Dec 2020 12:28:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 38715-done <at> debbugs.gnu.org (full text, mbox):
Ricardo Wurmus <rekado <at> elephly.net> writes:
> Christopher Baines <mail <at> cbaines.net> writes:
>
>>> Could it be that the reference to guile-email in the version field of
>>> mumimu created this issue?
>>> --8<---------------cut here---------------start------------->8---
>>> (version (git-version (package-version guile-email) revision commit))
>>> --8<---------------cut here---------------end--------------->8---
>>
>> I also spotted this. It looks to me sort of like a copy/paste error, I'm
>> not sure why this variant of mu would take the version of the
>> guile-email package.
>
> This is a copy/paste error. The origin of this expression is the
> guix.scm file of mumi. Ludo then wrote a mumi service and copied the
> definition of mumimu from that guix.scm file.
>
> (package-version guile-email) is obviously wrong. It should have been
> (package-version mu), because mumimu is a fork of mu.
I’m closing this now as mumi no longer depends on a fork of mu; instead
it uses guile-xapian with its own database.
--
Ricardo
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 04 Jan 2021 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 170 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.