From: "Moessbauer, Felix" <felix.moessbauer@siemens.com>
To: "isar-users@googlegroups.com" <isar-users@googlegroups.com>
Cc: "Kiszka, Jan" <jan.kiszka@siemens.com>
Subject: Re: [PATCH 1/1] fix cyclic dep on crossbuild-essential-riscv64
Date: Mon, 6 Feb 2023 06:33:29 +0000 [thread overview]
Message-ID: <1f1c9f28ea9bb50f5743b1c005fb04bf27c0acca.camel@siemens.com> (raw)
In-Reply-To: <20230125100157.1863561-1-felix.moessbauer@siemens.com>
Any news on this?
Riscv64 is still broken in next, this patch fixes it, got an Ack and
some time has passed for others to comment.
Felix
On Wed, 2023-01-25 at 10:01 +0000, Felix Moessbauer wrote:
> This patch fixes a cyclic dependency on the crossbuild-essentials,
> introduced in d90f75bd and made visible by recent chroot
> optimizations.
> The crossbuild-essential-riscv64 package is a dependency when
> building
> with sbuild for the non-native architecture. As this (meta) package
> is
> arch=all anyways, we simply build it using the native architecture
> (e.g. --host-arch amd64 on x64) to not depend on the cross-toolchain.
>
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> ---
> .../crossbuild-essential-riscv64_0.2-isar.bb | 3
> +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-devtools/crossbuild-essential-
> riscv64/crossbuild-essential-riscv64_0.2-isar.bb b/meta/recipes-
> devtools/crossbuild-essential-riscv64/crossbuild-essential-
> riscv64_0.2-isar.bb
> index 9554f1f6..c5092146 100644
> --- a/meta/recipes-devtools/crossbuild-essential-riscv64/crossbuild-
> essential-riscv64_0.2-isar.bb
> +++ b/meta/recipes-devtools/crossbuild-essential-riscv64/crossbuild-
> essential-riscv64_0.2-isar.bb
> @@ -7,6 +7,9 @@
> inherit dpkg-raw
>
> DPKG_ARCH = "all"
> +# build this package using the host toolchain
> +# to break cyclic dependency in the cross chroot
> +PACKAGE_ARCH = "${HOST_ARCH}"
>
> DEBIAN_DEPENDS = " \
> gcc-riscv64-linux-gnu, \
next prev parent reply other threads:[~2023-02-06 6:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-25 10:01 Felix Moessbauer
2023-01-31 6:31 ` Jan Kiszka
2023-02-06 6:33 ` Moessbauer, Felix [this message]
2023-02-07 8:50 ` Uladzimir Bely
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=1f1c9f28ea9bb50f5743b1c005fb04bf27c0acca.camel@siemens.com \
--to=felix.moessbauer@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox