Subject: bug#52267: disk image installer for rock64 fails

From: "pelzflorian (Florian Pelz)" <[email-masked]>
Date: Sat, 4 Dec 2021 12:39:28 +0100

On Sat, Dec 04, 2021 at 03:41:44AM +0100, pelzflorian (Florian Pelz) wrote:
> On Sat, Dec 04, 2021 at 01:03:13AM +0100, Florian Hoertlehner wrote:
> > guix system disk-image --system=aarch64-linux \ -e "(@ (gnu system install)
> > rock64-installation-os)"
> > fails with this error:
> > 
> > builder for
> > `/gnu/store/399pb3xc4pcxkclfcp1fsbxx8jy1vifq-openconnect-8.10.drv' failed
> > with exit code 1
> 
> Instead of --system=aarch64-linux maybe --target=aarch64-linux-gnu works?

I only tried on an x86_64-linux `guix build --system=aarch64-linux
openconnect`.

It failed until I added the

(service qemu-binfmt-service-type
         (qemu-binfmt-configuration
           (platforms (lookup-qemu-platforms "arm" "aarch64"))))

from the manual.

The version with --target worked and building is faster, although
maybe building the whole image might still fail, which would be a bug.

Can this issue be closed?

Regards,
Florian