From patchwork Wed Nov 18 17:47:42 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 104786 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.2512.1795024069981588805 for ; Wed, 18 Nov 2026 09:47:50 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=nAgKMgWG; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 921711596 for ; Wed, 18 Nov 2026 09:47:46 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 396573F632 for ; Wed, 18 Nov 2026 09:47:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1795024069; bh=daNXFoAO1bvzD1aqZ7Eg/Hw5J44xZJ6sspMZcFeRr1s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nAgKMgWGrClCdwaIYJ+GgCztpXbn2zVnVE4pwP47HFjjecOVsWjueZyZeL4wtEGjs OjGKKi5IUI4spMT1B0uKyKo+Z/yHJ89oXC1Oy02DSTUXu3NNSd7ORPtQPIvosvE4TX 29vEGDReh51VYAYNHXAONnWzJZVAAG1jJdx0FJLk= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/4] python3: set RPROVIDES for fcntl and pkgutil instead of empty packages Date: Wed, 18 Nov 2026 17:47:42 +0000 Message-ID: <20261118174744.2483235-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261118174744.2483235-1-ross.burton@arm.com> References: <20261118174744.2483235-1-ross.burton@arm.com> MIME-Version: 1.0 X-ARM-No-Footer: NoDisclaimer List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Wed, 18 Nov 2026 17:47:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/250574 The -fcntl and -pkgutil packages were previously separate but merged into -core as they became mandatory dependencies. The -fcntl package had a file in the manifest, but this was already packaged into -core so the package was actually empty. Instead of generating empty packages, we can now just RPROVIDE the old name. [1] pkgutil in oe-core e6ab9f16b92 ("python3: update to 3.8.1"), fcntl in oe-core 0b49c9aa312 ("python3: update 3.12.6 -> 3.13.0") Signed-off-by: Ross Burton --- .../python/python3/python3-manifest.json | 23 ++++--------------- .../python/python3_3.14.10.bb | 2 -- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index 0c91745e675..902f7c31475 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json @@ -186,6 +186,11 @@ }, "core": { "summary": "Python interpreter and core modules", + "rprovides": [ + "compression", + "fcntl", + "pkgutil" + ], "rdepends": [], "skip_depends": { "core": [ @@ -632,14 +637,6 @@ ], "cached": [] }, - "fcntl": { - "summary": "Python's fcntl interface", - "rdepends": [ - "core" - ], - "files": [], - "cached": [] - }, "gdbm": { "summary": "Python GNU database support", "rdepends": [ @@ -808,7 +805,6 @@ "doctest", "email", "ensurepip", - "fcntl", "html", "idle", "image", @@ -824,7 +820,6 @@ "netserver", "numbers", "pickle", - "pkgutil", "plistlib", "pprint", "profile", @@ -961,14 +956,6 @@ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/shelve.*.pyc" ] }, - "pkgutil": { - "summary": "Python package extension utility support", - "rdepends": [ - "core" - ], - "files": [], - "cached": [] - }, "plistlib": { "summary": "Generate and parse Mac OS X .plist files", "rdepends": [ diff --git a/meta/recipes-devtools/python/python3_3.14.10.bb b/meta/recipes-devtools/python/python3_3.14.10.bb index 1f9d597eb69..b3e8123d4d6 100644 --- a/meta/recipes-devtools/python/python3_3.14.10.bb +++ b/meta/recipes-devtools/python/python3_3.14.10.bb @@ -493,9 +493,7 @@ python(){ # Prepending so to avoid python-misc getting everything packages = newpackages + packages d.setVar('PACKAGES', ' '.join(packages)) - d.setVar('ALLOW_EMPTY:${PN}-fcntl', '1') d.setVar('ALLOW_EMPTY:${PN}-modules', '1') - d.setVar('ALLOW_EMPTY:${PN}-pkgutil', '1') if "pgo" in d.getVar("PACKAGECONFIG").split() and not bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', True, False, d): bb.fatal("pgo cannot be enabled as there is no qemu-usermode support for this architecture/machine")