Hi Guix,
On my journey to `build` and `deploy` Guix System on my LIME2s, I stumbled
across yet another "funny" problem, while running the following command:
```sh
guix time-machine --channels=asura_channels.scm -- \
system image images/asura.scm --no-offload --load-path=modules/
--system=armhf-linux --root=asura.img
```
This command works fine on my other computer at work (same channels, same image
definition),
but at home I get:
```console
# …
The following derivations will be built:
/gnu/store/xnl6m4cv1xwswl7k6rh9ksd5a8v0ybd3-partition.img.drv
/gnu/store/4b4dvqnvyhz4ijp14b4g3ma9zw78icqa-genimage.cfg.drv
/gnu/store/na4bma8j39bw0dv06hldhka8138b3pax-asura-raw-image.drv
building /gnu/store/xnl6m4cv1xwswl7k6rh9ksd5a8v0ybd3-partition.img.drv...
/builder for `/gnu/store/xnl6m4cv1xwswl7k6rh9ksd5a8v0ybd3-partition.img.drv'
failed with exit code 1
build of /gnu/store/xnl6m4cv1xwswl7k6rh9ksd5a8v0ybd3-partition.img.drv failed
View build log at
'/var/log/guix/drvs/xn/l6m4cv1xwswl7k6rh9ksd5a8v0ybd3-partition.img.drv.gz'.
cannot build derivation
`/gnu/store/4b4dvqnvyhz4ijp14b4g3ma9zw78icqa-genimage.cfg.drv': 1 dependencies
couldn't be built
cannot build derivation
`/gnu/store/na4bma8j39bw0dv06hldhka8138b3pax-asura-raw-image.drv': 1
dependencies couldn't be built
guix system: error: build of
`/gnu/store/na4bma8j39bw0dv06hldhka8138b3pax-asura-raw-image.drv' failed
$ gunzip -c
/var/log/guix/drvs/xn/l6m4cv1xwswl7k6rh9ksd5a8v0ybd3-partition.img.drv.gz
copying 375 store items ▕▊
▏i/o error: /gnu/store/s9w771v12s91f7hf1zl6dm23b5w2fq13-timezone: Value too
large for defined data type
copying 375 store items ▕█▊
▏i/o error: /gnu/store/h4hfxc18n229wy1xx0s2l7d07k9ya369-os-release: Value too
large for defined data type
i/o error: /gnu/store/gw0zr7lkidi8iifxqcp907yc75j3l5jf-bashrc: Value too large
for defined data type
copying 375 store items ▕██████▍
▏i/o error: /gnu/store/d7c4kdc4qkwkg9j6jwfxjqi3pxfznaqa-issue: Value too large
for defined data type
copying 375 store items ▕███████▉
▏i/o error: /gnu/store/7a45y7yrx7srl09hsi0lqbmj2lwii2p1-login.defs: Value too
large for defined data type
copying 375 store items
registering 374 items ▕▊
▏Backtrace:
12 (primitive-load "/gnu/store/26yd96idrg04kd46y003gmq4cn5…")
In ice-9/eval.scm:
619:8 11 (_ #(#<directory (guile-user) 40def690> #<procedure …> …))
In gnu/build/image.scm:
333:4 10 (initialize-root-partition "tmp-root" #:bootcfg _ # _ # …)
In ice-9/boot-9.scm:
260:13 9 (for-each #<procedure 46a64390 at gnu/build/image.scm:…> …)
In gnu/build/image.scm:
264:6 8 (register-closure "tmp-root" "system" #:schema _ # _)
In guix/store/database.scm:
113:20 7 (call-with-database "tmp-root/var/guix/db/db.sqlite" # # …)
In guix/progress.scm:
72:36 6 (call-with-progress-reporter #<<progress-reporter> sta…> …)
In srfi/srfi-1.scm:
634:9 5 (for-each #<procedure 472ef640 at guix/store/database.…> …)
In guix/store/database.scm:
369:36 4 (_ #<<store-info> item: "/gnu/store/s9w771v12s91f7hf1zl…>)
In guix/store/deduplication.scm:
43:4 3 (nar-sha256 "tmp-root/gnu/store/s9w771v12s91f7hf1zl6dm2…")
In guix/serialization.scm:
363:6 2 (dump "tmp-root/gnu/store/s9w771v12s91f7hf1zl6dm23b5w2f…")
296:34 1 (_ "tmp-root/gnu/store/s9w771v12s91f7hf1zl6dm23b5w2fq13…")
In unknown file:
0 (lstat "tmp-root/gnu/store/s9w771v12s91f7hf1zl6dm23b5w2…")
ERROR: In procedure lstat:
In procedure lstat: No such file or directory:
"tmp-root/gnu/store/s9w771v12s91f7hf1zl6dm23b5w2fq13-timezone"
registering 374 items
environment variable `PATH' set to
`/gnu/store/z9xb0qxws2bymg0rlvmnc4vv425cr2y2-e2fsprogs-1.47.2/bin:/gnu/store/z9xb0qxws2bymg0rlvmnc4vv425cr2y2-e2fsprogs-1.47.2/sbin:/gnu/store/nmwjpyfzng4dyxa5x0y97sxwsyhfi638-fakeroot-1.37.1.2/bin'
```
I guess the `No such file` error is related to the `i/o error` at the top, but
I don’t know
what to do with that! 😞
Any help would be welcome!
Thanks,
--
Tanguy