unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 42569@debbugs.gnu.org
Subject: bug#42569: 'No such file or directory builder' error while building with qemu-binfmt and --system=aarch64-linux
Date: Mon, 27 Jul 2020 21:53:43 -0400	[thread overview]
Message-ID: <87tuxse76g.fsf@gmail.com> (raw)

Hello!

I just encountered the following error while trying to build on master
(commit 2bd84c50ff7a8dafe83b6aa89cd0f01d5282c621) with:

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix build --system=aarch64-linux lib2geom

The following derivation will be built:
   /gnu/store/vs11h35gq7fi90bm0h4ygi7ak4ihkck8-lib2geom-1.0-1.42e119d.drv
building /gnu/store/vs11h35gq7fi90bm0h4ygi7ak4ihkck8-lib2geom-1.0-1.42e119d.drv...
while setting up the build environment: executing `/gnu/store/x3gq648qnfnla7nppyfjvj62s2i8y7rl-guile-3.0.2/bin/guile': No such file or directory
builder for `/gnu/store/vs11h35gq7fi90bm0h4ygi7ak4ihkck8-lib2geom-1.0-1.42e119d.drv' failed with exit code 1
build of /gnu/store/vs11h35gq7fi90bm0h4ygi7ak4ihkck8-lib2geom-1.0-1.42e119d.drv failed
View build log at '/var/log/guix/drvs/vs/11h35gq7fi90bm0h4ygi7ak4ihkck8-lib2geom-1.0-1.42e119d.drv.bz2'.
guix build: error: build of
   `/gnu/store/vs11h35gq7fi90bm0h4ygi7ak4ihkck8-lib2geom-1.0-1.42e119d.drv' failed
--8<---------------cut here---------------end--------------->8---

The build log doesn't contain any more than the above no such file or
directory error. Retrying the same commands leads to the same error
message.

The build machine is an offload Guix System machine running the
qemu-binfmt service.

The output directory,
/gnu/store/3c0ihmfpazx3hkwyq3k0w8cdfi5ijdg4-lib2geom-1.0-1.42e119d
doesn't exist yet, but I guess that's normal.

A previous error (with the same message) when attempting to build
plotutils led me to find out that the
/gnu/store/2hibdxsj9f0zx3zilwh8phk1knk6y2fl-plotutils-2.6.tar.xz-builder
file referred to in its
/gnu/store/qcilzch61vsm9y4c3k4vbrl89g0fn8a3-plotutils-2.6.tar.xz.drv
derivation did not exist, but retrying the build succeeded.

Marius suggested restarting the guix-daemon, but it didn't resolve the
issue after running it both locally and on the remote offload machine.

A workaround was to 'guix copy /gnu/store/vs11h35gq7fi90bm0h4ygi7ak4ihkck8-lib2geom-1.0-1.42e119d.drv' then
run 'guix build
/gnu/store/vs11h35gq7fi90bm0h4ygi7ak4ihkck8-lib2geom-1.0-1.42e119d.drv'
on that remote machine.

Maxim




             reply	other threads:[~2020-07-28  1:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28  1:53 Maxim Cournoyer [this message]
2020-07-28  2:05 ` bug#42569: 'No such file or directory builder' error while building with qemu-binfmt and --system=aarch64-linux Maxim Cournoyer
2020-07-28  2:16 ` Maxim Cournoyer
2020-07-28  7:57 ` Mathieu Othacehe
2020-07-28 13:37   ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tuxse76g.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=42569@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).