From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFCB6F3026A for ; Sun, 15 Mar 2026 14:08:53 +0000 (UTC) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.29415.1773583731687438900 for ; Sun, 15 Mar 2026 07:08:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=ww2tjXI9; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: mathieu.dubois-briand@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 81899C42739 for ; Sun, 15 Mar 2026 14:09:12 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 5C7B95FC4A; Sun, 15 Mar 2026 14:08:49 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 0E99810369DC6; Sun, 15 Mar 2026 15:08:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1773583728; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=spzU8T6IRn0I//DL4+CGmk2+Vec9/fgAS2fsNFlFGgU=; b=ww2tjXI9Jv/lHx3dyXr3+xv2P4qCiLj/25JQXVMWBqzyXKIVz4rFfhRY24IpE0qcZs/INh 4beuSaOUhPouaj1LY2BArsyKnZpbAEKXHcnXgA1cQLkXK2Db3SDm7aPJ0BNJU9vH2ZwaAz 3Y6sqAehAswAXXc4xG6EyFgBj6SBQ5QJNv3HWLwLKXgZRquN6NjIDUXXEO0scvMiQNrnBi PAEFQ7W8IiJYZlyGBTQTVTP6+WtdZ6IiTkVvMiFcOt8W8bLWPKO+pmxh6jUBsX/nk5azL4 h8bflGpkKsh0b1bL+ctmdteVy6+MJEfbjGev70C5y/Gm9M9W55dJMuwtB/o56w== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 15 Mar 2026 15:08:47 +0100 Message-Id: Subject: Re: [OE-core] [PATCH 4/5] meta/dummy-sdk-package: Improve SDK dummy package handling From: "Mathieu Dubois-Briand" To: , X-Mailer: aerc 0.19.0-0-gadd9e15e475d References: <20260314094758.3929192-1-richard.purdie@linuxfoundation.org> <20260314094758.3929192-4-richard.purdie@linuxfoundation.org> In-Reply-To: <20260314094758.3929192-4-richard.purdie@linuxfoundation.org> X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 15 Mar 2026 14:08:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/233199 On Sat Mar 14, 2026 at 10:47 AM CET, Richard Purdie via lists.openembedded.= org wrote: > Currently, the dummy SDK packages are re-running for different SDKMACHINE= values > when they should not. The usage of allarch is broken and not triggering t= he right > PACKAGE_ARCH value due to the deferred nature of nativesdk. This was prob= ably > broken when we switched to add deferred classes. > > To try and make this all more explict and less prone to breakage, switch = to calling > oe.utils.make_arch_independent() directly. > > Add the 'special' package architecture values to SSTATE_ARCHS so the syst= em cna properly > track them. > > Remove the pointless tasks we don't need from the dummy recipes, mark the= packagedata > as machine independent and then remove from the conflict list in sstate.b= bclass. > > Signed-off-by: Richard Purdie > --- Hi Richard, I get some failures with this commit: ERROR: core-image-sato-1.0-r0 do_populate_sdk: Error executing a python fun= ction in exec_func_python() autogenerated: ... File: '/srv/pokybuild/yocto-worker/genericx86-64/build/layers/openembedded-= core/meta/lib/oe/package_manager/__init__.py', lineno: 529, function: creat= e_packages_dir 0525: start =3D next 0526: 0527: for dep in pkgdeps: 0528: c =3D taskdepdata[dep][0] *** 0529: manifest, d2 =3D oe.sstatesig.find_sstate_manifest(c, tas= kdepdata[dep][2], taskname, d, multilibs) 0530: if not manifest: 0531: bb.fatal("No manifest generated from: %s in %s" % (c,= taskdepdata[dep][2])) 0532: if not os.path.exists(manifest): 0533: continue File: '/srv/pokybuild/yocto-worker/genericx86-64/build/layers/openembedded-= core/meta/lib/oe/sstatesig.py', lineno: 536, function: find_sstate_manifest 0532: if os.path.exists(manifest): 0533: return manifest, d2 0534: searched_manifests.append(manifest) 0535: bb.fatal("The sstate manifest for task '%s:%s' (multilib vari= ant '%s') could not be found.\nThe pkgarchs considered were: %s.\nBut none = of these manifests exists:\n %s" *** 0536: % (taskdata, taskname, variant, d2.expand(", ".join(p= kgarchs)),"\n ".join(searched_manifests))) 0537: return None, d2 0538: 0539:def OEOuthashBasic(path, sigfile, task, d): 0540: """ Exception: TypeError: sequence item 2: expected str instance, list found https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3385 https://autobuilder.yoctoproject.org/valkyrie/#/builders/8/builds/3416 Thanks, Mathieu --=20 Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com