Pulling 1.0.0 fails while running ‘compute-guix -derivation’
(address . bug-guix@gnu.org)
From today’s Guix, where (default-guile) is 3.0, I can’t build 1.0.0:
Toggle snippet (39 lines)
$ guix describe
Generacio 142 May 11 2020 00:51:39 (nuna)
guix b76b1d3
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: b76b1d3fb65fec98b96a2b4cfa984316dd956a29
$ guix time-machine --commit=6298c3ffd9654d3231a6f25390b056483e8f407c -- describe
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
;;; WARNING: loading compiled file /gnu/store/g29fabc57fkzimrf6gsb72fr7fq069yf-module-import-compiled/guix/store.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; WARNING: loading compiled file /gnu/store/g29fabc57fkzimrf6gsb72fr7fq069yf-module-import-compiled/guix/store.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; WARNING: loading compiled file /gnu/store/g29fabc57fkzimrf6gsb72fr7fq069yf-module-import-compiled/guix/utils.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; WARNING: loading compiled file /gnu/store/g29fabc57fkzimrf6gsb72fr7fq069yf-module-import-compiled/guix/utils.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; WARNING: loading compiled file /gnu/store/g29fabc57fkzimrf6gsb72fr7fq069yf-module-import-compiled/guix/config.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; WARNING: loading compiled file /gnu/store/g29fabc57fkzimrf6gsb72fr7fq069yf-module-import-compiled/guix/config.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
[…]
In unknown file:
5 (primitive-load-path "guix/build/compile" #<procedure 7?>)
In ice-9/eval.scm:
626:19 4 (_ #<directory (guix build compile) 7f5d72139280>)
159:9 3 (_ #<directory (guix build compile) 7f5d72139280>)
182:19 2 (proc #<directory (guix build compile) 7f5d72139280>)
142:16 1 (compile-top-call #<directory (guix build compile) 7f5?> ?)
In unknown file:
0 (%resolve-variable (7 . #) #<directory (guix build comp?>)
ERROR: In procedure %resolve-variable:
Unbound variable: tree-il-default-optimization-options
guix time-machine: error: You found a bug: the program '/gnu/store/9c0s7llsc1sqw6hkz99vhyr8wmipc1zl-compute-guix-derivation'
failed to compute the derivation for Guix (version: "6298c3ffd9654d3231a6f25390b056483e8f407c"; system: "x86_64-linux";
host version: "b76b1d3fb65fec98b96a2b4cfa984316dd956a29"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.
The module in
/gnu/store/g29fabc57fkzimrf6gsb72fr7fq069yf-module-import-compiled were
built with 2.2.4, which is fine, but ‘compute-guix-derivation’ itself
runs on 3.0.
Probably ‘%quirks’ should also change (default-guile).
Ludo’.