unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Broken Guix Pull
@ 2021-07-02 15:29 Christopher Howard
  2021-07-02 21:16 ` Maxim Cournoyer
  0 siblings, 1 reply; 12+ messages in thread
From: Christopher Howard @ 2021-07-02 15:29 UTC (permalink / raw)
  To: Help Guix

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




^ permalink raw reply	[flat|nested] 12+ messages in thread
* Broken guix pull
@ 2016-12-18 20:20 Dmitri Anikin
  2016-12-18 20:30 ` David Craven
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Dmitri Anikin @ 2016-12-18 20:20 UTC (permalink / raw)
  To: help-guix

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

Hello,

When I try guix pull, it fails everytime on

Found valid signature for /gnu/store/myf7zgkj7x70gy6nf47kppva612zzbgm-module-import-compiled
From https://mirror.hydra.gnu.org/nar/myf7zgkj7x70gy6nf47kppva612zzbgm-module-import-compiled
Downloading myf7zg...-module-import-compiled (381KiB installed)...
 module-import-compiled 15KiB/s 00:06 | 92KiB transferred
hash mismatch in downloaded path `/gnu/store/myf7zgkj7x70gy6nf47kppva612zzbgm-module-import-compiled': expected e7e6fcf7f72f965d9ae46c6bfb759651d1b9f17ad19928cafa5c08405d7b14b9, got 19d0c0bcdddd67c3adf21b276d5c56edc582b0cc172eac71a1d51a3f0538d791
fetching path `/gnu/store/sk9gij7yiqka9lqymh27wzlcp7r5si2b-module-import-compiled'...
killing process 13703
guix pull: error: build failed: some substitutes for the outputs of derivation `/gnu/store/i2rwqg7iys5d31lqjw3qz0gb24z138n7-module-import-compiled.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source 

I tried curl https://mirror.hydra.gnu.org/nar/myf7zgkj7x70gy6nf47kppva612zzbgm-module-import-compiled | bunzip2 | guix archive --import and got the error
guix archive: error: build failed: input doesn't look like something created by `nix-store --export'
Thanks

[-- Attachment #2: Type: text/html, Size: 1678 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-07-03  6:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02 15:29 Broken Guix Pull Christopher Howard
2021-07-02 21:16 ` 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

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