unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Christopher Howard <christopher@librehacker.com>
To: Help Guix <help-guix@gnu.org>
Subject: Broken Guix Pull
Date: Fri, 02 Jul 2021 07:29:30 -0800	[thread overview]
Message-ID: <108f3785c51075f3517164e3956a4a38e99e7e75.camel@librehacker.com> (raw)

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 (_ #<directory (guix build utils) 7ffff5994d20>)
In ice-9/boot-9.scm:
   3380:4 13 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2565:24 12 (call-with-deferred-observers #<procedure 7ffff5543a50 ?>)
  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 #<procedure 7ffff5214930 at ice-?>)
  3527:26  3 (_)
In unknown file:
           2 (primitive-load-path "guix/licenses" #<procedure 7ffff5?>)
In ice-9/eval.scm:
   223:20  1 (proc #<module (#{ g74}#) 7ffff5255be0>)
In unknown file:
           0 (%resolve-variable (7 . #) #<module (#{ g74}#) 7ffff525?>)

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?

-- 
Christopher Howard
my gemini capsule: gemini://gem.librehacker.com
gemini browser: https://git.skyjake.fi/gemini/lagrange/releases




             reply	other threads:[~2021-07-02 15:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-02 15:29 Christopher Howard [this message]
2021-07-02 21:16 ` Broken Guix Pull Maxim Cournoyer
2021-07-02 22:16   ` Tobias Geerinckx-Rice
2021-07-02 22:56     ` Christopher Howard
2021-07-03  5:17       ` Christopher Howard
2021-07-03  5:59         ` Christopher Howard
  -- strict thread matches above, loose matches on Subject: below --
2016-12-18 20:20 Broken guix pull Dmitri Anikin
2016-12-18 20:30 ` David Craven
2016-12-18 21:03   ` David Craven
2016-12-18 21:16 ` Leo Famulari
2016-12-19 11:34 ` Dmitri Anikin
2016-12-19 15:14   ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=108f3785c51075f3517164e3956a4a38e99e7e75.camel@librehacker.com \
    --to=christopher@librehacker.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).