From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7197016923412889600 X-Received: by 2002:a67:ef47:0:b0:41e:90b3:ae68 with SMTP id k7-20020a67ef47000000b0041e90b3ae68mr1353768vsr.82.1677073261671; Wed, 22 Feb 2023 05:41:01 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6102:54a9:b0:412:3ae:211 with SMTP id bk41-20020a05610254a900b0041203ae0211ls3015135vsb.11.-pod-prod-gmail; Wed, 22 Feb 2023 05:41:00 -0800 (PST) X-Google-Smtp-Source: AK7set99mCfkI36nuC9L4ZsHgwvgVJDjOhOnYq39ld+jknOOfqgzpAFheHft94HBzxLn0rLUY7vD X-Received: by 2002:a67:6c82:0:b0:415:eef4:297f with SMTP id h124-20020a676c82000000b00415eef4297fmr7049805vsc.14.1677073260787; Wed, 22 Feb 2023 05:41:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677073260; cv=none; d=google.com; s=arc-20160816; b=x3WVNtU5H80+sfnMHg/kx4tWk0NxOQX1rfR6GadgL8rUQ8lmcuafoAvXpjsYVGSJRn 9I44LgY9PLdw2eSRWMdoGd/Rap01KMQBLqOQ/6vXWU8ddFlVEtmbVXAUufnzOD+cr4+Q v112mwWB3nyGqo59Y7W0bP579F5BzzRbr5Ga+Qg3MkcNjaP12NknBl/UZWdscPtrhmr0 HRKoTPAGwadpbDqLf0LVE7XdfA2CYGatBRkDztysYS/B71K8PPzmugPgzuy99G5PhgVe riaBXH2fiG000Yzh8wijdZdKkboGcDYzD87B44+PLhWrGqBi6yGht1XJNhw66V4D2Y3D WdSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=sBGuUPHP6TfV+OQrA0YYvYZhEjWk0q4ibT19kYM4Ix8=; b=ADVZb0JbS0Z2dIzaoRw3roHNTSRR7WpcSTFX/KTf14biw7Wm/kqNC2L4MrXJVSyQq/ uB8bWrz9mTPoeviKr1UZq8o467+j1Ng9c1J9CcjxpvogPxIOdfpKctIr9lv5bfwR1Eym 45CYnQA+o9PYubfDDEQwIgAd7CNqqVuI48+HuwTldjsSp6YJQKo4wpIWWm6ImCCjrq9C nc7svBBL66xGdSMmSnD5wEUor1S3EhHQufW3f0Ma/ZhPS02eibAF8XH4VccfwwvMJi4M IxT/SSw88dM1MBa0MbIbZjawFwGcvIOfd8HGkaIPcxoFiZErZgpTunEYesA5LMkngQj4 vBgg== 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 Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id i25-20020a67e2d9000000b0041404daed81si444818vsm.0.2023.02.22.05.41.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Feb 2023 05:41:00 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; 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 Received: from home.localnet (44-208-124-178-static.mgts.by [178.124.208.44] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 31MDevJ4016083 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Feb 2023 14:40:58 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com, Adriaan Schmidt Subject: Re: [PATCH v2 0/4] multiarch support Date: Wed, 22 Feb 2023 16:40:58 +0300 Message-ID: <2086448.9o76ZdvQCi@home> In-Reply-To: <20230220090511.2524881-1-adriaan.schmidt@siemens.com> References: <20230220090511.2524881-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED 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: SfdsC4OqeYdE In the email from Monday, 20 February 2023 12:05:07 +03 user Adriaan Schmidt wrote: > This adds `-compat` and `-native` bitbake > targets to all recipes inheriting dpkg-base. > > The new -compat build variant replaces the old compat mechanism. > Note that `ISAR_ENABLE_COMPAT_ARCH="1"` is still required to > ensure that the bootstrap and buildchroot is prepared correctly. > > Adriaan > > changes since v1: > - fixed an issue that prevented arch overrides of > ISAR_ENABLE_COMPAT_ARCH, which is used in testsuite > - added `-native` expansion to contents of IMAGE_INSTALL > - documentation in user_manual > > Adriaan Schmidt (4): > bitbake.conf: use PACKAGE_ARCH in overrides > add multiarch support > remove obsolete compat-arch override > doc: add compat/native targets to user manual > > doc/user_manual.md | 19 +++-- > .../recipes-app/hello-isar/hello-isar.bb | 3 - > meta-isar/recipes-app/libhello/libhello.bb | 3 - > .../recipes-app/samefile/samefile_2.14.bb | 2 +- > meta/classes/compat.bbclass | 46 ++++++++++++ > meta/classes/debianize.bbclass | 2 +- > meta/classes/dpkg-base.bbclass | 1 + > meta/classes/image.bbclass | 4 +- > meta/classes/multiarch.bbclass | 71 +++++++++++++++++++ > meta/classes/native.bbclass | 10 +++ > meta/conf/bitbake.conf | 6 +- > .../isar-bootstrap/isar-bootstrap.inc | 2 + > .../sbuild-chroot/sbuild-chroot.inc | 14 ++-- > testsuite/cibuilder.py | 2 + > 14 files changed, 160 insertions(+), 25 deletions(-) > create mode 100644 meta/classes/compat.bbclass > create mode 100644 meta/classes/multiarch.bbclass > create mode 100644 meta/classes/native.bbclass Didn't look too deeply into the problem, but CI completely fails with the patchset, producing multiple errors like: 16:29:04 ERROR: /workspace/build/isar_ub_devel_2_fast/125/meta-isar/recipes- app/cowsay/cowsay_git.bb: armhf does not have a compat arch 16:29:04 ERROR: /workspace/build/isar_ub_devel_2_fast/125/meta/recipes- support/sshd-regen-keys/sshd-regen-keys_0.4.bb: i386 does not have a compat arch