From patchwork Fri Oct 4 14:17:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "cedric.hombourger@siemens.com" X-Patchwork-Id: 3851 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 04 Oct 2024 16:18:08 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-il1-f184.google.com (mail-il1-f184.google.com [209.85.166.184]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 494EI7hJ032659 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 4 Oct 2024 16:18:08 +0200 Received: by mail-il1-f184.google.com with SMTP id e9e14a558f8ab-3a34988d6b4sf33882435ab.2 for ; Fri, 04 Oct 2024 07:18:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728051481; cv=pass; d=google.com; s=arc-20240605; b=OccAllWY7mxQDvfRqfKDOyX+c3zRftNv7KXpTVQBHOpUX1ILlz9Iw/h+CPyF9cnIWH ruCdFIlFKswVkH82X1rvc2Wr/Dvz6wnCTK/EU14FLsWpm0yvj59IwEGLlkSoQnqIu361 Iik27PocOemsQAetolejyVR0LtuWiE7jua6YwTNE59K1YRnP9aEO/TI94byl8jA/BMu4 27yzRSPvH3ynL3ADSa30XGQ9GxGLbVnPHJvbhxzMP+tkk75MxEfQGrbBKWEihUARNXRI paa3bSM+Gs5pIdYv07oSikNuI1rFAlh9V4tr3enVdAFo/fnPbQVLv7DaUSGqM3M58EUe dPXg== 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:feedback-id:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=c45gVZnorHtF7j0TBV51FolJ3ZIWIcfW+7ng1aN2wms=; fh=jcQjnzhGdp8z6dUtQGLyTMH93nw/KZcaZb2PF54lPmY=; b=MZUVvwXI83LD68CImxI7AbpocBLppU+hE+m3fLWJUCCRNZlX0NP3/xPZppNnSbDVHQ 5jLv6bBqSLymTV0ZHkcA2gx56io0969tVd7mIQ6sLJr6q5hkWarfQra5d+93m1t2Mb1L clM/hKJwS9D9OZWmCKtEQ9EIvPB0eN5sLJ7n6hK+h4u+KYPYxAzhOz9KPHcPCgSKzh/u MvhftpZn2Z3PPP4ftIA4kBGTRJ6I9aAGIkwJL6TATwSJVWw5wHXmComeyN9sHU7ri9NU o58Bz7RcB5bdA5IHA0fMtUW+jy1Al5bUtxcfzAkEgpVxJB9+Onfz1bsLIMlO3s0N+BCA TTmA==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=Xl1Q1czJ; spf=pass (google.com: domain of fm-1212295-202410041417586411e3c324fad5f9fb-gww7ho@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1212295-202410041417586411e3c324fad5f9fb-GwW7Ho@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1728051481; x=1728656281; darn=isar-build.org; 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:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=c45gVZnorHtF7j0TBV51FolJ3ZIWIcfW+7ng1aN2wms=; b=wB81wFD4VJD83Qnhzfhi8JiI9a1odDMspQM0xVh9JNjal8W+MQJf7VgiajKwjaDWhT eEFiGkUKJT1VYw4UhxBa6yLkOGjkCDsjutL9px4zuSa9Yq/z8zIwc3j9N4o597rBKFHM GTWY2uT5yyo4oEgkiei+kaq5BojYOme3fnoQZBlpdK/zQ0dNbA7oq1aUt7d4KHcBnDku ELo5DyunAXVQio8kzrdfA21DoY+0EUs6erM6UfQ8d/OgWwsbOjh6oP9M5QghGNFdmwW3 hUwuMe4xvxJrSU12yp+G7qbchFsM1mSPWRZ7nWPYlF6Xde5NKUhhwX9ixPUefpIHA4vp RmCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728051481; x=1728656281; 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:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=c45gVZnorHtF7j0TBV51FolJ3ZIWIcfW+7ng1aN2wms=; b=mP4FXWceaRA469InGIYMsNOKlNIp9zVMIh82hT+vgEoQ/Kx4A9/KuYhOb0FAizJmK9 jH0+jHdzXnz2q37gvflH8wtPS8IQsOXfu1BKA2aPiTqJc/ThhfnjjoO0xPepSS9P3oVc wnHZ6SCidDdbrgTKF6NiXz19BWUT5OSodgn8E21V5gQQxxqSD0uCU7T/cn8nclj602ii gsn6zH+649Bnp6ATbKFWhPyDNLjYTpb1ctHzzf8+AMHgngZmADVBlem5gr/Zse34eKFJ Dt20dhKcLuCdVccBO3ctFZXSzp9Iz8QkVSVtJUX0lBMtPPZjKI7Tk9h8yNCtJ0mshcfb BoQA== X-Forwarded-Encrypted: i=2; AJvYcCW3o9fCSTNhM2w16e/KHT/6mHUDKzRfkhCpYk4S7DwpCgWhUFHKgj9E8dQTUZHJa6ANTqkBg7k=@isar-build.org X-Gm-Message-State: AOJu0YyzKs3jyWbafSXaRWkQoi686uSsx1/4M8Tn4Q87tP9nWNiMTQ8D m6fYffOOhiyJr6yNYXqZvxK4OheFtevUZZhiFq28kohHUo4gzgq9 X-Google-Smtp-Source: AGHT+IHH/939bGiZro2+eY+N0ItmnTJpj5/HgU1NSEBNpHl4rC52MrseLY8nGYm5CWJhwu3nfvR8jw== X-Received: by 2002:a05:6e02:1e02:b0:3a2:aed1:1285 with SMTP id e9e14a558f8ab-3a3757d4e76mr33297945ab.0.1728051481459; Fri, 04 Oct 2024 07:18:01 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6e02:1a6a:b0:3a0:cc84:9864 with SMTP id e9e14a558f8ab-3a36e349caals14213685ab.0.-pod-prod-05-us; Fri, 04 Oct 2024 07:18:00 -0700 (PDT) X-Received: by 2002:a05:6602:6c09:b0:82d:13ce:2956 with SMTP id ca18e2360f4ac-834f7d620e9mr315087539f.10.1728051480522; Fri, 04 Oct 2024 07:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728051480; cv=none; d=google.com; s=arc-20240605; b=LbrTfsyr6Bh+FhwqzlkcCjbz4VE/Vc2KmTpFXAeFGK2KqOrYPdYbcwIuuqUnnXFekZ bL1OkESowY/UuJdmwNB0IWZ1dVYz9yXte4BrNXtHPo93Z6eOhBsEa63mqdgOtprfVFRL /5ukqQzRpWlKmaxWplnZ+JhyWJ2KcHhmKcQysnqIy644ff7iArDUyqVfJTDa3w6SbqyZ DyT8ZsgqN9TsgV6AMNHay7qjiZ61qw/Ge80Kd7f+rxExFDZ/2Ewnm3/6/GR1Yay/Q/TT kzbbyu4e8PpMgXsjJS0Jz0jvgIukhSXmYvuopvagW7+Of/zwyyypTlkiLVDco1OOlPLt /efA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=Wm9m0avmsm6ypPp1lNxdf3pcJdLACGxoq8vcQgzip1E=; fh=1z37pEVhqwMLlkT4FDzOga7XBsM6Rzv6sXOq0pipxqo=; b=UF4KfK/Ta863jDQr13SnsHXCYKbEAtK04c2ys8Looh232/qeHoCaG2PiiBmKdAV39t Va1RxDRO/aA+bl7OgqPM7zeELkfhyC31uVmW/bkkctDDOGRbyEIeFx1mHPzT6TxCQ4wY 5SG4R4sN2dv9jtvCJHPw4+ZIURZr13/2fMlMZCNqJlnM0LPy08zsQiXTlJWNeUC7oojL As6esZ7+Ci4ZsMkV4sfubeGOFpAS9XT3JKa7DqlX+pOoUuPn3kVFYTcPQApzCdSHqRsA /3mnpYiYk+ppn44AdeCsOmJlZGZPDCRGCg3toeFhakKFdYNyl9eaRQG/at0gCRJ30+2E wMsw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=Xl1Q1czJ; spf=pass (google.com: domain of fm-1212295-202410041417586411e3c324fad5f9fb-gww7ho@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1212295-202410041417586411e3c324fad5f9fb-GwW7Ho@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net. [185.136.65.227]) by gmr-mx.google.com with ESMTPS id 8926c6da1cb9f-4db55ad101dsi169286173.7.2024.10.04.07.18.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Oct 2024 07:18:00 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1212295-202410041417586411e3c324fad5f9fb-gww7ho@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) client-ip=185.136.65.227; Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 202410041417586411e3c324fad5f9fb for ; Fri, 04 Oct 2024 16:17:58 +0200 X-Patchwork-Original-From: "'Cedric Hombourger' via isar-users" From: "cedric.hombourger@siemens.com" To: isar-users@googlegroups.com Cc: Cedric Hombourger Subject: [PATCH v2 3/3] RECIPE-API-CHANGELOG.md: clarify scope of recent multiarch/dpkg-arch changes Date: Fri, 4 Oct 2024 16:17:31 +0200 Message-Id: <20241004141731.172009-4-cedric.hombourger@siemens.com> In-Reply-To: <20241004141731.172009-1-cedric.hombourger@siemens.com> References: <62b2d7bb-25cf-4c42-9bee-fa95d18db6c8@siemens.com> <20241004141731.172009-1-cedric.hombourger@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1212295:519-21489:flowmailer X-Original-Sender: cedric.hombourger@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=Xl1Q1czJ; spf=pass (google.com: domain of fm-1212295-202410041417586411e3c324fad5f9fb-gww7ho@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1212295-202410041417586411e3c324fad5f9fb-GwW7Ho@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Cedric Hombourger Reply-To: Cedric Hombourger 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Signed-off-by: Cedric Hombourger --- RECIPE-API-CHANGELOG.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md index 57b2205a..8eeaf325 100644 --- a/RECIPE-API-CHANGELOG.md +++ b/RECIPE-API-CHANGELOG.md @@ -649,10 +649,19 @@ HEADERS_INSTALL_EXTRA += "nvidia" ### Architecture for dpkg-raw packages -The intent of the dpkg-raw class is to easily package configuration and data -files into a Debian package. Packages to be compiled should really use other -dpkg classes where support for cross-compilation and multiarch is provided -and tested. `DPKG_ARCH` is now set to `all` for `dpkg-raw` recipes. +The primary use-case of the dpkg-raw class is to easily package configuration +and data files into a Debian package: the target architecture will now default +to "all". It may also be used to package binaries that were built outside of +Isar: such recipes may still override `DPKG_ARCH` to `"any"` or a specific +architecture matching binaries to be included in the payload of the package. This change fixes an issue where a `dpkg` package is built for `-compat` or -`-native` and `DEPENDS` on a `dpkg-raw` package. +`-native` and `DEPENDS` on a `dpkg-raw` package with `DPKG_ARCH` set to `"all"`. +Some issues remain with `dpkg-raw` packages targetting a specific architecture: +Isar will advertise -native and -compat variants even though such recipes can +only produce packages for that architecture and not what could possibly expect +for -native or -compat. If we consider a dpkg-raw recipe generating an `arm64` +package on an `amd64` host: you would expect the -native variant to produce +an `amd64` package and -compat an 'armhf` package: it will however remain +`arm64` and build of dependent recipes (image or dpkg) may fail because of +the architecture mismatch.