all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: dan <i@dan.games>
Cc: Josselin Poiret <dev@jpoiret.xyz>,
	66866@debbugs.gnu.org, Jan Nieuwenhuizen <janneke@gnu.org>
Subject: bug#66866: aarch64 system cross compilation + pinebook pro image broken?
Date: Sat, 13 Jan 2024 18:55:23 +0100	[thread overview]
Message-ID: <871qal6ruc.fsf@gnu.org> (raw)
In-Reply-To: <87o7e2zt0c.fsf@gnu.org> (Mathieu Othacehe's message of "Wed, 03 Jan 2024 10:05:39 +0100")


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: /gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash ./config.sub aarch64-linux-gnu failed
>
> Janneke, do you know what could have caused this regression?

This probably has nothing to do with the bootstrap packages. I noticed
that the CI succeeds in building the pine64 image:
https://ci.guix.gnu.org/build/3265001/details.

The difference is that the CI is building without grafting. Disabling
grafting locally, seems to do the trick as well:

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix system image gnu/system/images/pine64.scm  --no-grafts
--8<---------------cut here---------------end--------------->8---

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

Mathieu




  reply	other threads:[~2024-01-13 18:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-01  1:55 bug#66866: aarch64 system cross compilation + pinebook pro image broken? Denis 'GNUtoo' Carikli
2023-11-06 17:55 ` dan
2023-11-09 11:41   ` Josselin Poiret via Bug reports for GNU Guix
2023-11-09 12:23     ` dan
2024-01-03  9:05       ` Mathieu Othacehe
2024-01-13 17:55         ` Mathieu Othacehe [this message]
2024-01-13 18:41           ` Mathieu Othacehe
2024-02-11 19:34             ` David Elsing
2024-03-18 17:30               ` dan
2024-04-10  6:44                 ` dan
2024-04-10 20:49                   ` David Elsing
2024-04-11  4:59                     ` dan
2024-05-01 21:39                 ` bug#66866: Grafting breaks cross-compilation Ludovic Courtès
2024-05-12 15:39                   ` [bug#70492] " David Elsing
2023-12-31 13:23 ` bug#66866: aarch64 system cross compilation + pinebook pro image broken? Lars Rustand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qal6ruc.fsf@gnu.org \
    --to=othacehe@gnu.org \
    --cc=66866@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=i@dan.games \
    --cc=janneke@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.