GNU bug report logs - #66866
Grafting breaks cross-compilation

Previous Next

Package: guix;

Reported by: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>

Date: Wed, 1 Nov 2023 01:57:01 UTC

Severity: important

Full log


View this message in rfc822 format

From: David Elsing <david.elsing <at> posteo.net>
To: dan <i <at> dan.games>, 66866 <at> debbugs.gnu.org
Cc: Mathieu Othacehe <othacehe <at> gnu.org>, dev <at> jpoiret.xyz, ludo <at> gnu.org, efraim <at> flashner.co.il, janneke <at> gnu.org
Subject: bug#66866: aarch64 system cross compilation + pinebook pro image broken?
Date: Wed, 10 Apr 2024 20:49:55 +0000
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 happen when they themselves are built with grafts.

dan <i <at> dan.games> writes:

> 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 build/host/target are used in the sense of the GNU toolchain [1].
There, "build" is the system used for building and "host" is the target
system for which the package is built. I guess this was confused when
copy-build-system was added [2].

Cheers,
David

[1] https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/html_node/Specifying-Target-Triplets.html
[2] https://issues.guix.gnu.org/39599




This bug report was last modified 1 year and 38 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.