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

2024-04-10 Thread dan
Hi David, Thanks for the reply. Apr 11, 2024 04:50:03 David Elsing : Can we put everything inside build-inputs?  From my understanding, copy-build-system shouldn't care about cross-compilation at all. I understand it that way too. In guix/build-system.scm, it is mentioned that

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

2024-04-10 Thread David Elsing
Hi dan, sorry for the late reply. I didn't yet find the reason why different bootstrap packages are built for the cross build when grafts are applied. This seems possibly like another bug to me, as the package inputs which use copy-build-system do not contain store references and it does not

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

2024-04-10 Thread dan
Hi all, I would really appreciate if anyone could give some feedback on my previous patch to the copy build system. -- dan

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

2024-03-18 Thread dan
Hi David, Thanks for sharing your discovery. David Elsing writes: Starting from alsa-lib, I narrowed it down further. I found that the problem is actually when an input of the package uses copy-build-system. I spent some time digging into the rabbit hole. After changing the lower

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

2024-02-11 Thread David Elsing
Hello, Mathieu Othacehe writes: > I could narrow it down somehow. Starting from alsa-lib, I narrowed it down further. I found that the problem is actually when an input of the package uses copy-build-system. In the following example, the cross-compilation (with --target=x86_64-linux-gnu) for

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

2024-01-13 Thread Mathieu Othacehe
> 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

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

2024-01-13 Thread Mathieu Othacehe
Hey, > ./pre-inst-env guix system build --target=aarch64-linux-gnu > gnu/system/images/pine64.scm > > > which cause an issue in gawk-mesboot: > > checking host system type... Invalid configuration `aarch64-linux-gnu': > machine `aarch64' not recognized > configure: error: >

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

2024-01-03 Thread Mathieu Othacehe
Hello, I can reproduce the error by running: --8<---cut here---start->8--- ./pre-inst-env guix system build --target=aarch64-linux-gnu gnu/system/images/pine64.scm --8<---cut here---end--->8--- which cause an issue in

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

2023-12-31 Thread Lars Rustand
Hello, bumping this issue since there has been no activity for a while and this error is still present. I get the exact same error as Denis when building any Pine64 images. Building with --system=aarch64-linux instead of --target=aarch64-linux-gnu works, but this is very much slower. This is

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

2023-11-09 Thread dan
Hi Josselin, Josselin Poiret writes: Could you post some more details about what you mean by "couldn't work"? What exactly is failing, and with what logs? I was testing it with a cloned guix repo on my disk, opening a shell with "guix shell -D guix git". when checkout to the following

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

2023-11-09 Thread Josselin Poiret via Bug reports for GNU Guix
Hi dan, dan writes: > with git bisect i found after this commit the cross-compilation > couldn't work anymore: Could you post some more details about what you mean by "couldn't work"? What exactly is failing, and with what logs? Best, -- Josselin Poiret signature.asc Description: PGP

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

2023-11-06 Thread dan
with git bisect i found after this commit the cross-compilation couldn't work anymore: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=1328c4cca531318e3ed90c6aecb522a5b22a4bcc i think this is beyond my ability to understand why it breaks, but if anyone could take a look at this it would

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

2023-10-31 Thread Denis 'GNUtoo' Carikli
Hi, With: > $ guix describe > Generation 311nov. 01 2023 00:03:34 (current) > guix 938a47c > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 938a47c86d7bea785f33f42834c5c1f3dfa594b0 And the following minimalist system configuration: >