public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'MOESSBAUER, Felix' via isar-users" <isar-users@googlegroups.com>
To: "isar-users@googlegroups.com" <isar-users@googlegroups.com>
Cc: "anaumann@emlix.com" <anaumann@emlix.com>,
	"Schmidt, Adriaan" <adriaan.schmidt@siemens.com>,
	"Kiszka, Jan" <jan.kiszka@siemens.com>,
	"Schwarz, Konrad" <konrad.schwarz@siemens.com>
Subject: Re: [PATCH v3 0/4] Only build arch=all package from -native variant
Date: Tue, 26 May 2026 09:32:30 +0000	[thread overview]
Message-ID: <cf7da2474ce61111fab19115ef2e282fac9b8c6c.camel@siemens.com> (raw)
In-Reply-To: <20260506121931.4167983-1-felix.moessbauer@siemens.com>

On Wed, 2026-05-06 at 14:19 +0200, Felix Moessbauer wrote:
> Architecture-all packages often cannot be built in cross mode, as their
> dependencies cannot be resolved for the host architecture. Therefore, we
> need to dispatch the build of arch=all packages from the target recipe
> to the -native variant. This introduces some side effects:
> 
> - A mixed arch=(all|any) package needs to be built twice: once in
>   cross mode for the arch=any parts, and once in -native mode for the
>   arch=all parts (p2).
> - Dependencies on arch=all packages from mixed source packages need to
>   be modeled so that consumers of a package do not need to be aware of
>   this distinction (p2).
> - The arch=all packages must be available in the apt repository used
>   during target installation (p3).
> 
> Since we now ensure that arch=all packages are only built once, we can
> safely revert the repo-split patch. Moreover, we must do so to make the
> arch=all packages available during target installation.
> 
> PS: As our multiarch code history contains numerous fix tags,
> I kindly ask everyone to test this series carefully.

Hi,

are there any news on this one? I'm running this patch series for some
time on various layers without any negative impact.

However, I also did not receive any feedback - neither positive nor
negative yet.

Best regards,
Felix

> 
> Changes since v2:
> 
> - use -archall suffix instead of -all
> - improve commit message of p2 to better reflect the changes
> 
> Changes since v1:
> 
> - model dependencies to arch=all packages via DEPENDS / PROVIDES instead
>   of an explicit dependency to -native.
> - add revert of repo-split patch
> - add testcase
> 
> Best regards,
> Felix Moessbauer
> 
> Felix Moessbauer (4):
>   mark cowsay package as architecture all
>   sbuild: do not build arch all packages on cross
>   Revert "Split up isar-apt into distro-arch specific instances"
>   add test for mixed arch all arch any packages
> 
>  RECIPE-API-CHANGELOG.md                         | 17 +++++++++++++++++
>  meta-isar/recipes-app/cowsay/cowsay_git.bb      |  2 ++
>  .../recipes-app/test-all-any/files/control      | 16 ++++++++++++++++
>  .../recipes-app/test-all-any/test-all-any.bb    | 13 +++++++++++++
>  meta/classes-recipe/dpkg.bbclass                |  3 ++-
>  meta/classes-recipe/multiarch.bbclass           |  4 ++++
>  meta/conf/bitbake.conf                          |  4 ++--
>  testsuite/citest.py                             |  3 ++-
>  8 files changed, 58 insertions(+), 4 deletions(-)
>  create mode 100644 meta-test/recipes-app/test-all-any/files/control
>  create mode 100644 meta-test/recipes-app/test-all-any/test-all-any.bb
> 
> -- 
> 2.53.0

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/cf7da2474ce61111fab19115ef2e282fac9b8c6c.camel%40siemens.com.

  parent reply	other threads:[~2026-05-26  9:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-06 12:19 'Felix Moessbauer' via isar-users
2026-05-06 12:19 ` [PATCH v3 1/4] mark cowsay package as architecture all 'Felix Moessbauer' via isar-users
2026-05-06 12:19 ` [PATCH v3 2/4] sbuild: do not build arch all packages on cross 'Felix Moessbauer' via isar-users
2026-05-06 12:19 ` [PATCH v3 3/4] Revert "Split up isar-apt into distro-arch specific instances" 'Felix Moessbauer' via isar-users
2026-05-06 12:19 ` [PATCH v3 4/4] add test for mixed arch all arch any packages 'Felix Moessbauer' via isar-users
2026-05-26  9:32 ` 'MOESSBAUER, Felix' via isar-users [this message]
2026-05-28  9:20   ` [PATCH v3 0/4] Only build arch=all package from -native variant Zhihang Wei
2026-05-28  9:21 ` Zhihang Wei

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=cf7da2474ce61111fab19115ef2e282fac9b8c6c.camel@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=adriaan.schmidt@siemens.com \
    --cc=anaumann@emlix.com \
    --cc=felix.moessbauer@siemens.com \
    --cc=jan.kiszka@siemens.com \
    --cc=konrad.schwarz@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