[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
foreign arch build taking too long `guix build -s armhf-linux help`
From: |
Giovanni Biscuolo |
Subject: |
foreign arch build taking too long `guix build -s armhf-linux help` |
Date: |
Tue, 11 Jun 2019 17:42:46 +0200 |
Hi Guix!
I've a x86_64 build machine I configured to build for arm and aarch
architetures this way:
--8<---------------cut here---------------start------------->8---
(service qemu-binfmt-service-type
(qemu-binfmt-configuration
(platforms (lookup-qemu-platforms "arm" "aarch64"))
(guix-support? #t)))
(modify-services %base-services
(guix-service-type config =>
(guix-configuration
(inherit config)
(use-substitutes? #f)
(authorized-keys
%authorized-guix-keys)))))))
--8<---------------cut here---------------end--------------->8---
This should enable transparent build for another architecture, using no
substitutes.
To test a build I did `guix build -s armhf-linux help`; after several
hours I'm still waiting the build to complete, it seems stuck at this
build stage:
--8<---------------cut here---------------start------------->8---
[...]
/gnu/store/zxgm9xn0dgqfp6dxynklqzr27957qkis-make-boot0-4.2.1/bin/make
subdir=stdlib -C stdlib ..=../ others
make[2]: Entering directory
'/tmp/guix-build-glibc-intermediate-2.28.drv-0/glibc-2.28/stdlib'
--8<---------------cut here---------------end--------------->8---
and this process:
--8<---------------cut here---------------start------------->8---
/gnu/store/sw2rrqmjij73wcy3ajd47ypvmzh12yz6-qemu-3.1.0/bin/qemu-arm
/gnu/store/43ljk0rxwxl4c9msr4b9xwihhw6fak8v-bootstrap-binaries-0/bin/rm -f
/tmp/guix-build-glibc-intermediate-2.28.drv-0/build/stdlib/drand48.os.dt
--8<---------------cut here---------------end--------------->8---
The process run time taken from `top` now is 796:50.68 :-O
That file is still there and it seems it's not removed:
--8<---------------cut here---------------start------------->8---
~$ sudo ls -lah
/tmp/guix-build-glibc-intermediate-2.28.drv-0/build/stdlib/drand48.os.dt
-rw-r--r-- 1 guixbuilder01 guixbuild 5.7K Jun 11 04:02
/tmp/guix-build-glibc-intermediate-2.28.drv-0/build/stdlib/drand48.os.dt
--8<---------------cut here---------------end--------------->8---
Looking at /var/log/guix-daemon.log does not help.
Any hint about what's going on here and/or understanding why that
process is stuck removing that file?
Thanks! Gio'.
--
Giovanni Biscuolo
Xelera IT Infrastructures
signature.asc
Description: PGP signature
- foreign arch build taking too long `guix build -s armhf-linux help`,
Giovanni Biscuolo <=