Subject: Re: bug#30825: Building disk-image fails

From: [email-masked] (Ludovic Courtès)
Date: Thu, 15 Mar 2018 16:29:18 +0100

Hello,

Andreas Enge <[email-masked]> skribis:

> Formatting '/gnu/store/gqv4i2hamajyqzrdlx90yg3wf49jz6ll-disk-image', fmt=raw size=1053507739
> Backtrace:
>            2 (primitive-load "/gnu/store/50h7i8w32jxfawm8cdry7ingf1n?")
> In ./gnu/build/vm.scm:
>     163:4  1 (load-in-linux-vm _ #:output _ #:qemu _ #:memory-size _ ?)
> In unknown file:
>            0 (scm-error misc-error #f "~A ~S" ("qemu failed" "qem?") #)
>
> ERROR: In procedure scm-error:
> qemu failed "qemu-system-arm"
> builder for `/gnu/store/vd8bx5jd868mnhm0mdj8zgjsvjakzh4y-disk-image.drv' failed with exit code 1

Building an image on ARM, *that’s* bleeding edge!  :-)

Could you do:

  guix gc --references /gnu/store/vd8bx5jd868mnhm0mdj8zgjsvjakzh4y-disk-image.drv | grep disk-image-builder

and try to run the qemu-system-arm command that appears there with the
arguments that from gnu/build/vm.scm line 163?

Mathieu came up with that code and might have a better idea though.  :-)

Thanks,
Ludo’.