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>,
	"cedric.hombourger@siemens.com" <cedric.hombourger@siemens.com>
Cc: "Steiger, Christoph" <christoph.steiger@siemens.com>,
	"Schmidt, Adriaan" <adriaan.schmidt@siemens.com>,
	"Kiszka, Jan" <jan.kiszka@siemens.com>
Subject: Re: [PATCH 0/2] handle DPKG_ARCH=all case for transitive deps
Date: Fri, 24 Oct 2025 07:36:55 +0000	[thread overview]
Message-ID: <8f24b7a52dd2fb330ba677850343ea4ed6f37d7f.camel@siemens.com> (raw)
In-Reply-To: <7b572ffbbd160f51fd15a737ff81c5278422e9ca.camel@siemens.com>

On Fri, 2025-10-24 at 05:34 +0000, Hombourger, Cedric (FT FDS CES LX)
wrote:
> On Wed, 2025-08-20 at 14:41 +0200, Felix Moessbauer wrote:
> > This series fixes an issue with DPKG_ARCH=all packages that have
> > dependencies to other DPKG_ARCH=all packages. Hereby, the transitive
> > packages were built for the wrong architecture. The issue became
> > apparent when testing the SBOM series by Christoph, which builds
> > packages to be used during the ISAR build (not for the final target).
> > 
> > While fixing this, another issue surfaced where files are missing in
> > dpkg-raw packages.
> 
> In my testing with downstream layers, this change caused some packages
> to be built for architectures they were not targeted for. For instance,
> I am now seeing the k3-rti-wdt firmware package [1] being built for
> both amd64 and arm64. I also had a dpkg-prebuilt recipe for a package
> supported on arm64 and amd64: it is now tried for armhf/i386.

Where is [1]? The question hereby is if the dependency chains are
actually modeled correctly or if the patch is not behaving as expected.
Without in-tree reproducers that's really hard to check.

> 
> Then there was this issue with dpkg-customization packages now leading
> to a "multiple .bb files are due to be built" error. My work-around was
> to add DPKG_ARCH=any to the dpkg-customization class since
> customization packages are anyhow decorated with both DISTRO and
> MACHINE (it is therefore ok and possibly better to have them explicitly
> built for the arch of the MACHINE).

Apart from if we have a bug there or not, these customization packages
should be arch specific (so DPKG_ARCH=any is the right choice).

> 
> Note: Jan had suggested that I also pull [2] but that did not help
> 
> I evidently need to provide you more details. I have had a short
> discussion with Felix and we suspect that multiconfig builds may be
> causing these issues.

Likely. We don't use mc in isar-cip-core and the isar layer itself
seems to be too simple to surface the remaining bugs.

> 
> Anyhow, I hope that I can create minimal reproducers and get them added
> to the CI test suite.

That would be great.

Felix

> 
> > 
> > Best regards,
> > Felix
> > 
> > Felix Moessbauer (2):
> >   dpkg-raw: add files to source package
> >   handle DPKG_ARCH=all case for transitive deps
> > 
> >  meta/classes/dpkg-raw.bbclass  |  4 ++--
> >  meta/classes/multiarch.bbclass | 18 +++++++++++++++++-
> >  2 files changed, 19 insertions(+), 3 deletions(-)
> > 
> 
> -- 
> Cedric Hombourger
> Siemens AG
> www.siemens.com

-- 
Siemens AG
Linux Expert Center
Friedrich-Ludwig-Bauer-Str. 3
85748 Garching, Germany

-- 
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/8f24b7a52dd2fb330ba677850343ea4ed6f37d7f.camel%40siemens.com.

  reply	other threads:[~2025-10-24  7:37 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-20 12:41 'Felix Moessbauer' via isar-users
2025-08-20 12:41 ` [PATCH 1/2] dpkg-raw: add files to source package 'Felix Moessbauer' via isar-users
2025-10-03 11:09   ` Anton Mikanovich
2025-08-20 12:41 ` [PATCH 2/2] handle DPKG_ARCH=all case for transitive deps 'Felix Moessbauer' via isar-users
2025-09-10 11:00   ` Andreas Naumann
2025-09-11 10:20     ` 'MOESSBAUER, Felix' via isar-users
2025-09-12 15:50       ` Andreas Naumann
2025-09-15  7:55         ` 'MOESSBAUER, Felix' via isar-users
2025-09-15 17:49   ` Andreas Naumann
2025-09-16  7:16     ` 'MOESSBAUER, Felix' via isar-users
2025-09-19  7:15       ` Andreas Naumann
2025-10-06 14:05         ` 'MOESSBAUER, Felix' via isar-users
2025-10-07 10:57           ` 'Andreas Naumann' via isar-users
2025-10-07 12:31   ` Zhihang Wei
2025-10-20 12:07     ` 'cedric.hombourger@siemens.com' via isar-users
2025-10-20 12:23       ` 'Jan Kiszka' via isar-users
2025-10-20 12:25         ` 'cedric.hombourger@siemens.com' via isar-users
2025-10-24 13:03   ` 'MOESSBAUER, Felix' via isar-users
2025-10-24  5:34 ` [PATCH 0/2] " 'cedric.hombourger@siemens.com' via isar-users
2025-10-24  7:36   ` 'MOESSBAUER, Felix' via isar-users [this message]
2025-10-27 13:35   ` 'Andreas Naumann' via isar-users

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=8f24b7a52dd2fb330ba677850343ea4ed6f37d7f.camel@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=adriaan.schmidt@siemens.com \
    --cc=cedric.hombourger@siemens.com \
    --cc=christoph.steiger@siemens.com \
    --cc=felix.moessbauer@siemens.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