GNU bug report logs - #46778
set-grafting: regression in "guix graph"

Previous Next

Package: guix;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Thu, 25 Feb 2021 18:07:01 UTC

Severity: normal

Tags: notabug

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 46778 in the body.
You can then email your comments to 46778 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#46778; Package guix. (Thu, 25 Feb 2021 18:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to zimoun <zimon.toutoune <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 25 Feb 2021 18:07:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Bug Guix <bug-guix <at> gnu.org>,
 Ludovic Courtès <ludo <at> gnu.org>
Subject: set-grafting: regression in "guix graph"
Date: Thu, 25 Feb 2021 19:06:42 +0100
Hi,

Using commit 3c548c3e0e, "guix graph hello" works.  However, commit
db45712a67 "grafts: Inline 'grafting?' and 'set-grafting'" seems to
introduce a regression:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix graph hello
Backtrace:
In ice-9/boot-9.scm:
  1736:10 14 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In unknown file:
          13 (apply-smob/0 #<thunk 7f204bef3520>)
In ice-9/boot-9.scm:
    718:2 12 (call-with-prompt _ _ #<procedure default-prompt-handler (k pr=
oc)>)
In ice-9/eval.scm:
    619:8 11 (_ #(#(#<directory (guile-user) 7f204bef6c80>)))
In guix/ui.scm:
  2162:12 10 (run-guix-command _ . _)
In guix/scripts/graph.scm:
    573:2  9 (guix-graph . _)
In ice-9/boot-9.scm:
  1736:10  8 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
  1731:15  7 (with-exception-handler #<procedure 7f204a0cb270 at ice-9/boot=
-9.scm:1815:7 (exn)> _ #:unwind? _ #:unwind-for-type _)
  1736:10  6 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
    152:2  5 (with-fluid* _ _ _)
In unknown file:
           4 (_ #<procedure 7f2049e15320 at ice-9/eval.scm:330:13 ()> #<pro=
cedure 7f2049e152e0 at ice-9/eval.scm:383:13 rest> #<procedure call-with-va=
lues (producer consumer)>)
In guix/scripts/graph.scm:
   598:37  3 (_ #<store-connection 256.99 7f2049ee3c30>)
   598:37  2 (_ #f)
In ice-9/boot-9.scm:
  1669:16  1 (raise-exception _ #:continuable? _)
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Wrong type to apply: #<syntax-transformer set-grafting>
--8<---------------cut here---------------end--------------->8---


All the best,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#46778; Package guix. (Mon, 01 Mar 2021 09:47:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 46778 <at> debbugs.gnu.org
Subject: Re: set-grafting: regression in "guix graph"
Date: Mon, 01 Mar 2021 10:46:33 +0100
Hi,

zimoun <zimon.toutoune <at> gmail.com> skribis:

> Using commit 3c548c3e0e, "guix graph hello" works.  However, commit
> db45712a67 "grafts: Inline 'grafting?' and 'set-grafting'" seems to
> introduce a regression:

[...]

> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> Wrong type to apply: #<syntax-transformer set-grafting>

You need to:

  rm guix/scripts/graph.go && make

This is an ABI issue: ‘set-grafting’ used to be a procedure and it’s now
a macro.

HTH!

Ludo’.




Added tag(s) notabug. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 01 Mar 2021 09:47:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 46778 <at> debbugs.gnu.org and zimoun <zimon.toutoune <at> gmail.com> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 01 Mar 2021 09:47:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#46778; Package guix. (Tue, 02 Mar 2021 15:22:02 GMT) Full text and rfc822 format available.

Message #15 received at 46778-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 46778-done <at> debbugs.gnu.org
Subject: Re: set-grafting: regression in "guix graph"
Date: Tue, 2 Mar 2021 16:21:18 +0100
Hi,

On Mon, 1 Mar 2021 at 10:46, Ludovic Courtès <ludo <at> gnu.org> wrote:

> This is an ABI issue: ‘set-grafting’ used to be a procedure and it’s now
> a macro.

Indeed.  Thanks.
Good to know when bisecting. :-)

Cheers,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 31 Mar 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 363 days ago.

Previous Next


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