Subject: bug#61732: "Unbound variable: %build-inputs

From: Ludovic Courtès <[email-masked]>
Date: Mon, 27 Feb 2023 22:17:14 +0100

Hi Wicki,

"Wicki Gabriel (wicg)" <[email-masked]> skribis:

> Sorry, that last email was sent a little too early.
>
>
> I tried said cross-compilation with this command: `guix build perl-gd --target=aarch64-linux-gnu` and could provoke the same error message also with perl-commonmark​.
>
> It also happens with riscv64-linux-gnu and arm-linux-gnueabihf as target (i haven't tested all of them, though).

This issue was fixed (or rather sidestepped) a few days ago with this
commit:

  d00c2e9c2b * services: console-font, kmscon: Refer to native 'font-gnu-unifont' builds.

Assuming you stumbled upon this error while cross-building a system
image with ‘guix system image --target=aarch64-linux-gnu’ or similar,
the problem is now solved.

If you really want to cross-build ‘perl-gd’, then we’re not there yet
but I think Maxim made some progress on this front.

HTH,
Ludo’.