From: Jan Kiszka <jan.kiszka@siemens.com>
To: Felix Moessbauer <felix.moessbauer@siemens.com>,
isar-users@googlegroups.com
Subject: Re: [PATCH 1/1] fix cyclic dep on crossbuild-essential-riscv64
Date: Tue, 31 Jan 2023 07:31:59 +0100 [thread overview]
Message-ID: <9594d60d-e9a2-c9a7-6178-e3f1940bcb18@siemens.com> (raw)
In-Reply-To: <20230125100157.1863561-1-felix.moessbauer@siemens.com>
On 25.01.23 11:01, 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}"
>
...or revert 30e1c1cc51f4 again. But this one is faster. Ack.
Jan
> DEBIAN_DEPENDS = " \
> gcc-riscv64-linux-gnu, \
--
Siemens AG, Technology
Competence Center Embedded Linux
next prev parent reply other threads:[~2023-01-31 6:32 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 [this message]
2023-02-06 6:33 ` Moessbauer, Felix
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=9594d60d-e9a2-c9a7-6178-e3f1940bcb18@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=felix.moessbauer@siemens.com \
--cc=isar-users@googlegroups.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