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; Fri, 04 Oct 2024 13:54:25 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-il1-f186.google.com (mail-il1-f186.google.com [209.85.166.186]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 494BsOnR031470 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 4 Oct 2024 13:54:25 +0200 Received: by mail-il1-f186.google.com with SMTP id e9e14a558f8ab-3a3440fc2d3sf22039415ab.2 for ; Fri, 04 Oct 2024 04:54:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728042858; cv=pass; d=google.com; s=arc-20240605; b=e1dRvad27Oc2/WHs8GfDH2GmDD8nsk/3wYXdh1tD28K86ICAqCqzWlGZPkrytRVGn7 6je5zICQGjqG+LqrDh5TGyfHfHxp5lfN4l2tqxNnt2vIoaASrN+7hd62PPvDYy/DUry1 jQ+AXmsmc445ColHKU0r6fYdaRyiacqZHPJAnhwbvG5lHZGM+mU6PY67PK9p8HO6P4rM vWYgre1kYVnKQMbttZeaO0BiAbvthZJ0qccNjNkQYN12X70y89aUh8/MTSGQ7yRjDU30 GhYZppsBAsLRGgpbq5E+rPjIenMWUqRsKGi6PyzDnllaIy3caHrLP3S/x1qy203/mUqu pULg== 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:mime-version:user-agent :content-transfer-encoding:autocrypt:references:in-reply-to:date:to :from:subject:message-id:sender:dkim-signature; bh=GgqfOzAd6cJXME/kRRjqEvOVuZ5GlooOfW601vYjIGA=; fh=WFC2PjgDdp9mCbjy9wlXOodopBSp2XWLzN30/Rh0YZQ=; b=Kr2ujEsl7GE2kB9gGJOB7DzHZ6+cvDW1yZMaAGfYcNlYUpfpbdNllzlgPez1N9Hn0x QLx6uuK35sMMNYYb2d5AnNi5IEzvFoIhCFXAWQS/qegx/7qXhkxhBy1upMuCni1J21at Wnro6W+9fTTtbpJ8nFNpLO/Za/Wh8qUkhaxDQR4qwv76bi0xziW03B2WnfLFxmfiW4f9 5UmWKqg1GdzY1B9ij1E3xpXT9RLLFuBz821WAIri2/NujZNGNw7Y62UiOrYbiua+qUUf rgyOuA6VWIZZGxmgWAyJ762nIKURhjg+DqNqa+8kGqa7hwvpBAi+HaWgycXXNsIbHRXl vPkA==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1728042858; x=1728647658; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:user-agent:content-transfer-encoding :autocrypt:references:in-reply-to:date:to:from:subject:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=GgqfOzAd6cJXME/kRRjqEvOVuZ5GlooOfW601vYjIGA=; b=WfDgaKMMKfa4xBGat9RGEbTuLzN6DKL+BG8Y7FArJBC/sXfg9wk3+ZYCZliSX9t8zA 3rmjk0XaN0YkFWqXfWyUl6cNHraqPT1dUWdQ/OVRLT3phWAq151D8tXa4cdahBDcBAc2 OdLfyEA8vL2i4junovj2cCj5cXTQvmN5w8JUwbO6PhFl1LjL2QiOMJeaSLPtPG/KaqIj /nmXgl54ljUM5EVv2nmEia9r8h1kVqUfC7YnsLEJZtFYFhURgdeBWXidmSQs0aN3gyMi jQmuY3zNrbY6b0GTSxbKEt51ZheIsk/apFfpo0AFKfkpVFDEqfWXxqINjHpqL8dhfqry Am7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728042858; x=1728647658; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:to:from:subject:message-id:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=GgqfOzAd6cJXME/kRRjqEvOVuZ5GlooOfW601vYjIGA=; b=aYIPVwkuLBBF2cC5GY/4DQMcDdVxwSCUjNJlV7a+tG0YQZMOPGnbKxVlBvi57pcAA0 m7rYgCRG4/KJB8M2WkJTsBtcGSxHIdkInniEGxJ8cAHlvkGH5Z/sYl7lbLOrBArByyz0 xXNRzTpKpbUejapGLUveJIt2/whITvNqNXTZiNKZguFIfgtQlR2ScKOq3mUL4OfYqLz2 1lfGgKbgGb8deCPe6H10Rl5xiQdWsNdSOeuJbF46ILLpjc5wU0wUnvr8rr5Uflp2Nu02 DGPNgvEh8Jxc0tKlEAa/oa9Biw/T1FybE+NyULZHzLrv1gM5MSXwoPnAv0TD0iGUOVF0 pvgA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUaWFbksrIyuoUAEi2B7vZd+BkJxlPJsDGdsb5SafDPQJ5get8ak5mdKaxzfUB+Pk1gYqjG@ilbers.de X-Gm-Message-State: AOJu0YxY2Hg04ilrLMEl9sY/siCuJtzYpIsRywmy11L80yB3S7a308aG 5TC+EFUcTbMhukAbqPh8dpYcu9by7EkjtHyOf+54l61KDDZ/7AXq X-Google-Smtp-Source: AGHT+IG7QqqrbMimOgttYtIprDKvLBtllK3IBrZhoKz0e0UzT2C3sr/vjvzkEVSkgU0R98/hYGNTVQ== X-Received: by 2002:a05:6e02:2166:b0:3a0:9f85:d74f with SMTP id e9e14a558f8ab-3a375bb0002mr20193555ab.16.1728042858332; Fri, 04 Oct 2024 04:54:18 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6e02:1d86:b0:3a1:a1b8:cf6c with SMTP id e9e14a558f8ab-3a36e4a7590ls8644845ab.2.-pod-prod-04-us; Fri, 04 Oct 2024 04:54:17 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVSwgln31zH4wmf6aPCT8j0CKT74bRLzoQMQjzMPsUbZLlmkcoc/0R4Pd+9I70/Co2WUP9el4+xCjuA@googlegroups.com X-Received: by 2002:a05:6602:4148:b0:82d:581:8862 with SMTP id ca18e2360f4ac-834f7d62b07mr245078439f.10.1728042857331; Fri, 04 Oct 2024 04:54:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728042857; cv=none; d=google.com; s=arc-20240605; b=N31iY5C2rL3BHXIa6rZQmEUJP45aVqBANhvfXE+Rv3gfjgmlF9Rlk703K79SBcSqUP /Z+ox2/IdiJJKef44/0T/+8/HkzxDLF07g+PQ3KPz80nSkgEVZ4DW17pi6ROxNXdC5Am 64BMo0tP3LUOFiXQCUKVMLcxWQDQPTBO4c3O8jw2/QjTGDm6BGt8JX7JIVGrTSFmK7Y7 wc7zn71WkuLFNweSh9QmmSnkI91bHQS7c+cc7wqQ8P3DrAlwiPmqAy3RYPy8wel8TWb0 vYmqAYA3X8hB7czpXm1n1Iz1CU4JIIn2Yu6Ff6ooRm4I9pXPlM91XUDIebMTRV/XTItW AXoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:to:from:subject:message-id; bh=xmfdoWwNRJvyeD4n7Hom/8TC7Xq4Os1j8pRmqFkazgc=; fh=1x/T85rXr8yhgzXWAa7zssXnuyt2jGlhJYPIGFWr6UE=; b=Vgcw70XlWdR3SBIgWvRxz8YAGUgVittOJj1zYxoerFCnsYJg0Tb3QJnh7rsEuknrE+ TyIJVFyOBtgM5JTB53p1LaJhXImxncZTC1zHNvUPh9FxBNMBKTD+0NzHUMppi7k670wW UDkzeD8/wJ07r4Crv7ptNrz2b8YhZdu9593PlIycXVyjy4RpSHtE9oiuINrFcmom7a1g hiaCIkYlacdDSLtvb32nj0Fik28LwNV9CUZVnIKgG7jViHffPYDVuDZ5zSYsu5aTLjvL yY/Gnm99C4gfXY/QILcSVpybJ+fr47bv599nHZz/U+XGYmE8DBP2HBgP5rBgxxawSA6I Yy+w==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 8926c6da1cb9f-4db558621eesi133385173.1.2024.10.04.04.54.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Oct 2024 04:54:17 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [IPv6:::1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 494BsD42031461 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 4 Oct 2024 13:54:14 +0200 Message-ID: <9927afac2c263d856ede2040a6ef19040a507d52.camel@ilbers.de> Subject: Re: [PATCH v3 0/3] do not build -compat/-native for dpkg-raw packages From: Uladzimir Bely To: Cedric Hombourger , isar-users@googlegroups.com Date: Fri, 04 Oct 2024 14:54:13 +0300 In-Reply-To: <20240926033935.2955085-1-cedric.hombourger@siemens.com> References: <20240926033935.2955085-1-cedric.hombourger@siemens.com> Autocrypt: addr=ubely@ilbers.de; prefer-encrypt=mutual; keydata=mQENBGO2eUkBCACtT+T3OrPVSExBmqfgXT3lp9XcdxRzjYp26wezkgYjjBXaf36bxtaAf S471VoQtpar0RVeFfW7WDDdfX9ZclSj36zBQe+RVSJzoNoNQfjOXWuSHb5Z+cpAFtqBY4muxK4+ia IlLJd6CN3ejOsLHATtCeHHq8wi0z2T+KdLQO+wQRgo2hjj0Lp9pGTrKJry50HP/o7Vbdu14dOx2xq r8+wPc6SQbBIrcqaa4MqCQC00vQG7eXvo+k2MOw59FDdpMH0KR9mHgp3u/s4I+4YRBArukt9G9xz/ rsEFmxAIBC6N/a6Hzwg4puc91n7ABDsPg8Vp+X3MDraujN0dvR6OKVNtABEBAAG0IFVsYWR6aW1pc iBCZWx5IDx1YmVseUBpbGJlcnMuZGU+iQFOBBMBCAA4FiEEJqPNVhVGyk12Eh+PAUQYBM/2FkoFAm O2eUkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQAUQYBM/2FkprlAgAmuna8Hm9EyoEtTl DBGDg6Zm4ZLp5ffvZBE946h92jepDrteoxsJ7pSzJVC2HmDLa4iZUao7lLLbDsUj5x45/iLJcqBZK k3YnAxP2r6a+kI+1VVQY1pxdG1nlJAbdNzoojm/qmezNPSrqni61KVMQKsXBCWhIjSXDSM9CsBj21 a+9qaVqfxovJGTn9lgrZO+xzKQNMKZeOouJlscVuFj21P0ww3/YENiU/nMeTSuYypO76mDtAd08Jo nc3yuHa9MJGei5ixN3wT+IrGR2aL2hdw2M6NgH7sYbL2Zi4ugD6RXHJai1Bh2yvFSVqSQ+M6QOInT 4ud7wslm1XRB065dXtA== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.0 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de 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-TUID: K4WivYKbseku On Thu, 2024-09-26 at 05:39 +0200, 'Cedric Hombourger' via isar-users wrote: > 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 defaulting to `all` for `dpkg-raw` > recipes. >=20 > Despite this change, Isar may still build dpkg-raw packages a second > time > when pulled by a -compat or -native package. multiarch is changed to > check > if DPKG_ARCH is "all" and will add -compat and -native to the > PROVIDES of > the package (this condition will be checked for all dpkg variants) >=20 > It shall be noted that setting DPKG_ARCH in a recipe is a contract, > the > user declares that generated package(s) are either architecture > dependent > or independent. >=20 > Changes in v3: > =C2=A0* Do not warn if DPKG_ARCH is not "all" as users may use this class > =C2=A0=C2=A0 to create a Debian package from a prebuilt binaries (shared > libraries, > =C2=A0=C2=A0 applications, etc.) > =C2=A0* Set DEBIAN_MULTI_ARCH to "foreign" in dpkg-raw if DPKG_ARCH is > "all" > =C2=A0* Introduce helpers in a separate commit to ease reviews (a "fast" > =C2=A0=C2=A0 ci_build run was used to validate this intermediate step). >=20 > Changes in v2: > =C2=A0* v1 used a completely different approach where we were ensuring > that > =C2=A0=C2=A0 do_install was called whether sources were built or pulled f= rom > =C2=A0=C2=A0 isar_apt (do_fetch_common_source) since override_dh_install = is > =C2=A0=C2=A0 pulling contents of dpkg-raw packages outside of the source = tree > =C2=A0=C2=A0 (${PP}/image) >=20 > Cedric Hombourger (3): > =C2=A0 multiarch: introduce some helpers to later handle corner cases > =C2=A0 multiarch: avoid separate builds when DPKG_ARCH is all > =C2=A0 dpkg-raw: change DPKG_ARCH to all >=20 > =C2=A0RECIPE-API-CHANGELOG.md=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |= 10 ++++++++++ > =C2=A0meta/classes/dpkg-raw.bbclass=C2=A0 |=C2=A0 4 ++++ > =C2=A0meta/classes/multiarch.bbclass | 34 ++++++++++++++++++++++++-------= - > -- > =C2=A03 files changed, 38 insertions(+), 10 deletions(-) >=20 > --=20 > 2.34.1 >=20 Applied to next, thanks. --=20 Best regards, Uladzimir. --=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 on the web visit https://groups.google.com/d/msgid/= isar-users/9927afac2c263d856ede2040a6ef19040a507d52.camel%40ilbers.de.