From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 27 Oct 2025 14:36:07 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f63.google.com (mail-ed1-f63.google.com [209.85.208.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 59RDa6Zs019176 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 27 Oct 2025 14:36:06 +0100 Received: by mail-ed1-f63.google.com with SMTP id 4fb4d7f45d1cf-63c13b3f23dsf3860199a12.2 for ; Mon, 27 Oct 2025 06:36:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1761572161; cv=pass; d=google.com; s=arc-20240605; b=HweJTBq68ukyW8xa62WFJhV+m8A3KQmT+tKj9w6VamlwVSNEqujIDfJceTDdbqkyKk /ziyg7zHdZKpgb8wZjexdn3OZss/XsAWSWYJOX76+Gt9dlqkQQjkU7bshEOKs3GXFzq1 I4DtOh1sxWOOI5lWfnEQGXlIkD4y5y2axtNt4RYFWN0Wa9p1GdaiNAqaHjinJZm0T1t5 a5FmU1o2FulML4of1nuQIM8GCQusyRDnwQ4TTBf+8Gu2a3RcgBfxLSFcLZleDYy0IBK9 2Vm12hvkIGDXsIgHKkQ4dbqU5Tw8ZShZUpZ0vKD/hiJKiYlzQQejAkst9fxDdJ/URV8T CckQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=n5cXV9RdFQnXXKaeJxzddd50vLBwNM0+lxeOytTFIlg=; fh=A/GPXlG/JwWr9TuR3lOyJSS4/x9HFKNs3JTwxehQ98U=; b=K5wxYH29Z+uEZmfbx13IQcMHgzVCvw8Kx+QNwAZnBejAeS9ci/sh2Fj8EkjYoUnBsK RPy41V+CU8ucD/NR/0xD4LQlwjh58ydJ1IAWMq3aPiDOPir9wLgbn4tT0wKTTrMeUiY5 tXwffLDZ1YeZhLLjza8APdT36sL/87RsWRxnI7i+10FnIC+sHvjA4fBTbBmmKBcKG5mj a1+pgmjh/KsV6DCS4m9LB+Q/19U3mykof6nRpJPEsCkoqGHRsoUjd09vgiAVV30dHN+J yaRx5H9Rfslz8JW7zUPxeK3/CNp9CSUkLrKvYyxhlpRBFsPn4tAuO5G8Q33cCE6QE+hk oMNA==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=SFiB0LSW; dkim=pass header.i=@emlix.com header.s=20250930 header.b=SFiB0LSW; spf=pass (google.com: domain of anaumann@emlix.com designates 178.63.209.131 as permitted sender) smtp.mailfrom=anaumann@emlix.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=emlix.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1761572161; x=1762176961; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=n5cXV9RdFQnXXKaeJxzddd50vLBwNM0+lxeOytTFIlg=; b=uPs8Ej8cv1lr5RDqSZx6lswultdV2gVskWYZlph+IHfdNpm1GcNy86nq7tHv81BVpc jP8weTSbnyRF1xd5itfxJsgyJFSLe2rjAF3CAOWmefv3WTnIqzBbuPOaSeS+nS+gMzPB Xu2rnzEUI17Q2IhGTDkh9RIFf89tUCBVYeRmJQwiAm6RvRLVlpminsi3vgZS4KJLGLuJ hHaGXw7d7LNuw1GysRTxApo75sycqcRe6OLM9CsOgxsIYXtNFtRbkX3bJ7qTF1u46bp1 iEFtMEQI9GLLWt88KAutnHpmUgLafdLCnetfJ3drmCI9pOo8AwJkcFbHtUC3GjMomXnz otHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761572161; x=1762176961; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=n5cXV9RdFQnXXKaeJxzddd50vLBwNM0+lxeOytTFIlg=; b=GORSjLDhTI172J1iX/Dhh2mqtGFS1FoU4msnA2DFN1bP02F4TrspOWAS9/iq58SaWm CuLmEqjUXfo0Y8ZM22VpvsqPjP4cGH3d2R91RRMC1vII4mLIFsSvPT4SoTtsOkbxihtA J+kqlZlxIrbjPCwYUNm9wMftzlcKu5Jx9nxfBvFa5Krol1jewKjUDEqHCHVrIE0CqRBY kfrxsbp1LrYG/d1VVuhV7Ud/aXwPuLc+ZhVh+FZyjRIJI3hu+MFp5HeFPMej4QTGhB6d 2YN+5nP+BnPOWp09nSng7gbHyVj9g9Vzen07B8BC5CK7aenRBmTSkZf+dFIvh/b/vCAN ce0Q== X-Forwarded-Encrypted: i=2; AJvYcCUBQuKktZMgrwx7wxkrCX9FDEalimALdpEIjTPtbW6IBJYRcIUZd0UAaEeFZBZ1nEtXgbDb@ilbers.de X-Gm-Message-State: AOJu0YzmadGq/55XDJVvZbgavxLB26inMJmV/QqjDa+xXxbfKs8df0GZ lyMAjThlCHZplIMpAOoGIH5IJ8B6x4OGNrKrzTtXoUAyor567A7yLMv7 X-Google-Smtp-Source: AGHT+IHlxN3x1fcu2A2jDa9hHr6hyBMfGfXTPgzmiqOXe+N4oJTxIMh24yE7lb24m+ymt1uft0y5KA== X-Received: by 2002:a05:6402:2110:b0:631:bb4e:111a with SMTP id 4fb4d7f45d1cf-63ed827a85fmr66694a12.34.1761572161063; Mon, 27 Oct 2025 06:36:01 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+ZMMnCaik5vmS6swc0o0lfwAq+XWi/lwF0DuDulvam0/g==" Received: by 2002:a05:6402:3042:20b0:63c:58b6:2594 with SMTP id 4fb4d7f45d1cf-63e3eb903d9ls2498702a12.1.-pod-prod-09-eu; Mon, 27 Oct 2025 06:35:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXN3WYNJ1D1wxQCx6tgwIEYTeInsMyzmdGsPGpjUwUBSQpipUpEU7TGAvqI+JEtgTeZxiiXUfF8VN9P@googlegroups.com X-Received: by 2002:a17:907:728d:b0:b3f:f6d:1daa with SMTP id a640c23a62f3a-b647443cf06mr4394245766b.37.1761572158209; Mon, 27 Oct 2025 06:35:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1761572158; cv=none; d=google.com; s=arc-20240605; b=hwmYQeIz3yxQrsSDOyVB78caWlxln8mL5Y5XsJU7lEDvMiDQlyLfncyQAFLEKx4HgT GsIrcqO1h1rtwwdsYH4jM/y43vD4qiFVA+pDFW7En2tWuxW12RTqHK9LIvXjsnH5ClzQ GEs08E63G9EKEZHIFDtf7Dtq/DSoeWtGx2PSSKSRm3SOuP45w/c83oSWU6TczpszLJDh bDtnIvxQtl54PVFecI+CG4UGhoH0hm4QCfj3Z2UcMQ1/ZdG5C6vMBc2c9W3DVUdKBV8q Q26+L81KZb0coe9VTyWudQtmna/L9b+xh70T1YZCJshvWo/s5JY58Nl/+Tp7HKhVTuuI +tuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature:dkim-signature; bh=rmM99oP9+WnK5Oh1HoNMkeRnthzFB330NpIJjmS3L1o=; fh=fwm7CgGWfVLTAn8o9pH1jgJm/OuAInCc/zsuPSXlT7g=; b=K9Ymb3dyy5oCMpMcdW7Dx8r4jD6v/jOFJAvLLB9I4TmdjJHIZiadvcDG1i3sSqRMf3 dlPPJmXX+FLLZo8bW8yYXsVN8fg7q4MNTvkFIzHMKf9vlZ5RmEDOAATwH4UkfNtTLlE9 lDPJRqJCIc+llv5xx5Tmre1PTZfbJHYd0YfgMvCst35/xItolhaJaqEbosiCqcUCnXc+ 3v3EWMdyD9MNi6Z/46Tlt4B7XPunsQa9cL0MZuaGPZU/7g0CIbR/VNPZptZn2BuIuSAu Ut5LztWzVVllLb9kSRGpyvgone0D+nQTCl/qDSDXXgo9JUD6YhTxyXU0WdShN5gYz1tK OTaw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=SFiB0LSW; dkim=pass header.i=@emlix.com header.s=20250930 header.b=SFiB0LSW; spf=pass (google.com: domain of anaumann@emlix.com designates 178.63.209.131 as permitted sender) smtp.mailfrom=anaumann@emlix.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=emlix.com Received: from mx1.emlix.com (mx1.emlix.com. [178.63.209.131]) by gmr-mx.google.com with ESMTPS id a640c23a62f3a-b6d86df40a1si16341066b.0.2025.10.27.06.35.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Oct 2025 06:35:58 -0700 (PDT) Received-SPF: pass (google.com: domain of anaumann@emlix.com designates 178.63.209.131 as permitted sender) client-ip=178.63.209.131; Received: from mx1.emlix.com (localhost [127.0.0.1]) by mx1.emlix.com (Postfix) with ESMTP id C814E5F953; Mon, 27 Oct 2025 14:35:57 +0100 (CET) Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id B0B605F8CF; Mon, 27 Oct 2025 14:35:57 +0100 (CET) Message-ID: <027334d6-a5ae-4893-a7ff-f6b9dcb7fc55@emlix.com> Date: Mon, 27 Oct 2025 14:35:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] handle DPKG_ARCH=all case for transitive deps To: "cedric.hombourger@siemens.com" , "isar-users@googlegroups.com" , "MOESSBAUER, Felix" Cc: "Steiger, Christoph" , "Schmidt, Adriaan" , "Kiszka, Jan" References: <20250820124140.281190-1-felix.moessbauer@siemens.com> <7b572ffbbd160f51fd15a737ff81c5278422e9ca.camel@siemens.com> Content-Language: en-US From: "'Andreas Naumann' via isar-users" In-Reply-To: <7b572ffbbd160f51fd15a737ff81c5278422e9ca.camel@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP X-Original-Sender: anaumann@emlix.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=SFiB0LSW; dkim=pass header.i=@emlix.com header.s=20250930 header.b=SFiB0LSW; spf=pass (google.com: domain of anaumann@emlix.com designates 178.63.209.131 as permitted sender) smtp.mailfrom=anaumann@emlix.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=emlix.com X-Original-From: Andreas Naumann Reply-To: Andreas Naumann Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: Z8u7Nmx3udQy Hi all, Am 24.10.25 um 07:34 schrieb 'cedric.hombourger@siemens.com' via isar-users= : > On Wed, 2025-08-20 at 14:41 +0200, Felix Moessbauer wrote: >> This series fixes an issue with DPKG_ARCH=3Dall packages that have >> dependencies to other DPKG_ARCH=3Dall 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. Please have a look at the commit message of Patch 1 of my RFC I sent a=20 while ago: [PATCH 1/5] rootfs: Do not recursively deploy every dependent package which I have now rephrased as "rootfs: Do not recursively build unneeded=20 packages". I think it's very likely that you're hit by the exact problem i describe=20 there. Later in the RFC i have suggested to drop the optimization part of this=20 patch. Having reworked the series since, it's possible to even keep it.=20 If you want, I can send the reworked version. regards, Andreas > > 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=3Dany 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). > > 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. > > Anyhow, I hope that I can create minimal reproducers and get them added > to the CI test suite. > >> Best regards, >> Felix >> >> Felix Moessbauer (2): >> =C2=A0 dpkg-raw: add files to source package >> =C2=A0 handle DPKG_ARCH=3Dall case for transitive deps >> >> =C2=A0meta/classes/dpkg-raw.bbclass=C2=A0 |=C2=A0 4 ++-- >> =C2=A0meta/classes/multiarch.bbclass | 18 +++++++++++++++++- >> =C2=A02 files changed, 19 insertions(+), 3 deletions(-) >> --=20 Andreas Naumann emlix GmbH Headquarters: Berliner Str. 12, 37073 Goettingen, Germany Phone +49 (0)551 30664-0, e-mail info@emlix.com District Court of Goettingen, Registry Number HR B 3160 Managing Directors: Heike Jordan, Dr. Uwe Kracke VAT ID No. DE 205 198 055 Office Berlin: Panoramastr. 1, 10178 Berlin, Germany Office Bonn: Bachstr. 6, 53115 Bonn, Germany http://www.emlix.com --=20 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 e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= 027334d6-a5ae-4893-a7ff-f6b9dcb7fc55%40emlix.com.