unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Not a bug: compute derivation: null bytes, hardware issue, how to recover #41362
@ 2021-03-01  1:54 André Batista
  0 siblings, 0 replies; only message in thread
From: André Batista @ 2021-03-01  1:54 UTC (permalink / raw)
  To: help-guix

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

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

----


[-- Attachment #2: guix.error --]
[-- Type: text/plain, Size: 7775 bytes --]

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)...
\r^[[K[##                                                                            ]\r^[[K[#####                                                                         ]\r^[[K[#######                                                                       ]\r^[[K[##########                                                                    ]\r^[[K[############                                                                  ]\r^[[K[###############                                                               ]\r^[[K[#################                                                             ]\r^[[K[####################                                                          ]\r^[[K[######################                                                        ]\r^[[K[#########################                                                     ]\r^[[K[###########################                                                   ]\r^[[K[##############################                                                ]\r^[[K[################################                                              ]\r^[[K[###################################                                           ]\r^[[K[#####################################                                         ]\r^[[K[########################################                                      ]\r^[[K[##########################################                                    ]\r^[[K[#############################################                                 ]\r^[[K[###############################################                               ]\r^[[K[##################################################                            ]\r^[[K[####################################################                          ]\r^[[K[#######################################################                       ]\r^[[K[#########################################################                     ]\r^[[K[############################################################                  ]\r^[[K[##############################################################                ]\r^[[K[#################################################################             ]\r^[[K[###################################################################           ]\r^[[K[######################################################################        ]\r^[[K[########################################################################      ]\r^[[K[###########################################################################   ]\r^[[K[##############################################################################]\r^[[KBuilding from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git	337cb4a
substitute: \rsubstitute: ^[[Kupdating substitutes from 'https://ci.guix.gnu.org'...   0.0%\rsubstitute: ^[[Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: \rsubstitute: ^[[Kupdating substitutes from 'https://ci.guix.gnu.org'...   0.0%\rsubstitute: ^[[Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: \rsubstitute: ^[[Kupdating substitutes from 'https://ci.guix.gnu.org'...   0.0%\rsubstitute: ^[[Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0%
downloading from https://ci.guix.gnu.org/nar/lzip/818xvny8yl4lqba1hsh1pq7gzrpdcbqn-module-import ...
\r^[[K module-import  2KiB                   15KiB/s 00:00 [##################] 100.0%\r^[[K module-import  2KiB                   11KiB/s 00:00 [##################] 100.0%

downloading from https://ci.guix.gnu.org/nar/lzip/i2cwrk8amgms88p1vgw8z9qxzwgyj9d8-module-import-compiled ...
\r^[[K module-import-compiled  1.5MiB        26KiB/s 00:03 [                  ]   4.2%\r^[[K module-import-compiled  1.5MiB        28KiB/s 00:05 [#                 ]   8.3%\r^[[K module-import-compiled  1.5MiB        30KiB/s 00:06 [##                ]  12.5%\r^[[K module-import-compiled  1.5MiB        33KiB/s 00:08 [##                ]  16.7%\r^[[K module-import-compiled  1.5MiB        35KiB/s 00:09 [###               ]  20.8%\r^[[K module-import-compiled  1.5MiB        36KiB/s 00:11 [####              ]  25.0%\r^[[K module-import-compiled  1.5MiB        36KiB/s 00:12 [#####             ]  29.2%\r^[[K module-import-compiled  1.5MiB        37KiB/s 00:14 [#####             ]  33.3%\r^[[K module-import-compiled  1.5MiB        34KiB/s 00:17 [######            ]  37.5%\r^[[K module-import-compiled  1.5MiB        32KiB/s 00:20 [#######           ]  41.6%\r^[[K module-import-compiled  1.5MiB        31KiB/s 00:23 [########          ]  45.8%\r^[[K module-import-compiled  1.5MiB        31KiB/s 00:25 [########          ]  50.0%\r^[[K module-import-compiled  1.5MiB        32KiB/s 00:26 [#########         ]  54.1%\r^[[K module-import-compiled  1.5MiB        33KiB/s 00:28 [##########        ]  58.3%\r^[[K module-import-compiled  1.5MiB        33KiB/s 00:29 [###########       ]  62.5%\r^[[K module-import-compiled  1.5MiB        33KiB/s 00:31 [###########       ]  66.6%\r^[[K module-import-compiled  1.5MiB        33KiB/s 00:33 [############      ]  70.8%\r^[[K module-import-compiled  1.5MiB        33KiB/s 00:35 [#############     ]  75.0%\r^[[K module-import-compiled  1.5MiB        32KiB/s 00:38 [##############    ]  79.1%\r^[[K module-import-compiled  1.5MiB        32KiB/s 00:40 [##############    ]  83.3%\r^[[K module-import-compiled  1.5MiB        31KiB/s 00:43 [###############   ]  87.5%\r^[[K module-import-compiled  1.5MiB        32KiB/s 00:44 [################  ]  91.6%\r^[[K module-import-compiled  1.5MiB        32KiB/s 00:46 [################# ]  95.8%\r^[[K module-import-compiled  1.5MiB        33KiB/s 00:47 [################# ] 100.0%\r^[[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 ...
\r^[[K compute-guix-derivation  875B        223KiB/s 00:00 [##################] 100.0%\r^[[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 <bug-guix@gnu.org>.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-01  1:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-01  1:54 Not a bug: compute derivation: null bytes, hardware issue, how to recover #41362 André Batista

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).