Subject: Re: bug#61971: guix pack "cross-compilation not implemented here"

From: Ludovic Courtès <[email-masked]>
Date: Mon, 06 Mar 2023 23:44:01 +0100

Hi,

Nathan Dehnel <[email-masked]> skribis:

> This command fails with guix 6a1464b:
>
> guix pack -RR --target=aarch64-linux-gnu -S /bin=bin btrfs-progs
> hint: Consider installing the `glibc-locales' package and defining
> `GUIX_LOCPATH', along these lines:
>
>     guix install glibc-locales
>     export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
>
> See the "Application Setup" section in the manual, for more info.
>
> guix pack: error: cross-compilation not implemented here;
> please email [email-masked]'

Specifically, ‘-R’ (relocatable packs) does not support
cross-compilation (see guix/scripts/pack.scm if you’re curious).

If that’s an option for you, you can omit ‘-RR’ from the command line.

Anyhow, we take note that someone hit this limitation and that we now
have to do something about it.  :-)

Thanks,
Ludo’.