* Update on bug#59196: `guix pull` fails on A20-OLinuXino-LIME2-eMMC
[not found] ` <87zfo2s3bk.fsf@gmail.com>
@ 2024-11-27 8:46 ` Tanguy LE CARROUR
2024-11-28 15:27 ` Tanguy LE CARROUR
0 siblings, 1 reply; 2+ messages in thread
From: Tanguy LE CARROUR @ 2024-11-27 8:46 UTC (permalink / raw)
To: 59196; +Cc: Guix Help
Hi Guix,
After few… years (😵!?) I gave another try to Guix on A20-OLinuXino-LIME2.
Here is how it went…
I installed the latest Armbian (`25.2.0-trunk.72 bookworm`) on a new SD.
I updated the package list and then… `guix pull`!
83860 new commits and 7 hours later it successfully finished! 🎉
This is already better than last time!
Than, I tried to build the installation image:
```
$ guix system image --system=armhf-linux -e '((@ (gnu system install) os-with-u-boot) (@ (gnu system install) installation-os) "A20-OLinuXino-Lime2")'
Mise à jour du canal « guix » depuis le dépôt Git « https://git.savannah.gnu.org/git/guix.git »...
substitute: mise à jour des substituts depuis « https://ci.guix.gnu.org »... 100.0 %
substitute: mise à jour des substituts depuis « https://bordeaux.guix.gnu.org »... 100.0 %
substitute: mise à jour des substituts depuis « https://ci.guix.gnu.org »... 100.0 %
substitute: mise à jour des substituts depuis « https://bordeaux.guix.gnu.org »... 100.0 %
substitute: mise à jour des substituts depuis « https://ci.guix.gnu.org »... 100.0 %
substitute: mise à jour des substituts depuis « https://bordeaux.guix.gnu.org »... 100.0 %
construction de /gnu/store/0nibhnjnvicz8j9vpnmd3cmff395nfww-config.scm.drv...
construction de /gnu/store/7whyplznhnkmsjwfqm85bdw44yz6v133-git.scm.drv...
construction de /gnu/store/q45178ins451323zfmhajswzmh0k47b7-hash.scm.drv...
construction de /gnu/store/ac3siz1a847aslxfbnw6hfhbdkxz79vr-module-import.drv...
construction de /gnu/store/zqs7axm2gc68fr6pnlr18k7zdmii5hxz-module-import.drv...
construction de /gnu/store/7shg17mgalpbrfdpbw80jy3cjafmr2b1-module-import-compiled.drv...
construction de /gnu/store/m1r2036l5r3dms4lsgyqqk8v71zyfzrq-module-import-compiled.drv...
construction de /gnu/store/xnfzrk0cxg405d463j7xl5y767xf3xaw-compute-guix-derivation.drv...
Computing Guix derivation for 'armhf-linux'... /
susubstitute: mise à jour des substituts depuis « https://ci.guix.gnu.org »... 0.0 %Backtrace:
substitute: In ice-9/boot-9.scm:
substitute: 1752:10 17 (with-exception-handler _ _ #:unwind? _ # _)
substitute: In unknown file:
substitute: 16 (apply-smob/0 #<thunk b6745290>)
substitute: In ice-9/boot-9.scm:
substitute: 724:2 15 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
substitute: In ice-9/eval.scm:
substitute: 619:8 14 (_ #(#(#<directory (guile-user) b673a6e0>)))
substitute: In guix/ui.scm:
substitute: 2275:7 13 (run-guix . _)
substitute: 2238:10 12 (run-guix-command _ . _)
substitute: In ice-9/boot-9.scm:
substitute: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
substitute: 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
substitute: In guix/scripts/substitute.scm:
substitute: 842:18 9 (_)
substitute: 348:26 8 (process-query #<output: file 4> _ #:cache-urls _ #:acl _)
substitute: In guix/substitutes.scm:
substitute: 365:27 7 (lookup-narinfos/diverse _ _ #<procedure b678d380 at g…> …)
substitute: 322:31 6 (lookup-narinfos _ _ #:open-connection _ # _)
substitute: 245:26 5 (fetch-narinfos _ _ #:open-connection _ # _)
substitute: In ice-9/boot-9.scm:
substitute: 1685:16 4 (raise-exception _ #:continuable? _)
substitute: 1685:16 3 (raise-exception _ #:continuable? _)
substitute: 1780:13 2 (_ #<&compound-exception components: (#<&error> #<&orig…>)
substitute: 1685:16 1 (raise-exception _ #:continuable? _)
substitute: 1685:16 0 (raise-exception _ #:continuable? _)
substitute:
substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception:
substitute: In procedure write_wait_fd: unimplemented
guix system: erreur : `/usr/bin/guix substitute' died unexpectedly
```
😞
Plan B was to try to install Guix on the same drive following Julien’s blog post [1],
but I have no idea what a proper OLinuXino-Lime2 system config file
should look like!? For instance, what should the `bootloader` section be?! 🤔
[1]: https://guix.gnu.org/blog/2019/guix-on-an-arm-board/
Any help, idea or advice would be welcome!
Best regards,
--
Tanguy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Update on bug#59196: `guix pull` fails on A20-OLinuXino-LIME2-eMMC
2024-11-27 8:46 ` Update on bug#59196: `guix pull` fails on A20-OLinuXino-LIME2-eMMC Tanguy LE CARROUR
@ 2024-11-28 15:27 ` Tanguy LE CARROUR
0 siblings, 0 replies; 2+ messages in thread
From: Tanguy LE CARROUR @ 2024-11-28 15:27 UTC (permalink / raw)
To: 59196; +Cc: Guix Help
Hi Guix,
Quoting Tanguy LE CARROUR (2024-11-27 09:46:55)
> Than, I tried to build the installation image:
>
> ```
> $ guix system image --system=armhf-linux -e '((@ (gnu system install) os-with-u-boot) (@ (gnu system install) installation-os) "A20-OLinuXino-Lime2")'
> # […]
> substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> substitute: In procedure write_wait_fd: unimplemented
> guix system: erreur : `/usr/bin/guix substitute' died unexpectedly
> ```
Following Julien’s advice about cross compilation, I gave the installer
another try on a different computer having `qemu-binfmt-service`:
```
$ guix system image --system=armhf-linux -e '((@ (gnu system install) os-with-u-boot) (@ (gnu system install) installation-os) "A20-OLinuXino-Lime2")'
# […]
building profile with 67 packages...
building /gnu/store/jx91y3vgadsr5fws7mqy5f3qqfxsrkng-shepherd.conf.drv...
building /gnu/store/zj9zg12lgr4ra8z01rf0kv29yaalck6m-boot.drv...
building /gnu/store/nnsvxis20dzyk8i3qd96y5pzpxcs3b4v-system.drv...
building /gnu/store/7jixbpwbzh0s0wyzll52gz7arp816923-extlinux.conf.drv...
building /gnu/store/24q8s96pwv4f92zdrnix4vc4yy9psi6p-partition.img.drv...
building /gnu/store/aipny3nzjvdqr3kclfihgwgps20cpgvc-partition.img.drv...
/builder for `/gnu/store/aipny3nzjvdqr3kclfihgwgps20cpgvc-partition.img.drv' failed with exit code 1
build of /gnu/store/aipny3nzjvdqr3kclfihgwgps20cpgvc-partition.img.drv failed
View build log at '/var/log/guix/drvs/ai/pny3nzjvdqr3kclfihgwgps20cpgvc-partition.img.drv.gz'.
cannot build derivation `/gnu/store/0z9dbgl5j42h8q75v4kcp06d81jbhvv8-genimage.cfg.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/374xpp5n2pgdlrryrgfgmv6ij1ypw6z5-disk-image.drv': 1 dependencies couldn't be built
guix system: error: build of `/gnu/store/374xpp5n2pgdlrryrgfgmv6ij1ypw6z5-disk-image.drv' failed
```
```
$ gunzip -c /var/log/guix/drvs/ai/pny3nzjvdqr3kclfihgwgps20cpgvc-partition.img.drv.gz
Backtrace:
3 (primitive-load "/gnu/store/k1anny1qpdzqc9hzjlhhkvda8fx…")
In ice-9/eval.scm:
619:8 2 (_ #(#<directory (guile-user) 40d55690> #<procedure …> …))
In gnu/build/bootloader.scm:
110:4 1 (install-efi-loader "/gnu/store/kr9m50jjpklxi9ad0ykakd…" …)
85:35 0 (install-efi "/gnu/store/kr9m50jjpklxi9ad0ykakdv0kzisx…" …)
gnu/build/bootloader.scm:85:35: In procedure install-efi:
In procedure car: Wrong type (expecting pair): #<unspecified>
environment variable `PATH' set to `/gnu/store/sc173ffgsdx6574scy64ci06hacbp0lm-dosfstools-4.2/sbin:/gnu/store/81q8rhh52k21zihq93yd12v0grlg06ql-fakeroot-1.35.1/bin:/gnu/store/hax2740g316y4qq2vy1qb14s4bmq0176-mtools-4.0.45/bin'
```
*ERF* 😞… so frustrating! 😱
Next attempt: install Guix System on top of the host distro’ and
offloading build to a remote server having `qemu-binfmt-service`!… 🤞
--
Tanguy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-28 15:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <166818920030.11941.18086085314230182732@localhost>
[not found] ` <87mskfbjiu.fsf@gmail.com>
[not found] ` <172612283660.3530.5791417112964122705@bioneland.org>
[not found] ` <87zfo2s3bk.fsf@gmail.com>
2024-11-27 8:46 ` Update on bug#59196: `guix pull` fails on A20-OLinuXino-LIME2-eMMC Tanguy LE CARROUR
2024-11-28 15:27 ` Tanguy LE CARROUR
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).