Hello Guix, This is not a request for help, but just for reference, so you may skip it.
Recently I fell pray to a hardware issue which rendered one of my guix machines stuck and unable to upgrade. Issue #41362 seems related and user also confirmed a hardware issue. Nonetheless, after solving the imediate hardware problem I was stuck with a system which would refuse to pull newer generations. I first tried to roll-back guix pull, system and package to no avail. I've tried time-machine as well and it did not help. I've also tried a '--bootstrap' guile flag when pulling and got an unrelated issue. I was about to bust the system and reinstall when guix gc came to rescue. The procedure was simple enough but it took me some time to figure: switch guix pull to last good generation; delete the one where the corruption started; garbage collect everything; pull again. Ref: https://issues.guix.gnu.org/41362 ----
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... Authenticating channel 'guix', commits 9edb3f6 to 337cb4a (31 new commits)... [K[## ] [K[##### ] [K[####### ] [K[########## ] [K[############ ] [K[############### ] [K[################# ] [K[#################### ] [K[###################### ] [K[######################### ] [K[########################### ] [K[############################## ] [K[################################ ] [K[################################### ] [K[##################################### ] [K[######################################## ] [K[########################################## ] [K[############################################# ] [K[############################################### ] [K[################################################## ] [K[#################################################### ] [K[####################################################### ] [K[######################################################### ] [K[############################################################ ] [K[############################################################## ] [K[################################################################# ] [K[################################################################### ] [K[###################################################################### ] [K[######################################################################## ] [K[########################################################################### ] [K[##############################################################################] [KBuilding from this channel: guix https://git.savannah.gnu.org/git/guix.git 337cb4a substitute: substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 0.0% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 0.0% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 0.0% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0% downloading from https://ci.guix.gnu.org/nar/lzip/818xvny8yl4lqba1hsh1pq7gzrpdcbqn-module-import ... [K module-import 2KiB 15KiB/s 00:00 [##################] 100.0% [K module-import 2KiB 11KiB/s 00:00 [##################] 100.0% downloading from https://ci.guix.gnu.org/nar/lzip/i2cwrk8amgms88p1vgw8z9qxzwgyj9d8-module-import-compiled ... [K module-import-compiled 1.5MiB 26KiB/s 00:03 [ ] 4.2% [K module-import-compiled 1.5MiB 28KiB/s 00:05 [# ] 8.3% [K module-import-compiled 1.5MiB 30KiB/s 00:06 [## ] 12.5% [K module-import-compiled 1.5MiB 33KiB/s 00:08 [## ] 16.7% [K module-import-compiled 1.5MiB 35KiB/s 00:09 [### ] 20.8% [K module-import-compiled 1.5MiB 36KiB/s 00:11 [#### ] 25.0% [K module-import-compiled 1.5MiB 36KiB/s 00:12 [##### ] 29.2% [K module-import-compiled 1.5MiB 37KiB/s 00:14 [##### ] 33.3% [K module-import-compiled 1.5MiB 34KiB/s 00:17 [###### ] 37.5% [K module-import-compiled 1.5MiB 32KiB/s 00:20 [####### ] 41.6% [K module-import-compiled 1.5MiB 31KiB/s 00:23 [######## ] 45.8% [K module-import-compiled 1.5MiB 31KiB/s 00:25 [######## ] 50.0% [K module-import-compiled 1.5MiB 32KiB/s 00:26 [######### ] 54.1% [K module-import-compiled 1.5MiB 33KiB/s 00:28 [########## ] 58.3% [K module-import-compiled 1.5MiB 33KiB/s 00:29 [########### ] 62.5% [K module-import-compiled 1.5MiB 33KiB/s 00:31 [########### ] 66.6% [K module-import-compiled 1.5MiB 33KiB/s 00:33 [############ ] 70.8% [K module-import-compiled 1.5MiB 33KiB/s 00:35 [############# ] 75.0% [K module-import-compiled 1.5MiB 32KiB/s 00:38 [############## ] 79.1% [K module-import-compiled 1.5MiB 32KiB/s 00:40 [############## ] 83.3% [K module-import-compiled 1.5MiB 31KiB/s 00:43 [############### ] 87.5% [K module-import-compiled 1.5MiB 32KiB/s 00:44 [################ ] 91.6% [K module-import-compiled 1.5MiB 32KiB/s 00:46 [################# ] 95.8% [K module-import-compiled 1.5MiB 33KiB/s 00:47 [################# ] 100.0% [K module-import-compiled 1.5MiB 33KiB/s 00:47 [##################] 100.0% downloading from https://ci.guix.gnu.org/nar/gzip/h1gwz8klgy95wlr3a4398jl8aijwy35b-compute-guix-derivation ... [K compute-guix-derivation 875B 223KiB/s 00:00 [##################] 100.0% [K compute-guix-derivation 875B 169KiB/s 00:00 [##################] 100.0% Computing Guix derivation for 'x86_64-linux'... Backtrace: In ice-9/boot-9.scm: 3380:4 19 (define-module* _ #:filename _ #:pure _ #:version _ #:imports _ #:exports _ #:replacements _ # _ # _ # _ ?) 3393:24 18 (_) 222:29 17 (map1 _) 222:29 16 (map1 _) 222:29 15 (map1 _) 222:29 14 (map1 _) 222:29 13 (map1 _) 222:29 12 (map1 _) 222:29 11 (map1 _) 222:17 10 (map1 (((gnu packages check)) ((gnu packages docbook)) ((gnu packages emacs)) ((gnu packages hurd)) # ?)) 3297:17 9 (resolve-interface (gnu packages check) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _) In ice-9/threads.scm: 390:8 8 (_ _) In ice-9/boot-9.scm: 3223:13 7 (_) In ice-9/threads.scm: 390:8 6 (_ _) In ice-9/boot-9.scm: 3507:20 5 (_) 2806:4 4 (save-module-excursion _) 3527:26 3 (_) In unknown file: 2 (primitive-load-path "gnu/packages/check" #<procedure 7efec272a9a0 at ice-9/boot-9.scm:3514:37 ()>) In ice-9/eval.scm: 223:20 1 (proc #<module (#{ g129}#) 7efec1290500>) In unknown file: 0 (%resolve-variable (7 . #) #<module (#{ g129}#) 7efec1290500>) ERROR: In procedure %resolve-variable: error: #{\x0;\x0;\x0;----[cut some KB]-----\x0;\x0;}#: unbound variable guix pull: error: You found a bug: the program '/gnu/store/h1gwz8klgy95wlr3a4398jl8aijwy35b-compute-guix-derivation' failed to compute the derivation for Guix (version: "337cb4a0481ed08b672cc70d601d1b60f2edcebd"; system: "x86_64-linux"; host version: "022d90cd9e1ac145fddb7fe81c8d5f6cf11c4584"; pull-version: 1). Please report it by email to <[email protected]>.
