guix pack "cross-compilation not implemented here"

  • Open
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Nathan Dehnel
Owner
unassigned
Submitted by
Nathan Dehnel
Severity
normal
N
N
Nathan Dehnel wrote on 5 Mar 2023 01:33
(name . Tobias Geerinckx-Rice via Bug reports for GNU Guix)(address . bug-guix@gnu.org)
CAEEhgEvBw_+j5iEm9Vz60df=iHkhDW=h0E2KpHWQcQ_e7yjwvg@mail.gmail.com
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 'bug-guix@gnu.org'
L
L
Ludovic Courtès wrote on 6 Mar 2023 23:44
(name . Nathan Dehnel)(address . ncdehnel@gmail.com)(address . 61971@debbugs.gnu.org)
87mt4pfqku.fsf@gnu.org
Hi,

Nathan Dehnel <ncdehnel@gmail.com> skribis:

Toggle quote (14 lines)
> 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 'bug-guix@gnu.org'

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’.
?