guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building arm64 guix system image


From: Roman Scherer
Subject: Re: Building arm64 guix system image
Date: Sun, 19 Feb 2023 13:51:33 +0100
User-agent: mu4e 1.8.13; emacs 29.0.50

Hi Max,

I'm running Guix system on an Apple M1 and also run into these
issues. At the moment I'm using the following commit to build my system:

7833acab0da02335941974608510c02e2d1d8069

Roman

Max Brieiev <max.brieiev@gmail.com> writes:

> Hi,
>
> Akira Kyle <akira@akirakyle.com> writes:
>
>> I think I may be one of the few (only?) guix users that has a setup
>> like this. IIRC getting grub setup with qemu was the one trickier
>> parts of this. Feel free to ping me directly if you're having trouble.
>
> Thanks.
>
>> This is also how I got my guix system on qemu setup. For the record, I
>> initially tried fedora but iirc, selinux was causing some
>> difficulties.
>
> Was it by any chance a syslinux? It causes build failures for me right
> now. How did you work around it?
>
>> This is the relevant issue
>> https://issues.guix.gnu.org/60719. Unfortunately until this is fixed,
>> guix system won't build since grub-efi depends on qemu-minimial which
>> in turn (recently) depends on openbios-qemu-ppc.
>
> I used time-machine to go back to the parent of "Unbundle OpenBIOS"
> commit. open-bios-qemu-ppc issue is gone, but now it fails to build
> syslinux:
>
>     guix time-machine --commit=53a1fce25a -- system image 
> --system=aarch64-linux -t qcow2 
> ~/code/guix/gnu/system/examples/bare-bones.tmpl
>     ...
>     building 
> /gnu/store/gf432a4p1a3ll314g8sina9d4mis37ca-syslinux-6.04-pre-1.bb41e93.drv...
>     - 'build' phasebuilder for 
> `/gnu/store/gf432a4p1a3ll314g8sina9d4mis37ca-syslinux-6.04-pre-1.bb41e93.drv' 
> failed with exit code 1
>     build of 
> /gnu/store/gf432a4p1a3ll314g8sina9d4mis37ca-syslinux-6.04-pre-1.bb41e93.drv 
> failed
>     View build log at 
> '/var/log/guix/drvs/gf/432a4p1a3ll314g8sina9d4mis37ca-syslinux-6.04-pre-1.bb41e93.drv.gz'.
>     cannot build derivation 
> `/gnu/store/0smy079q2zsmnq0lvxw7c0amy9va3vv7-ipxe-qemu-1.21.1.drv': 1 
> dependencies couldn't be built
>     building 
> /gnu/store/i7ir5yv7ifw1rh8x20141dx4c8h7wcgd-u-boot-2022.10.tar.xz.drv...
>     cannot build derivation 
> `/gnu/store/rz143y972xmgv2gzw830b3ckm93z15l3-qemu-minimal-7.2.0.drv': 1 
> dependencies couldn't be built
>     guix system: error: build of 
> `/gnu/store/rz143y972xmgv2gzw830b3ckm93z15l3-qemu-minimal-7.2.0.drv' failed
>
> How can I proceed from here?
>
> Thank you.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]