unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46778: set-grafting: regression in "guix graph"
@ 2021-02-25 18:06 zimoun
  2021-03-01  9:46 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: zimoun @ 2021-02-25 18:06 UTC (permalink / raw)
  To: 46778, ludo

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#46778: set-grafting: regression in "guix graph"
  2021-02-25 18:06 bug#46778: set-grafting: regression in "guix graph" zimoun
@ 2021-03-01  9:46 ` Ludovic Courtès
  2021-03-02 15:21   ` zimoun
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2021-03-01  9:46 UTC (permalink / raw)
  To: zimoun; +Cc: 46778

Hi,

zimoun <zimon.toutoune@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’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#46778: set-grafting: regression in "guix graph"
  2021-03-01  9:46 ` Ludovic Courtès
@ 2021-03-02 15:21   ` zimoun
  0 siblings, 0 replies; 3+ messages in thread
From: zimoun @ 2021-03-02 15:21 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 46778-done

Hi,

On Mon, 1 Mar 2021 at 10:46, Ludovic Courtès <ludo@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-02 15:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 18:06 bug#46778: set-grafting: regression in "guix graph" zimoun
2021-03-01  9:46 ` Ludovic Courtès
2021-03-02 15:21   ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).