GNU bug report logs - #41028
Today's Guile 3 'core-updates' cannot pull yesterday's 2.2 master

Previous Next

Package: guix;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Sat, 2 May 2020 15:48:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Christopher Baines <mail <at> cbaines.net>
Subject: bug#41028: closed (Re: bug#41028: Channel/inferior error with
 core-updates: Unbound variable: call-with-new-thread)
Date: Thu, 07 May 2020 08:13:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#41028: Today's Guile 3 'core-updates' cannot pull yesterday's 2.2 master

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 41028 <at> debbugs.gnu.org.

-- 
41028: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41028
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: Marius Bakke <mbakke <at> fastmail.com>, 41028-done <at> debbugs.gnu.org
Subject: Re: bug#41028: Channel/inferior error with core-updates: Unbound
 variable: call-with-new-thread
Date: Thu, 07 May 2020 10:12:02 +0200
Hey!

Ludovic Courtès <ludo <at> gnu.org> skribis:

> The attached patches add a mechanism to patch the Guix source tree, and
> then use that mechanism to add the missing (ice-9 threads) import.  With
> this I can do:
>
>   ./pre-inst-env guix time-machine \
>      --commit=e02c2f85b36ce1c733bd908a210ce1182bdd2560 -- build linux-libre
>
> … which is a simple way to do what the manifest above was about.

Given the enthusiasm expressed on IRC, I went ahead and pushed.  :-)

  ff3ca7979e channels: Add patch for <https://bugs.gnu.org/41028>.
  053b10c3ef channels: Add mechanism to patch checkouts of the 'guix channel.
  4ba425060a channels: Add 'latest-channel-instance'.

So… it might be that today is merge day?

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: bug-guix <at> gnu.org
Subject: Channel/inferior error with core-updates: Unbound variable:
 call-with-new-thread
Date: Sat, 02 May 2020 16:47:49 +0100
[Message part 4 (text/plain, inline)]
Noticed this when testing guix system build with core-updates. Here's a
small example which reproduces the issue:


(use-modules (guix channels)
             (guix inferior))

(define channels
  (list (channel
         (name 'guix)
         (url "https://git.savannah.gnu.org/git/guix.git")
         (commit
          "e02c2f85b36ce1c733bd908a210ce1182bdd2560"))))

(define inferior
  (inferior-for-channels channels))

(first (lookup-inferior-packages inferior "linux-libre" "5.2.21"))


If you save that as a file then attempt to build it:


→ guix build -f test.scm 
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Backtrace:
           4 (primitive-load "/gnu/store/8mv5bpjgxg9c369xnbb5rf1kv9r?")
In ice-9/eval.scm:
    619:8  3 (_ #(#(#(#(#(#(#(#(#(#(#(?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
   182:19  2 (proc #(#(#(#(#(#(#(#(#(#(# ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
   142:16  1 (compile-top-call #<directory (guile-user) 7f1e0abc1f00> ?)
In unknown file:
           0 (%resolve-variable (7 . call-with-new-thread) #<directo?>)

ERROR: In procedure %resolve-variable:
Unbound variable: call-with-new-thread
guix build: error: You found a bug: the program '/gnu/store/8mv5bpjgxg9c369xnbb5rf1kv9r6z5hw-compute-guix-derivation'
failed to compute the derivation for Guix (version: "e02c2f85b36ce1c733bd908a210ce1182bdd2560"; system: "x86_64-linux";
host version: "a8cb1e72ef351330d1521833c1b270dcc0da593f"; pull-version: 1).
Please report it by email to <bug-guix <at> gnu.org>.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 98 days ago.

Previous Next


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