From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sGaQOmKC32CVYgAAgWs5BA (envelope-from ) for ; Fri, 02 Jul 2021 23:17:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KNs+NmKC32DDFgAA1q6Kng (envelope-from ) for ; Fri, 02 Jul 2021 21:17:22 +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 2EE32B08D for ; Fri, 2 Jul 2021 23:17:22 +0200 (CEST) Received: from localhost ([::1]:34948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzQXH-0001Gh-Li for larch@yhetil.org; Fri, 02 Jul 2021 17:17:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzQX0-0001Ey-3A for help-guix@gnu.org; Fri, 02 Jul 2021 17:17:02 -0400 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]:38874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzQWx-0003q0-Az for help-guix@gnu.org; Fri, 02 Jul 2021 17:17:01 -0400 Received: by mail-qt1-x834.google.com with SMTP id h11so4729942qtp.5 for ; Fri, 02 Jul 2021 14:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=OObf67nyQ5ZjwrwW86YfkpzHluxY8nIpGRiytjxASEk=; b=YziKTSG8EO4Bb6C3IIiu8+9V85dhrpKvIQiAcUmr6OLxRu2H6JD1f3cWrC3UET8ony Ilm/n6Ntlqy/dLDJJWcv0WzeVHlfrRiYg9JAdDdsGR3rU8oBsyzPkVOZ61E2pAvjnxBW ppsvoFHtyq3Gf4iU7i1DxKH3HwtnlB9bvDsKQPTiXLsiaomYQ/7WO8+mIwrckZ3adlcF A6TUYI6AfMqpWLuHJmkZlfKQn085flAA3pgc4USGv8tg5JkIBMy0xThor4OfPYU6aTdI 7dsd7rPrTF5KTX0vy0fwci0ICme7XfFAIY2/FskLBi60Jm9YWM9utcC51foC+42JPGAe 80HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=OObf67nyQ5ZjwrwW86YfkpzHluxY8nIpGRiytjxASEk=; b=hv3jipjGMbRzooqEaINeuZt9fLM4jWKIeFAFA1PjHWcTQsr6qsK6DO3i/lexfPsXrN Opxtjn1psdTPQKzN3JRH6j457gWslwsJxWGxTjqKTRPffCjjPVQscR5np8Xkc/injwpa XTcfDhT9ajPMGf7yD0SF9b1Z88/nL3AH1LtNlDYoAEpYQTorwspQTJMUi1+97GgAA7w+ 0cPWPPoEP4HQMgw0ya5exPbISRRvT5aTYHosjZCt+czNKcEdE9u+CbO6WyLT+7LRJc5f Zs/CSGymui1LqZxN38CjlxLfaAVBv7/joGwDh+oOjZLX/LVdWMKMZoRuLFqmx4v/EUW5 oPhA== X-Gm-Message-State: AOAM533/2fPRzQthMoLBbMrPzNLY56mJ7UwtvnAnGKXnP8O8oU/7SvQh mGXnbHg28jmsnPmfjBRk4GZV7vWnuBS7TA== X-Google-Smtp-Source: ABdhPJzy8E/fcp72F+fu4nqBVaI8rJLkaIL4M0QX6cHaZRPeD0wCO+NBfFr2DqqerF2NtjH0IFu1XQ== X-Received: by 2002:ac8:7f07:: with SMTP id f7mr1697094qtk.120.1625260618237; Fri, 02 Jul 2021 14:16:58 -0700 (PDT) Received: from hurd (dsl-10-132-56.b2b2c.ca. [72.10.132.56]) by smtp.gmail.com with ESMTPSA id 82sm1913606qke.63.2021.07.02.14.16.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jul 2021 14:16:57 -0700 (PDT) From: Maxim Cournoyer To: Christopher Howard Subject: Re: Broken Guix Pull References: <108f3785c51075f3517164e3956a4a38e99e7e75.camel@librehacker.com> Date: Fri, 02 Jul 2021 17:16:57 -0400 In-Reply-To: <108f3785c51075f3517164e3956a4a38e99e7e75.camel@librehacker.com> (Christopher Howard's message of "Fri, 02 Jul 2021 07:29:30 -0800") Message-ID: <877di82z7a.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x834.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: , Cc: Help Guix 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=1625260642; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OObf67nyQ5ZjwrwW86YfkpzHluxY8nIpGRiytjxASEk=; b=HTiw/P5Yv+WE9xjOyACundEwSGN+4TZZjIOpvaAFFdTa0WXDGaNajwu3P7ToLu5QGc6WOg HtcKf6RO/p41Z+ymM0of1BRhT3OI94N1vZqFL27GadYJHZhC2vogIeAHyla9nTM9KXFb+U jfE9woauZ7ptWOFcB7S/1KoL0UvGL8pGLEN0Z2X72oSl/1XWFItSvMBLHBrnAmpmUwr0yr 9v1rED59XZTP35+evjCKXF6+BBeINxCShLU2+u5YRseHRkekphtnXvJeDAbA4l4LHzbyAh SFAsjIcPlCVYcKOmctq15n/68f6kF8NmQxIL1/n+q9GSK4RjcZOK2QBnCV5knw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625260642; a=rsa-sha256; cv=none; b=tlPXw+F7ppa3C/CKI13VDvl6nKW11U6QsIIfUounLjGqhC1HCB5s8GEdJYZio0GzdaVshm cOmxRrneHgg2aE2qp/jEpuqINVyXKXZjyvMPq4XKaUw+iqBXIB+l4K0SLqOalgcFsNQHbF kBrEAZq3WJCcsHV4rxv9DKj5qI1oEo30xrAMZqWabUwlc1ASo61qb+9xsIiokH/dheiR4T 9p8ICa4DUWwHq0qaGNAbc5RgTOmEQKIGhZddTWEFHc9Hyt8pD4dgFbWuzj3MW33XHSr9iM ogHpneOa1yY7PAS8BmFZU3NLG/6Tmo2BmLlx4eQzxqni+JFKLtJN/rQWJt0rkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=YziKTSG8; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=YziKTSG8; dmarc=pass (policy=none) header.from=gmail.com; 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: 2EE32B08D X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: r9agL8MIKdzM Hi Christopher, Christopher Howard writes: > Hello, I had a power outage during a guix pull a few days ago, and I haven't been able to do a `guix pull` successfully since then from that computer. I always get an error similar to this: > > ``` > building /gnu/store/yjx4pq303sj22w6476j1hql3h74z1lr4-config.scm.drv... > building /gnu/store/60v3vy5ls2vgy47rs26r1xbz6in04hv4-module-import.drv... > building /gnu/store/7nzi3i4031h2piwk1640yjnh9lnrwnwy-module-import.drv... > building /gnu/store/nmqi0acf82hkb1wbx9d916qb3cpjgwzk-module-import-compiled.drv... > 4% > [####### > ]builder for `/gnu/store/nmqi0acf82hkb1wbx9d916qb3cpjgwzk-module-import-compiled.drv' failed with exit code 1 > build of /gnu/store/nmqi0acf82hkb1wbx9d916qb3cpjgwzk-module-import-compiled.drv failed > View build log at '/var/log/guix/drvs/nm/qi0acf82hkb1wbx9d916qb3cpjgwzk-module-import-compiled.drv.bz2'. > cannot build derivation `/gnu/store/3swk97m8jdqksr3lvhiid0k3k48jvwv1-compute-guix-derivation.drv': 1 dependencies couldn't be built > guix pull: error: build of `/gnu/store/3swk97m8jdqksr3lvhiid0k3k48jvwv1-compute-guix-derivation.drv' failed > > ``` > > The log looks like this, minus the last 10,000 null characters: > > ``` > [ 1/78] Loading './gcrypt/hash.scm'... > [ 2/78] Loading './git.scm'... > [ 3/78] Loading './gnu/packages/bootstrap.scm'... > Backtrace: > 19 (primitive-load "./gnu/packages/bootstrap.scm") > In ice-9/eval.scm: > 721:20 18 (primitive-eval (define-module (gnu packages #) # (?) ?)) > In ice-9/psyntax.scm: > 1241:36 17 (expand-top-sequence ((define-module (gnu # #) # (?) ?)) ?) > 1233:19 16 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?) > 285:10 15 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?) > In ice-9/eval.scm: > 293:34 14 (_ #) > In ice-9/boot-9.scm: > 3380:4 13 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?) > 2565:24 12 (call-with-deferred-observers #) > 3393:24 11 (_) > 222:17 10 (map1 (((guix licenses)) ((gnu packages)) ((guix #)) # ?)) > 3297:17 9 (resolve-interface (guix licenses) #:select _ #:hide _ # ?) > 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 "guix/licenses" #) > In ice-9/eval.scm: > 223:20 1 (proc #) > In unknown file: > 0 (%resolve-variable (7 . #) #) > > ERROR: In procedure %resolve-variable: > Unbound variable: #{\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0; > ``` > > These are fixes that I have tried, but I always get the same failure: > > * sudo guix gc --verify=contents,repair > > Ends with an error like: > > ``` > error: cannot repair path `/gnu/store/48bcdy815zcp007v0jpjrw9wnbs1cinh-guix-c19d29c' > ``` > > * doing a `guix pull --roll-back` > > * doing a `guix pull --commit` back to some earlier commit. > > * building guix myself from a local checkout, and trying to pull using that guix (the above output is from that attempt) > > * Deleting ~/.cache/guix > > Could I get some guidance on what to do? I hope others will have more helpful replies than mine, but perhaps your file system was badly damaged. Depending on what kind of file system you are using, you may want to try to run a fsck tool to see if it can recover. HTH, Maxim