all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#29570: challenge Backtraces
@ 2017-12-04 23:16 Vagrant Cascadian
  2017-12-05 20:56 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Vagrant Cascadian @ 2017-12-04 23:16 UTC (permalink / raw)
  To: 29570

[-- Attachment #1: Type: text/plain, Size: 1566 bytes --]

After a recent guix pull, I'm getting tracebacks when attempting to run
guix challenge.

I tried switching subsititues to a local caching proxy, not sure if that
could possibly break anything. But after switching back to using the
substitutes directly, the problem still persists.

$ guix --version
guix (GNU guix) 1fa37d1b55b1d25a9d20c7b50a531b763e7a1398

$ guix challenge --substitute-urls="https://berlin.guixsd.org https://mirror.hydra.gnu.org" linux-libre
Backtrace:
          12 (primitive-load "/gnu/store/sy84f3kbjj2f2nl1ljbdcmsqrz8…")
In guix/ui.scm:
  1452:12 11 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    837:9 10 (catch _ _ #<procedure 7f185b219070 at guix/ui.scm:513…> …)
    837:9  9 (catch _ _ #<procedure 7f185b219088 at guix/ui.scm:611…> …)
    837:9  8 (catch _ _ #<procedure 7f1857f1bd70 at guix/scripts/ch…> …)
In guix/scripts/challenge.scm:
   304:13  7 (_)
In guix/store.scm:
  1444:24  6 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/challenge.scm:
   305:15  5 (_ _)
   149:34  4 (_ _)
In srfi/srfi-1.scm:
   679:15  3 (append-map _ _ . _)
   592:17  2 (map1 ("https://berlin.guixsd.org"; "https://mirror.hy…"))
In guix/scripts/substitute.scm:
   725:23  1 (lookup-narinfos "https://berlin.guixsd.org"; _)
   697:16  0 (fetch-narinfos "https://berlin.guixsd.org"; ("/gnu/sto…"))

guix/scripts/substitute.scm:697:16: In procedure fetch-narinfos:
guix/scripts/substitute.scm:697:16: Wrong type to apply: #<syntax-transformer uri?>


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#29570: challenge Backtraces
  2017-12-04 23:16 bug#29570: challenge Backtraces Vagrant Cascadian
@ 2017-12-05 20:56 ` Ludovic Courtès
  2017-12-07 16:18   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-12-05 20:56 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: 29570

Hi Vagrant,

Vagrant Cascadian <vagrant@debian.org> skribis:

> $ guix --version
> guix (GNU guix) 1fa37d1b55b1d25a9d20c7b50a531b763e7a1398

It looks like my repo lacks this commit.

> $ guix challenge --substitute-urls="https://berlin.guixsd.org https://mirror.hydra.gnu.org" linux-libre

[...]

> In guix/scripts/challenge.scm:
>    305:15  5 (_ _)
>    149:34  4 (_ _)
> In srfi/srfi-1.scm:
>    679:15  3 (append-map _ _ . _)
>    592:17  2 (map1 ("https://berlin.guixsd.org"; "https://mirror.hy…"))
> In guix/scripts/substitute.scm:
>    725:23  1 (lookup-narinfos "https://berlin.guixsd.org"; _)
>    697:16  0 (fetch-narinfos "https://berlin.guixsd.org"; ("/gnu/sto…"))
>
> guix/scripts/substitute.scm:697:16: In procedure fetch-narinfos:
> guix/scripts/substitute.scm:697:16: Wrong type to apply: #<syntax-transformer uri?>

This is due to an ABI breakage in the (web uri) module that Guile
provides: in 2.2.3 ‘uri?’ is a procedure, but in 2.2.2 it’s a macro.

As it turns out, build-aux/build-self.scm (which is what ‘guix pull’
evaluates) selects the latest Guile 2.2.x, so it builds with 2.2.3, but
then you run that code with 2.2.2, hence the error.

Let’s see how we can work around it…

Ludo’.

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

* bug#29570: challenge Backtraces
  2017-12-05 20:56 ` Ludovic Courtès
@ 2017-12-07 16:18   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-12-07 16:18 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: 29570-done

Hi,

ludo@gnu.org (Ludovic Courtès) skribis:

> This is due to an ABI breakage in the (web uri) module that Guile
> provides: in 2.2.3 ‘uri?’ is a procedure, but in 2.2.2 it’s a macro.
>
> As it turns out, build-aux/build-self.scm (which is what ‘guix pull’
> evaluates) selects the latest Guile 2.2.x, so it builds with 2.2.3, but
> then you run that code with 2.2.2, hence the error.

I’ve pushed a workaround as commit
66f217b43aca603326dab17d4dda1a398bf4fb8c.

Thanks,
Ludo’.

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

end of thread, other threads:[~2017-12-07 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-04 23:16 bug#29570: challenge Backtraces Vagrant Cascadian
2017-12-05 20:56 ` Ludovic Courtès
2017-12-07 16:18   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.