From patchwork Fri Nov 20 15:29:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 105094 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.8306.1795188567050477100 for ; Fri, 20 Nov 2026 07:29:27 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=id//gFgF; 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 7EBF215A1 for ; Fri, 20 Nov 2026 07:29:23 -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 0C6203F632 for ; Fri, 20 Nov 2026 07:29:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1795188566; bh=HXZ6Ci9Xr5jV/5KEbtDPskfAOkUhPwnHr3jB/EfSxmM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=id//gFgF13t6sa5dDNdVXOY8vP0UnlE2km9UrOvzAyGV5v3lKnx/oOYGLCxe1dmVZ qPq9jXmZToNohnuY2al13ZrLZkoVaF6FXuDflsx87LMHmGFSS+tN02UxfvfJKFJdry wW1zFeMRitF6K/ACBPKA+StKPVseC/Ni9JSGBQMY= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 2/4] python3: set RPROVIDES for fcntl and pkgutil instead of empty packages Date: Fri, 20 Nov 2026 15:29:19 +0000 Message-ID: <20261120152921.3339902-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261120152921.3339902-1-ross.burton@arm.com> References: <20261120152921.3339902-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 ; Fri, 20 Nov 2026 15:29:32 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/250808 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 | 22 ++++--------------- .../recipes-devtools/python/python3_3.15.2.bb | 2 -- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index 5f9bfbdf0e7..7a7f7db9b20 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json @@ -185,6 +185,10 @@ }, "core": { "summary": "Python interpreter and core modules", + "rprovides": [ + "fcntl", + "pkgutil" + ], "rdepends": [], "skip_depends": { "core": [ @@ -634,14 +638,6 @@ ], "cached": [] }, - "fcntl": { - "summary": "Python's fcntl interface", - "rdepends": [ - "core" - ], - "files": [], - "cached": [] - }, "gdbm": { "summary": "Python GNU database support", "rdepends": [ @@ -810,7 +806,6 @@ "doctest", "email", "ensurepip", - "fcntl", "html", "idle", "image", @@ -826,7 +821,6 @@ "netserver", "numbers", "pickle", - "pkgutil", "plistlib", "pprint", "profile", @@ -963,14 +957,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.15.2.bb b/meta/recipes-devtools/python/python3_3.15.2.bb index 13d10face62..61eabc07b54 100644 --- a/meta/recipes-devtools/python/python3_3.15.2.bb +++ b/meta/recipes-devtools/python/python3_3.15.2.bb @@ -480,9 +480,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")