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; Wed, 01 Oct 2025 12:59:42 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f60.google.com (mail-wm1-f60.google.com [209.85.128.60]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 591AxfiM032674 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 1 Oct 2025 12:59:41 +0200 Received: by mail-wm1-f60.google.com with SMTP id 5b1f17b1804b1-46e3dcb36a1sf39415745e9.2 for ; Wed, 01 Oct 2025 03:59:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1759316376; cv=pass; d=google.com; s=arc-20240605; b=DQtvTJEJ+tveIRIWSxY60IGbRS+BcSqL/+RCGBvlYb9MslUCMUqQ11nfW7F1EONpjT LwByYV852GHEsDxafLx9DfAVrh1R+/Jy9Vs0L3WeGedtLiTDnSa+n0qv4WgIWAJdmM+d v2IHoLcJnQ09zBkafnV3wYKEs7mhrUysOEti/gWAhkif+rr3MgVBfPUf+o3dsJ5MiJI8 aUGAdUkbfcg8NFpOURXsYFkRvqBtvCovSl9r6Z6ITdHcFORDyGpZhN4ZCY4kFiOMPmhv pLE/aTHr0vDnrzGGLxRUMyvOpm3Fd+novxRCgYY+rHLzLk7NH0VlButd3U7aDtYQoQFB 77Tw== 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:mime-version:message-id :date:subject:cc:to:from:dkim-signature; bh=cYU+6/fEf+dQImC4PHbItDMrClsFdyoDyhjTgnuxr5Y=; fh=Xy3i6eYhhMqQetkLYPYWk2hKl0+eZ/3Swa5+ZjmNrt4=; b=Ri7Jjm5NY7mHcD832a36xrY5tOQsZjVgaNy8R3TZ02tDBvpsbSjIblr0bZFbIkkmuX /ze0L7oRpI+cKjbtIS0zlqBypIkWDp0zPAuGGcOAuw1wOqL/RLLB1D7SvvLQcz1OmmSl ussoNPfs4rmXoHtGocL3KXeWUsF9Uj6aCcGdlC4FFByi0V+vhEUW1aB9OVhJc5re5ofl l2gkwC3yUr7SbRWp4MLBshdwG6EMhayLrpYmlDLTsqMGklqlW0Rw0apcAler8mnZsp6o 3wkHrcuh2+p7026PUIs5SBDvhV5Hm4BPbUnqKaHjclC4riwPf/KZrn6eqK76y02DEG/K 9GeA==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=Ym0SsRnr; dkim=pass header.i=@emlix.com header.s=20250930 header.b=Ym0SsRnr; 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=1759316376; x=1759921176; 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:mime-version :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cYU+6/fEf+dQImC4PHbItDMrClsFdyoDyhjTgnuxr5Y=; b=blhJ1lxLb54DUCKZh8WccIhEcSh4E338R9de6sJb2+TcqduQbkPD5oorIPJigKOe3h Op+fVTgqQnRbijLCs3QakvxAdO+gkAX3Z/Xi3y0BrwrelehAfqYE9v0PKujlzmoTT5IX Klj6j6xpAMTYsbmEEQGrbnhJvqM3myvkZHBmT8dKP3IMdyxlLpnlOT0RQmPTMrrWw97G Im9z16LCr3BVzcW2Sa92JfIBcxPIfdf3WF/HYp89R4RyeNI01N6cI8+L3/KsEd3Tx7OY B7/oC56hCxe7z3PPpPL+97yUtPY9nBzdJxPqWTI+ljtMOFXAzKFcVfwD9bUOjE0TDc9a Zoyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759316376; x=1759921176; 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:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=cYU+6/fEf+dQImC4PHbItDMrClsFdyoDyhjTgnuxr5Y=; b=LQgkm+54zz2SfI80dRT7gTqcgGufwXgLIsXQofB5B+EvMfAEPQcduex7ZfH0xjPCPN qDQ1Y9GWMpt/DcYHV8JEOL6kIacH4+DDa09Ns9rIuuu4vG75sUSowY8rpawhGrIbr5VJ 5iRBQ+8+n3Y/suUCs/UFRHJkQr6WN0nYqgYeLH8lP7aa0ZsXKatI8qMw4pO/I9EYg4Go HstJH8G02Djqyhf2cCnGuUCMVYfukDHF2woT5UWfqudAsFGDCTjJS2EK60SgWv5HYtPV 3oP4FHqfsLsKFmUfHGjttreuRVg40OTSmeCxpGCsX45J2clU5/ex6Y0d/R7Kwp9K8bH2 ojuQ== X-Forwarded-Encrypted: i=2; AJvYcCUlqJzzrrvtzz3DqVWJVB1cv+uVPkmfAuRDoKIZBYfpUZEy4CkRMVCV1jQzXoRjF2LyTyA/@ilbers.de X-Gm-Message-State: AOJu0YwoqisA60HFplDNrL2ZVS4/3WwYOBJNPrZplegUVVOS2B9+6cY6 b9kM4+upQUej5GTpCDyhUhBKqhvVV1p9pqZiis+c383zbmRJoTT1sXKK X-Google-Smtp-Source: AGHT+IEc0qAwq2wysDFiWDYo3yqHAOs79I94YcjshxHu/XDzyXlO5GhlYSf5+mn9I1Cdfm+V8v2aBg== X-Received: by 2002:a05:600c:c174:b0:45f:27a3:6e0e with SMTP id 5b1f17b1804b1-46e638352efmr14774335e9.14.1759316375475; Wed, 01 Oct 2025 03:59:35 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ARHlJd7IOR83vbM+op78ERGRqtFD0r7YUJbxrEYZG4zJl4UGZQ==" Received: by 2002:a05:600c:1614:b0:46b:38cc:d7ed with SMTP id 5b1f17b1804b1-46e32e5f74bls32409105e9.2.-pod-prod-07-eu; Wed, 01 Oct 2025 03:59:33 -0700 (PDT) X-Received: by 2002:a05:600c:871a:b0:46e:42aa:75b5 with SMTP id 5b1f17b1804b1-46e612021bdmr28009255e9.4.1759316373006; Wed, 01 Oct 2025 03:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1759316372; cv=none; d=google.com; s=arc-20240605; b=KXeAoevt/58c6YzofVhWcl8TPXJ8Z3184ctBOQ5UDWBcCtfuHTCQURcKCYfGX0+xMf /7youi7fkRw4QjE84zQB7g2ZVBv5Ux7Gg2xLhz8d4mC1zjSCHrG0559gPLNUndvN3Tv4 Uz9PNvdRRlzJ/rkzw+OwkEQ0JpcBM8bMPpz2kjNBvWJ52/A4kCMrT0GLu1YGPdJaLCxT Sw+etNeSR2mawd0580oKk+h0cBVzqXudVDmLM5Z2ikPeMKQ9KrQAqoSVLCiiBwIc1mtR jQVwiZitfTVk+sDM7etOJLbrqvnPY2mGmzwhIS306d3XmKIn4tnQD2fkbYQvNhN0l0QF yptg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-signature; bh=3uvxPn9XqXYVmQs/eYS3RLB4uZfD8GchM0Y6kHf/dTs=; fh=h/3u+BnesbohrVPBf25WVa1dvt5UrhWAO6IFZkZXrvU=; b=TuuujeAGJ8NdVR77SyAoV0hzsogOVKYHnje57r1SUtqKFpi65t42FNU39Pz+z39NOB tDmWnu7Az5hN/38VMe6d3KIEgV5uOS/hqht+cMzfHiYAH4VCckOPlQ3397hdvt8Civnw mt72XrrLzVTGDzD04IyyEztawbWNiAB0llOpiSw+nB5HlTxPhT7oh3uJ5HwSl2mfvF/P RrVwX9FSECsbCTm/0t3fwD6hhiMfSMbUwBNT6eqol5QyCvfgyMywaqC+BT0mD+D1NhgA BsETDde68MDtSw0z0CDmAYTsolV62hWTooale8O3czAH2SGdBEM+kagB7IsDD9eCiKR4 5pxg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=Ym0SsRnr; dkim=pass header.i=@emlix.com header.s=20250930 header.b=Ym0SsRnr; 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 ffacd0b85a97d-40fc19b98c3si335438f8f.8.2025.10.01.03.59.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Oct 2025 03:59:32 -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 9DE2E5FBBE for ; Wed, 1 Oct 2025 12:59:32 +0200 (CEST) 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 84E765F794 for ; Wed, 1 Oct 2025 12:59:32 +0200 (CEST) From: "'Andreas Naumann' via isar-users" To: isar-users@googlegroups.com Cc: Andreas Naumann Subject: [RFC 0/5] Improving multiarch support for arch-incompatible packages Date: Wed, 1 Oct 2025 12:59:24 +0200 Message-ID: <20251001105929.3731537-1-anaumann@emlix.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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=Ym0SsRnr; dkim=pass header.i=@emlix.com header.s=20250930 header.b=Ym0SsRnr; 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 Content-Type: text/plain; charset="UTF-8" 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: kZR3Yb+bC+J0 Fixing the recursive dependency issue of "all" packages, as proposed by Felix, showed that currently the Isar multiarch support seems to assume that custom dpkg recipes are always valid for the host as well as target architecure. Or, if they are not, Isar would make an effort to redirect if possible. However, there are situations where this is not the case, e.g. packages supporting a certain architecture only or packages intended for the host without full crosscompile compatibility. This series is to allow for such cases by supporting DPKG_ARCH being set to a specific architecture if it is not truly "all" or "any". The first patch fixes unnecessary, possibly incompatible packages being added to the overall rootfs dependency chain. It's also sort of an alternative solution to the fix that Felix provided in his original patch which I took the freedom to rework to contain the recursive dependency fix only. The reason I'm going another way is that I was looking for a way to generically handle all incompatible packages, not just "Architecutre: all". Of course this comes with the "drawback" that "all" packages, suited to be compiled in and only for -native, need to be added with their -native name whereever they are depended upon. As for reverting recrdeptask: IMHO, the alternative to keeping it would be to not being able to use cross-package inter-task dependencies, like Jan's patch for avoiding the duplicate creation of the dpkg-source package does. That would be kind of limiting. As for the cache related reasons for which recrdeptask was actually introduced: I could not find the do_prepare_build-A -> do_deploy-B dependency, but only do_deploy-A -> do_deploy-B. So I'd just hope that this is no longer a problem, but havnt invested testing effort to prove so. The image patch is preparational, so images are not unintentionally skipped by the actual main patch (#4) which handles incompatible packages. It was made before handling of packages with unset DPKG_ARCH variable was added, so it's no longer strictly needed, but may be worthwhile anyway. Andreas Naumann (4): rootfs: Do not recursively deploy every dependent package image: Do not inherit multiarch multiarch: Prevent providing incompatible native packages multiarch: Do not re-extend real -native recipes Felix Moessbauer' via isar-users (1): multiarch: handle DPKG_ARCH=all case for transitive deps meta/classes/image.bbclass | 1 - meta/classes/multiarch.bbclass | 33 ++++++++++++++------------------- meta/classes/rootfs.bbclass | 19 ++++++++++++++++++- 3 files changed, 32 insertions(+), 21 deletions(-) -- 2.43.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/20251001105929.3731537-1-anaumann%40emlix.com.