From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: Re: Qemu binfmt on foreign distro Date: Sat, 23 Nov 2019 19:29:28 +0100 Message-ID: <87tv6uzbsn.fsf@gmail.com> References: <87wobt1rb8.fsf@gmail.com> <875zja1n1f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42773) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYaAA-0005RF-Td for guix-devel@gnu.org; Sat, 23 Nov 2019 13:29:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYaA9-0004gB-MF for guix-devel@gnu.org; Sat, 23 Nov 2019 13:29:42 -0500 In-reply-to: <875zja1n1f.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Hello Ludo, > How did you get ENOENT? Was it because you had installed qemu/binfmt > support from the host distro, and thus /usr/bin/qemu-whatever wasn=E2=80= =99t > found? Yes that's it. mathieu@cervin:~$ ls /proc/sys/fs/binfmt_misc/ -al total 0 -rw-r--r-- 1 root root 0 nov. 23 19:27 qemu-aarch64 -rw-r--r-- 1 root root 0 nov. 23 19:27 qemu-arm ... > > How does it fail exactly, and what do you have in > /proc/sys/fs/binfmt_misc? > > On Guix System, I get the expected behavior: > > --8<---------------cut here---------------start------------->8--- > $ sudo herd stop qemu-binfmt > Service qemu-binfmt has been stopped. > $ guix build -s aarch64-linux hello --check > La jena derivo estos konstruata: > /gnu/store/3j4nj1y86szk6ibaqp4yc09m2p1xmkr5-hello-2.10.drv > building /gnu/store/3j4nj1y86szk6ibaqp4yc09m2p1xmkr5-hello-2.10.drv... > @ unsupported-platform /gnu/store/3j4nj1y86szk6ibaqp4yc09m2p1xmkr5-hello-= 2.10.drv aarch64-linux > while setting up the build environment: a `aarch64-linux' is required to = build `/gnu/store/3j4nj1y86szk6ibaqp4yc09m2p1xmkr5-hello-2.10.drv', but I a= m a `x86_64-linux' > builder for `/gnu/store/3j4nj1y86szk6ibaqp4yc09m2p1xmkr5-hello-2.10.drv' = failed with exit code 1 > build of /gnu/store/3j4nj1y86szk6ibaqp4yc09m2p1xmkr5-hello-2.10.drv failed > View build log at '/var/log/guix/drvs/3j/4nj1y86szk6ibaqp4yc09m2p1xmkr5-h= ello-2.10.drv.bz2'. > guix build: error: build of `/gnu/store/3j4nj1y86szk6ibaqp4yc09m2p1xmkr5-= hello-2.10.drv' failed > --8<---------------cut here---------------end--------------->8--- > > Thanks, > Ludo=E2=80=99.