unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: phodina via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Maxime Devos <maximedevos@telenet.be>
Cc: "47908@debbugs.gnu.org" <47908@debbugs.gnu.org>
Subject: bug#47908: Cross building disk image for ARM Asus C201 fails
Date: Fri, 05 Nov 2021 18:17:23 +0000	[thread overview]
Message-ID: <aSyhVqgcKC33_AkB1m9N_TFdROi1SaBil_XX4_Qr-0Pq1oYmr-f0_1DhRB4f3ea3wv7UCdyPbbTnBJ9UUPydwBQFkBGam-mFZWntVkFNLKc=@protonmail.com> (raw)
In-Reply-To: <2fad6ddd72d0d63ef42846ee21b9408958377e6a.camel@telenet.be>

Hi Maxime,

On Friday, November 5th, 2021 at 10:59 AM, Maxime Devos <maximedevos@telenet.be> wrote:

> phodina via Bug reports for GNU Guix schreef op vr 05-11-2021 om 09:24
>
> [+0000]:
>
> > Hi Martin & Maxime,
> >
> > I've tested if the system image builds after merging patches for the
> >
> > vboot-utils package.
> >
> > $ guix system build -s armhf-linux test.scm
>
> That's an emulated build (with QEMU), not a cross-build.
>
> To cross-build, something like
>
> $ guix system build --target=arm-linux-gnueabihf test.scm
>
> is necessary. Emulated builds function rather differently
>
> from cross-builds (the former mostly looks like native compilation to
>
> guix), so the former command isn't a good test.
>
> Greetings,
>
> Maxime
>

Thanks for highlighting the fact. I've intended to run the cross-compilation as you said not run "native" build in QEMU.

The command in full:

[env]$ ./pre-inst-env guix system build --target=arm-linux-gnueabihf gnu/system/examples/asus-c201.tmpl

Then again the build is successful but without the hardware I can't verify it boots successfully.

Petr




      reply	other threads:[~2021-11-05 18:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-20 11:37 bug#47908: Cross building disk image for ARM Asus C201 fails Martin via Bug reports for GNU Guix
2021-04-20 19:23 ` Maxime Devos
2021-11-05  9:24 ` phodina via Bug reports for GNU Guix
2021-11-05  9:59   ` Maxime Devos
2021-11-05 18:17     ` phodina via Bug reports for GNU Guix [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='aSyhVqgcKC33_AkB1m9N_TFdROi1SaBil_XX4_Qr-0Pq1oYmr-f0_1DhRB4f3ea3wv7UCdyPbbTnBJ9UUPydwBQFkBGam-mFZWntVkFNLKc=@protonmail.com' \
    --to=bug-guix@gnu.org \
    --cc=47908@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    --cc=phodina@protonmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).