From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6HgBB35JPGD/cwAA0tVLHw (envelope-from ) for ; Mon, 01 Mar 2021 01:55:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CJC6An5JPGDqLAAAbx9fmQ (envelope-from ) for ; Mon, 01 Mar 2021 01:55:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DB29F1F89C for ; Mon, 1 Mar 2021 02:55:08 +0100 (CET) Received: from localhost ([::1]:46566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGXm6-00051z-Qu for larch@yhetil.org; Sun, 28 Feb 2021 20:55:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGXlg-00051m-NU for help-guix@gnu.org; Sun, 28 Feb 2021 20:54:40 -0500 Received: from mx1.riseup.net ([198.252.153.129]:54210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGXld-0005jo-HZ for help-guix@gnu.org; Sun, 28 Feb 2021 20:54:40 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DpjxP4CdbzDyVh for ; Sun, 28 Feb 2021 17:54:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1614563673; bh=UDjD3ezbwVzR6cRvw8UaUvsNN+cp4cIkgAJRPk8iNOY=; h=Date:From:To:Subject:From; b=cxa2MS31TGOzrCGhCQcmYjm8DmjxLkgRtIIGqs/vz9hIFlCr7clYnALlIB8/vbF87 4CeIdscXKglfyv62RXUWbmeAebZFUedIobucQeVb0UBy+315pZbC/mp6adETSmNeh9 ldC+iz3llhQfcq1Q7FGGmQTaIKET5BS1Dvu678ew= X-Riseup-User-ID: D71556C45AD25537363B0E0FF569120B56CFCEFCC951AEFC8796C7DB1E1F1419 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4DpjxM6C8Wz5wGH for ; Sun, 28 Feb 2021 17:54:31 -0800 (PST) Date: Sun, 28 Feb 2021 22:54:22 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: help-guix@gnu.org Subject: Not a bug: compute derivation: null bytes, hardware issue, how to recover #41362 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="vCGsfnHEbElYxdhb" Content-Disposition: inline Received-SPF: pass client-ip=198.252.153.129; envelope-from=nandre@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614563709; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ohyUvC2jY3dtQGNTjxlJpK6NacKpR/Pad6uEp8HXnpE=; b=VPQqO8JM3JAE8IAgziXm09HpYcnt4uxQLcZ5sVz2TauZ+ILkudQc0CNQwywDe7EbMsXdwb ZFDDu0HE2SkuWEyVxcV1sakrhgqe5kyk0MCFK4NvwW3GPWBcy3H5TeTstLomBIYHJdV2js v1A1xHaMQtr/uy4cl+Juc/BgHB7JNdXWXZcqTuITWoX0unbXqtUzNyBIztZbyGYZVFRptn qHGjTuZOPBWfriH3Q7FssSnjDLJO90E0ymnL6kZMt0JVQvhKr6+pEU1+ZaE/GOT0Oo1re9 s+mm3G/bRcQlC8sV1JQRBLtCRm0aes80/09qgEKtkWy5sik4Vlx5XOr8ioMFpw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614563709; a=rsa-sha256; cv=none; b=d5Bvgxi3ywoTqflYQ73/ckRrJhagGJGCXLPyi7vBC/EbilYmqnMRn8YPk9BicOw/R/hBqP y6ZjvV+E1JPf5aMX3H3dWlPmTR87T/xHMR64jdngse3SLDpuj8P9M1bTAcybqmD5Ttdkxt ubVAmkONMvzjyHhzLXjws5xO3no0U0nhAVv/YxuuPFP+3UixLhM21EQGy2CD3tZCgH/Hci HHK1Q/a/OWcapS53vQQoAWBdTxVG4/fK5x2fstCO/M8U5mcsLIuGzLKhh42f2f8lUVIvjt 02q6zGoA6PLyGkSqtdVii6LG+FGiqVJyexOHL+AGMm7g/6WikhBsP6qNlWhuLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=cxa2MS31; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=cxa2MS31; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: DB29F1F89C X-Spam-Score: -0.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZK+DCFuL5RMd --vCGsfnHEbElYxdhb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 ---- --vCGsfnHEbElYxdhb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="guix.error" Content-Transfer-Encoding: quoted-printable Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... Authenticating channel 'guix', commits 9edb3f6 to 337cb4a (31 new commits).= =2E. =0D=1B[K[## = ]=0D=1B[K[##### = ]=0D=1B[K[####### = ]=0D=1B[K[########## = ]=0D=1B[K[############ = ]=0D=1B[K[#= ############## = ]=0D=1B[K[################# = ]=0D=1B[K[#################### = ]=0D=1B[K[###################### = ]=0D=1B[K[########################= # ]=0D=1B[K[###########= ################ ]=0D=1B[= K[############################## = ]=0D=1B[K[################################ = ]=0D=1B[K[################################### = ]=0D=1B[K[##################################= ### ]=0D=1B[K[#####################= ################### ]=0D=1B[K[########= ################################## ]=0D= =1B[K[############################################# = ]=0D=1B[K[############################################### = ]=0D=1B[K[###########################################= ####### ]=0D=1B[K[##############################= ###################### ]=0D=1B[K[#################= ###################################### ]=0D=1B[K[####= ##################################################### ]= =0D=1B[K[############################################################ = ]=0D=1B[K[#####################################################= ######### ]=0D=1B[K[########################################= ######################### ]=0D=1B[K[###########################= ######################################## ]=0D=1B[K[##############= ######################################################## ]=0D=1B[K[#= ####################################################################### = ]=0D=1B[K[###############################################################= ############ ]=0D=1B[K[##################################################= ############################]=0D=1B[KBuilding from this channel: guix https://git.savannah.gnu.org/git/guix.git 337cb4a substitute: =0Dsubstitute: =1B[Kupdating substitutes from 'https://ci.guix.= gnu.org'... 0.0%=0Dsubstitute: =1B[Kupdating substitutes from 'https://ci= =2Eguix.gnu.org'... 100.0% substitute: =0Dsubstitute: =1B[Kupdating substitutes from 'https://ci.guix.= gnu.org'... 0.0%=0Dsubstitute: =1B[Kupdating substitutes from 'https://ci= =2Eguix.gnu.org'... 100.0% substitute: =0Dsubstitute: =1B[Kupdating substitutes from 'https://ci.guix.= gnu.org'... 0.0%=0Dsubstitute: =1B[Kupdating substitutes from 'https://ci= =2Eguix.gnu.org'... 100.0% downloading from https://ci.guix.gnu.org/nar/lzip/818xvny8yl4lqba1hsh1pq7gz= rpdcbqn-module-import ... =0D=1B[K module-import 2KiB 15KiB/s 00:00 [#############= #####] 100.0%=0D=1B[K module-import 2KiB 11KiB/s 00:00 [= ##################] 100.0% downloading from https://ci.guix.gnu.org/nar/lzip/i2cwrk8amgms88p1vgw8z9qxz= wgyj9d8-module-import-compiled ... =0D=1B[K module-import-compiled 1.5MiB 26KiB/s 00:03 [ = ] 4.2%=0D=1B[K module-import-compiled 1.5MiB 28KiB/s 00:05 [= # ] 8.3%=0D=1B[K module-import-compiled 1.5MiB 30= KiB/s 00:06 [## ] 12.5%=0D=1B[K module-import-compiled 1.5= MiB 33KiB/s 00:08 [## ] 16.7%=0D=1B[K module-import-= compiled 1.5MiB 35KiB/s 00:09 [### ] 20.8%=0D=1B[K m= odule-import-compiled 1.5MiB 36KiB/s 00:11 [#### ] 25= =2E0%=0D=1B[K module-import-compiled 1.5MiB 36KiB/s 00:12 [##### = ] 29.2%=0D=1B[K module-import-compiled 1.5MiB 37KiB/s 00= :14 [##### ] 33.3%=0D=1B[K module-import-compiled 1.5MiB = 34KiB/s 00:17 [###### ] 37.5%=0D=1B[K module-import-compiled= 1.5MiB 32KiB/s 00:20 [####### ] 41.6%=0D=1B[K module-im= port-compiled 1.5MiB 31KiB/s 00:23 [######## ] 45.8%=0D= =1B[K module-import-compiled 1.5MiB 31KiB/s 00:25 [######## = ] 50.0%=0D=1B[K module-import-compiled 1.5MiB 32KiB/s 00:26 [###= ###### ] 54.1%=0D=1B[K module-import-compiled 1.5MiB 33KiB= /s 00:28 [########## ] 58.3%=0D=1B[K module-import-compiled 1.5MiB= 33KiB/s 00:29 [########### ] 62.5%=0D=1B[K module-import-com= piled 1.5MiB 33KiB/s 00:31 [########### ] 66.6%=0D=1B[K modu= le-import-compiled 1.5MiB 33KiB/s 00:33 [############ ] 70.8%= =0D=1B[K module-import-compiled 1.5MiB 33KiB/s 00:35 [#############= ] 75.0%=0D=1B[K module-import-compiled 1.5MiB 32KiB/s 00:38 [= ############## ] 79.1%=0D=1B[K module-import-compiled 1.5MiB 32= KiB/s 00:40 [############## ] 83.3%=0D=1B[K module-import-compiled 1.5= MiB 31KiB/s 00:43 [############### ] 87.5%=0D=1B[K module-import-= compiled 1.5MiB 32KiB/s 00:44 [################ ] 91.6%=0D=1B[K m= odule-import-compiled 1.5MiB 32KiB/s 00:46 [################# ] 95= =2E8%=0D=1B[K module-import-compiled 1.5MiB 33KiB/s 00:47 [########= ######### ] 100.0%=0D=1B[K module-import-compiled 1.5MiB 33KiB/s 00= :47 [##################] 100.0% downloading from https://ci.guix.gnu.org/nar/gzip/h1gwz8klgy95wlr3a4398jl8a= ijwy35b-compute-guix-derivation ... =0D=1B[K compute-guix-derivation 875B 223KiB/s 00:00 [#############= #####] 100.0%=0D=1B[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 p= ackages 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" #) In ice-9/eval.scm: 223:20 1 (proc #) In unknown file: 0 (%resolve-variable (7 . #) #) 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/h1gwz8klgy95wlr3= a4398jl8aijwy35b-compute-guix-derivation' failed to compute the derivation for Guix (version: "337cb4a0481ed08b672cc7= 0d601d1b60f2edcebd"; system: "x86_64-linux"; host version: "022d90cd9e1ac145fddb7fe81c8d5f6cf11c4584"; pull-version: 1). Please report it by email to . --vCGsfnHEbElYxdhb--