* bug#61795: “guix deploy” doesn’t build all derivations remotely
@ 2023-02-25 21:49 Ricardo Wurmus
0 siblings, 0 replies; only message in thread
From: Ricardo Wurmus @ 2023-02-25 21:49 UTC (permalink / raw)
To: 61795
[-- Attachment #1: Type: text/plain, Size: 103 bytes --]
I’m running “guix deploy deploy.scm” on a x86_64 host. The deploy.scm
file looks like this:
[-- Attachment #2: deploy.scm --]
[-- Type: application/octet-stream, Size: 478 bytes --]
(list
(machine
(operating-system (load "config.scm"))
(environment managed-host-environment-type)
(configuration (machine-ssh-configuration
(port 1022)
(user "rekado")
(build-locally? #false)
(system "aarch64-linux")
(host-key
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBLdEigUV/EehmdclIq7zHVK1oiEInwC56tzw+9CB9L9")
(host-name "192.168.178.20")))))
[-- Attachment #3: Type: text/plain, Size: 2916 bytes --]
The target machine architecture is aarch64-linux, and the x86_64 host
cannot offload to any aarch64-linux machines. The machine declaration
has the “build-locally?” property set to #false. The manual says:
‘build-locally?’ (default: ‘#t’)
If false, system derivations will be built on the machine
being deployed to.
Not all derivations are built on the target machine, though:
--8<---------------cut here---------------start------------->8---
$ guix deploy deploy.scm
The following 1 machine will be deployed:
elephly
guix deploy: deploying to elephly...
guix deploy: sending 0 store items (0 MiB) to '192.168.178.20'...
guix deploy: sending 0 store items (0 MiB) to '192.168.178.20'...
guix deploy: warning: the following accounts appear more than once: mpd
guix deploy: warning: the following accounts appear more than once: mpd
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivation will be built:
/gnu/store/4cpy9hlikcqddydl5dh02lnxdqn67nzb-linux-libre-arm64-generic-with-midi-6.1.13.drv
8.1 MB will be downloaded
guile-static-stripped-3.0.9 6.7MiB 2.3MiB/s 00:03 ▕██████████████████▏ 100.0%
e2fsprogs-1.46.4 1.1MiB 2.3MiB/s 00:00 ▕██████████████████▏ 100.0%
building /gnu/store/4cpy9hlikcqddydl5dh02lnxdqn67nzb-linux-libre-arm64-generic-with-midi-6.1.13.drv...
|builder for `/gnu/store/4cpy9hlikcqddydl5dh02lnxdqn67nzb-linux-libre-arm64-generic-with-midi-6.1.13.drv' failed with exit code 1
build of /gnu/store/4cpy9hlikcqddydl5dh02lnxdqn67nzb-linux-libre-arm64-generic-with-midi-6.1.13.drv failed
View build log at '/var/log/guix/drvs/4c/py9hlikcqddydl5dh02lnxdqn67nzb-linux-libre-arm64-generic-with-midi-6.1.13.drv.gz'.
guix deploy: error: build of `/gnu/store/4cpy9hlikcqddydl5dh02lnxdqn67nzb-linux-libre-arm64-generic-with-midi-6.1.13.drv' failed
--8<---------------cut here---------------end--------------->8---
These are the contents of the build log:
--8<---------------cut here---------------start------------->8---
@ unsupported-platform /gnu/store/4cpy9hlikcqddydl5dh02lnxdqn67nzb-linux-libre-arm64-generic-with-midi-6.1.13.drv aarch64-linux
while setting up the build environment: a `aarch64-linux' is required to build `/gnu/store/4cpy9hlikcqddydl5dh02lnxdqn67nzb-linux-libre-arm64-generic-with-midi-6.1.13.drv', but I am a `x86_64-linux'
--8<---------------cut here---------------end--------------->8---
It is also of note that a build of this derivation is attempted even
though it has successfully been built on the target machine.
--
Ricardo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-25 21:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-25 21:49 bug#61795: “guix deploy” doesn’t build all derivations remotely Ricardo Wurmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).