Subject: Re: bug#66866: aarch64 system cross compilation + pinebook pro image broken?

From: Mathieu Othacehe <[email-masked]>
Date: Sat, 13 Jan 2024 19:41:51 +0100

> The issue seems to be that grafting ends-up dragging the bootstrap
> packages into the closure when cross-compiling which is quite scary.

I could narrow it down somehow.

This commands drags the bootstrap and fails:

--8<---------------cut here---------------start------------->8---
guix build --target=<any-target> alsa-lib 
--8<---------------cut here---------------end--------------->8---

while this one doesn't:

--8<---------------cut here---------------start------------->8---
guix build --target=<any-target> alsa-lib --no-grafts
--8<---------------cut here---------------end--------------->8---

Not sure how to go further. Adding Ludo and Efraim.

Thanks,

Mathieu