diff mbox series

[2/2] poky: avoid using host Python by inheriting python3native in appropriate recipes

Message ID 20240724133624.3450439-1-d.mukhametgaleev@yadro.com
State New
Headers show
Series None | expand

Commit Message

Daniil Mukhametgaleev July 24, 2024, 1:36 p.m. UTC
Signed-off-by: Daniil Mukhametgaleev <d.mukhametgaleev@yadro.com>
---
 meta/recipes-bsp/grub/grub-efi_2.12.bb                         | 2 ++
 meta/recipes-bsp/grub/grub_2.12.bb                             | 2 ++
 meta/recipes-core/coreutils/coreutils_9.4.bb                   | 2 ++
 meta/recipes-core/gettext/gettext_0.22.5.bb                    | 2 ++
 meta/recipes-core/glibc/glibc_2.39.bb                          | 2 ++
 meta/recipes-devtools/binutils/binutils-cross_2.42.bb          | 2 ++
 meta/recipes-devtools/bison/bison_3.8.2.bb                     | 2 ++
 meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb            | 2 ++
 meta/recipes-devtools/flex/flex_2.6.4.bb                       | 3 +++
 meta/recipes-devtools/gcc/gcc-cross_13.2.bb                    | 1 +
 meta/recipes-devtools/gcc/gcc-runtime_13.2.bb                  | 2 ++
 meta/recipes-devtools/mtools/mtools_4.0.43.bb                  | 3 +++
 meta/recipes-devtools/pseudo/pseudo_git.bb                     | 2 ++
 meta/recipes-devtools/rsync/rsync_3.2.7.bb                     | 2 ++
 meta/recipes-extended/bash/bash_5.2.21.bb                      | 2 ++
 meta/recipes-extended/bc/bc_1.07.1.bb                          | 3 +++
 meta/recipes-extended/cpio/cpio_2.15.bb                        | 2 ++
 meta/recipes-extended/diffutils/diffutils_3.10.bb              | 2 ++
 meta/recipes-extended/ed/ed_1.20.1.bb                          | 2 ++
 meta/recipes-extended/findutils/findutils_4.9.0.bb             | 2 ++
 meta/recipes-extended/gawk/gawk_5.3.0.bb                       | 2 ++
 meta/recipes-extended/grep/grep_3.11.bb                        | 2 ++
 meta/recipes-extended/groff/groff_1.23.0.bb                    | 2 ++
 meta/recipes-extended/gzip/gzip_1.13.bb                        | 2 ++
 meta/recipes-extended/lzip/lzip_1.24.bb                        | 2 ++
 meta/recipes-extended/lzip/lzlib_1.14.bb                       | 3 +++
 meta/recipes-extended/parted/parted_3.6.bb                     | 2 ++
 meta/recipes-extended/screen/screen_4.9.1.bb                   | 2 ++
 meta/recipes-extended/sed/sed_4.9.bb                           | 2 ++
 meta/recipes-extended/tar/tar_1.35.bb                          | 2 ++
 meta/recipes-extended/time/time_1.9.bb                         | 2 ++
 meta/recipes-extended/wget/wget_1.21.4.bb                      | 2 ++
 meta/recipes-extended/which/which_2.21.bb                      | 2 ++
 .../ca-certificates/ca-certificates_20211016.bb                | 2 ++
 meta/recipes-support/gmp/gmp_6.3.0.bb                          | 2 ++
 meta/recipes-support/libassuan/libassuan_2.5.6.bb              | 2 ++
 meta/recipes-support/libcheck/libcheck_0.15.2.bb               | 2 ++
 meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb             | 2 ++
 meta/recipes-support/libgpg-error/libgpg-error_1.48.bb         | 2 ++
 meta/recipes-support/libmpc/libmpc_1.3.1.bb                    | 1 +
 meta/recipes-support/libunistring/libunistring_1.2.bb          | 3 +++
 meta/recipes-support/mpfr/mpfr_4.2.1.bb                        | 2 ++
 meta/recipes-support/nettle/nettle_3.9.1.bb                    | 2 ++
 43 files changed, 89 insertions(+)

Comments

patchtest@automation.yoctoproject.org July 24, 2024, 1:48 p.m. UTC | #1
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch /home/patchtest/share/mboxes/2-2-poky-avoid-using-host-Python-by-inheriting-python3native-in-appropriate-recipes.patch

FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)

PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: pretest src uri left files: Patch cannot be merged (test_metadata.TestMetadata.pretest_src_uri_left_files)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test src uri left files: Patch cannot be merged (test_metadata.TestMetadata.test_src_uri_left_files)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!
Ross Burton July 24, 2024, 3:36 p.m. UTC | #2
Adding python3-native to such a large number of recipes needs to be justified.  We run bitbake on the native python, so what’s the problem of also using it eg build ed?

Ross

> On 24 Jul 2024, at 14:36, Daniil Mukhametgaleev via lists.openembedded.org <d.mukhametgaleev=yadro.com@lists.openembedded.org> wrote:
> 
> Signed-off-by: Daniil Mukhametgaleev <d.mukhametgaleev@yadro.com>
> ---
> meta/recipes-bsp/grub/grub-efi_2.12.bb                         | 2 ++
> meta/recipes-bsp/grub/grub_2.12.bb                             | 2 ++
> meta/recipes-core/coreutils/coreutils_9.4.bb                   | 2 ++
> meta/recipes-core/gettext/gettext_0.22.5.bb                    | 2 ++
> meta/recipes-core/glibc/glibc_2.39.bb                          | 2 ++
> meta/recipes-devtools/binutils/binutils-cross_2.42.bb          | 2 ++
> meta/recipes-devtools/bison/bison_3.8.2.bb                     | 2 ++
> meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb            | 2 ++
> meta/recipes-devtools/flex/flex_2.6.4.bb                       | 3 +++
> meta/recipes-devtools/gcc/gcc-cross_13.2.bb                    | 1 +
> meta/recipes-devtools/gcc/gcc-runtime_13.2.bb                  | 2 ++
> meta/recipes-devtools/mtools/mtools_4.0.43.bb                  | 3 +++
> meta/recipes-devtools/pseudo/pseudo_git.bb                     | 2 ++
> meta/recipes-devtools/rsync/rsync_3.2.7.bb                     | 2 ++
> meta/recipes-extended/bash/bash_5.2.21.bb                      | 2 ++
> meta/recipes-extended/bc/bc_1.07.1.bb                          | 3 +++
> meta/recipes-extended/cpio/cpio_2.15.bb                        | 2 ++
> meta/recipes-extended/diffutils/diffutils_3.10.bb              | 2 ++
> meta/recipes-extended/ed/ed_1.20.1.bb                          | 2 ++
> meta/recipes-extended/findutils/findutils_4.9.0.bb             | 2 ++
> meta/recipes-extended/gawk/gawk_5.3.0.bb                       | 2 ++
> meta/recipes-extended/grep/grep_3.11.bb                        | 2 ++
> meta/recipes-extended/groff/groff_1.23.0.bb                    | 2 ++
> meta/recipes-extended/gzip/gzip_1.13.bb                        | 2 ++
> meta/recipes-extended/lzip/lzip_1.24.bb                        | 2 ++
> meta/recipes-extended/lzip/lzlib_1.14.bb                       | 3 +++
> meta/recipes-extended/parted/parted_3.6.bb                     | 2 ++
> meta/recipes-extended/screen/screen_4.9.1.bb                   | 2 ++
> meta/recipes-extended/sed/sed_4.9.bb                           | 2 ++
> meta/recipes-extended/tar/tar_1.35.bb                          | 2 ++
> meta/recipes-extended/time/time_1.9.bb                         | 2 ++
> meta/recipes-extended/wget/wget_1.21.4.bb                      | 2 ++
> meta/recipes-extended/which/which_2.21.bb                      | 2 ++
> .../ca-certificates/ca-certificates_20211016.bb                | 2 ++
> meta/recipes-support/gmp/gmp_6.3.0.bb                          | 2 ++
> meta/recipes-support/libassuan/libassuan_2.5.6.bb              | 2 ++
> meta/recipes-support/libcheck/libcheck_0.15.2.bb               | 2 ++
> meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb             | 2 ++
> meta/recipes-support/libgpg-error/libgpg-error_1.48.bb         | 2 ++
> meta/recipes-support/libmpc/libmpc_1.3.1.bb                    | 1 +
> meta/recipes-support/libunistring/libunistring_1.2.bb          | 3 +++
> meta/recipes-support/mpfr/mpfr_4.2.1.bb                        | 2 ++
> meta/recipes-support/nettle/nettle_3.9.1.bb                    | 2 ++
> 43 files changed, 89 insertions(+)
> 
> diff --git a/meta/recipes-bsp/grub/grub-efi_2.12.bb b/meta/recipes-bsp/grub/grub-efi_2.12.bb
> index 9857e8e0..f6e8b74a 100644
> --- a/meta/recipes-bsp/grub/grub-efi_2.12.bb
> +++ b/meta/recipes-bsp/grub/grub-efi_2.12.bb
> @@ -7,6 +7,8 @@ GRUBPLATFORM = "efi"
> DEPENDS:append = " grub-native"
> RDEPENDS:${PN} = "grub-common virtual-grub-bootconf"
> 
> +inherit python3native
> +
> SRC_URI += " \
>            file://cfg \
>           "
> diff --git a/meta/recipes-bsp/grub/grub_2.12.bb b/meta/recipes-bsp/grub/grub_2.12.bb
> index 05d46278..10217230 100644
> --- a/meta/recipes-bsp/grub/grub_2.12.bb
> +++ b/meta/recipes-bsp/grub/grub_2.12.bb
> @@ -1,5 +1,7 @@
> require grub2.inc
> 
> +inherit python3native
> +
> RDEPENDS:${PN}-common += "${PN}-editenv"
> RDEPENDS:${PN} += "${PN}-common"
> RDEPENDS:${PN}:class-native = ""
> diff --git a/meta/recipes-core/coreutils/coreutils_9.4.bb b/meta/recipes-core/coreutils/coreutils_9.4.bb
> index 62ecdea6..386f2ea7 100644
> --- a/meta/recipes-core/coreutils/coreutils_9.4.bb
> +++ b/meta/recipes-core/coreutils/coreutils_9.4.bb
> @@ -13,6 +13,8 @@ DEPENDS:class-native = ""
> 
> inherit autotools gettext texinfo
> 
> +inherit python3native
> +
> SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
>            file://remove-usr-local-lib-from-m4.patch \
>            file://0001-local.mk-fix-cross-compiling-problem.patch \
> diff --git a/meta/recipes-core/gettext/gettext_0.22.5.bb b/meta/recipes-core/gettext/gettext_0.22.5.bb
> index 1a66d379..c7e143c3 100644
> --- a/meta/recipes-core/gettext/gettext_0.22.5.bb
> +++ b/meta/recipes-core/gettext/gettext_0.22.5.bb
> @@ -20,6 +20,8 @@ PROVIDES = "virtual/libintl virtual/gettext"
> PROVIDES:class-native = "virtual/gettext-native"
> RCONFLICTS:${PN} = "proxy-libintl"
> 
> +inherit python3native
> +
> require gettext-sources.inc
> SRC_URI += " \
>            file://parallel.patch \
> diff --git a/meta/recipes-core/glibc/glibc_2.39.bb b/meta/recipes-core/glibc/glibc_2.39.bb
> index 91224726..3e962f34 100644
> --- a/meta/recipes-core/glibc/glibc_2.39.bb
> +++ b/meta/recipes-core/glibc/glibc_2.39.bb
> @@ -18,6 +18,8 @@ easier access for another. 'ASLR bypass itself is not a vulnerability.'"
> 
> DEPENDS += "gperf-native bison-native"
> 
> +inherit python3native
> +
> NATIVESDKFIXES ?= ""
> NATIVESDKFIXES:class-nativesdk = "\
>            file://0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch \
> diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.42.bb b/meta/recipes-devtools/binutils/binutils-cross_2.42.bb
> index fbd1f7d2..28db0a15 100644
> --- a/meta/recipes-devtools/binutils/binutils-cross_2.42.bb
> +++ b/meta/recipes-devtools/binutils/binutils-cross_2.42.bb
> @@ -1,3 +1,5 @@
> require binutils.inc
> require binutils-${PV}.inc
> require binutils-cross.inc
> +
> +inherit python3native
> \ No newline at end of file
> diff --git a/meta/recipes-devtools/bison/bison_3.8.2.bb b/meta/recipes-devtools/bison/bison_3.8.2.bb
> index da138e35..58dc1ef6 100644
> --- a/meta/recipes-devtools/bison/bison_3.8.2.bb
> +++ b/meta/recipes-devtools/bison/bison_3.8.2.bb
> @@ -9,6 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
> SECTION = "devel"
> DEPENDS = "bison-native flex-native"
> 
> +inherit python3native
> +
> SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \
>            file://autoconf-2.73.patch \
>            file://add-with-bisonlocaledir.patch \
> diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
> index 940b47c1..8c9d83b6 100644
> --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
> +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
> @@ -1,5 +1,7 @@
> require e2fsprogs.inc
> 
> +inherit python3native
> +
> SRC_URI += "file://remove.ldconfig.call.patch \
>            file://run-ptest \
>            file://ptest.patch \
> diff --git a/meta/recipes-devtools/flex/flex_2.6.4.bb b/meta/recipes-devtools/flex/flex_2.6.4.bb
> index f7d4ef1f..9245184c 100644
> --- a/meta/recipes-devtools/flex/flex_2.6.4.bb
> +++ b/meta/recipes-devtools/flex/flex_2.6.4.bb
> @@ -7,6 +7,9 @@ LICENSE = "BSD-3-Clause & LGPL-2.0-or-later"
> LICENSE:${PN}-libfl = "BSD-3-Clause"
> 
> DEPENDS = "${@bb.utils.contains('PTEST_ENABLED', '1', 'bison-native flex-native', '', d)}"
> +
> +inherit python3native
> +
> BBCLASSEXTEND = "native nativesdk"
> 
> LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \
> diff --git a/meta/recipes-devtools/gcc/gcc-cross_13.2.bb b/meta/recipes-devtools/gcc/gcc-cross_13.2.bb
> index b43cca0c..b7a8cf43 100644
> --- a/meta/recipes-devtools/gcc/gcc-cross_13.2.bb
> +++ b/meta/recipes-devtools/gcc/gcc-cross_13.2.bb
> @@ -1,3 +1,4 @@
> require recipes-devtools/gcc/gcc-${PV}.inc
> require gcc-cross.inc
> 
> +inherit python3native
> \ No newline at end of file
> diff --git a/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb b/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb
> index dd430b57..f8585b0a 100644
> --- a/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb
> +++ b/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb
> @@ -1,2 +1,4 @@
> require recipes-devtools/gcc/gcc-${PV}.inc
> require gcc-runtime.inc
> +
> +inherit python3native
> \ No newline at end of file
> diff --git a/meta/recipes-devtools/mtools/mtools_4.0.43.bb b/meta/recipes-devtools/mtools/mtools_4.0.43.bb
> index 85910397..793d2964 100644
> --- a/meta/recipes-devtools/mtools/mtools_4.0.43.bb
> +++ b/meta/recipes-devtools/mtools/mtools_4.0.43.bb
> @@ -5,6 +5,9 @@ SECTION = "optional"
> LICENSE = "GPL-3.0-only"
> LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> 
> +inherit python3native
> +
> +
> DEPENDS += "virtual/libiconv"
> 
> RDEPENDS:${PN}:libc-glibc = "glibc-gconv-ibm850"
> diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
> index c70b5092..dd3fd64e 100644
> --- a/meta/recipes-devtools/pseudo/pseudo_git.bb
> +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
> @@ -1,5 +1,7 @@
> require pseudo.inc
> 
> +inherit python3native
> +
> SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
>            file://0001-configure-Prune-PIE-flags.patch \
>            file://glibc238.patch \
> diff --git a/meta/recipes-devtools/rsync/rsync_3.2.7.bb b/meta/recipes-devtools/rsync/rsync_3.2.7.bb
> index 130581a7..efb3579a 100644
> --- a/meta/recipes-devtools/rsync/rsync_3.2.7.bb
> +++ b/meta/recipes-devtools/rsync/rsync_3.2.7.bb
> @@ -10,6 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=24423708fe159c9d12be1ea29fcb18c7"
> 
> DEPENDS = "popt"
> 
> +inherit python3native
> +
> SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \
>            file://rsyncd.conf \
>            file://makefile-no-rebuild.patch \
> diff --git a/meta/recipes-extended/bash/bash_5.2.21.bb b/meta/recipes-extended/bash/bash_5.2.21.bb
> index 46d921bb..6831e3f4 100644
> --- a/meta/recipes-extended/bash/bash_5.2.21.bb
> +++ b/meta/recipes-extended/bash/bash_5.2.21.bb
> @@ -1,5 +1,7 @@
> require bash.inc
> 
> +inherit python3native
> +
> # GPL-2.0-or-later (< 4.0), GPL-3.0-or-later (>= 4.0)
> LICENSE = "GPL-3.0-or-later"
> LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> diff --git a/meta/recipes-extended/bc/bc_1.07.1.bb b/meta/recipes-extended/bc/bc_1.07.1.bb
> index 819da6cd..5882b341 100644
> --- a/meta/recipes-extended/bc/bc_1.07.1.bb
> +++ b/meta/recipes-extended/bc/bc_1.07.1.bb
> @@ -2,6 +2,9 @@ SUMMARY = "Arbitrary precision calculator language"
> HOMEPAGE = "http://www.gnu.org/software/bc/bc.html"
> DESCRIPTION = "bc is an arbitrary precision numeric processing language. Syntax is similar to C, but differs in many substantial areas. It supports interactive execution of statements."
> 
> +
> +inherit python3native
> +
> LICENSE = "GPL-3.0-or-later"
> LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
>                     file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
> diff --git a/meta/recipes-extended/cpio/cpio_2.15.bb b/meta/recipes-extended/cpio/cpio_2.15.bb
> index 52070f59..a20745ef 100644
> --- a/meta/recipes-extended/cpio/cpio_2.15.bb
> +++ b/meta/recipes-extended/cpio/cpio_2.15.bb
> @@ -15,6 +15,8 @@ SRC_URI[sha256sum] = "efa50ef983137eefc0a02fdb51509d624b5e3295c980aa127ceee41834
> 
> inherit autotools gettext texinfo ptest
> 
> +inherit python3native
> +
> CVE_STATUS[CVE-2010-4226] = "not-applicable-platform: Issue applies to use of cpio in SUSE/OBS"
> 
> EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}"
> diff --git a/meta/recipes-extended/diffutils/diffutils_3.10.bb b/meta/recipes-extended/diffutils/diffutils_3.10.bb
> index 08e83056..1cd4052b 100644
> --- a/meta/recipes-extended/diffutils/diffutils_3.10.bb
> +++ b/meta/recipes-extended/diffutils/diffutils_3.10.bb
> @@ -23,6 +23,8 @@ inherit ptest
> 
> RDEPENDS:${PN}-ptest += "make perl"
> 
> +inherit python3native
> +
> do_install_ptest() {
> t=${D}${PTEST_PATH}
> install -D ${S}/build-aux/test-driver $t/build-aux/test-driver
> diff --git a/meta/recipes-extended/ed/ed_1.20.1.bb b/meta/recipes-extended/ed/ed_1.20.1.bb
> index 9ae53002..3d8844b2 100644
> --- a/meta/recipes-extended/ed/ed_1.20.1.bb
> +++ b/meta/recipes-extended/ed/ed_1.20.1.bb
> @@ -25,6 +25,8 @@ EXTRA_OEMAKE = "-e MAKEFLAGS="
> 
> inherit texinfo
> 
> +inherit python3native
> +
> do_configure() {
> ${S}/configure
> }
> diff --git a/meta/recipes-extended/findutils/findutils_4.9.0.bb b/meta/recipes-extended/findutils/findutils_4.9.0.bb
> index 074817df..91f0112e 100644
> --- a/meta/recipes-extended/findutils/findutils_4.9.0.bb
> +++ b/meta/recipes-extended/findutils/findutils_4.9.0.bb
> @@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
> 
> DEPENDS = "bison-native"
> 
> +inherit python3native
> +
> SRC_URI[sha256sum] = "a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe"
> 
> PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
> diff --git a/meta/recipes-extended/gawk/gawk_5.3.0.bb b/meta/recipes-extended/gawk/gawk_5.3.0.bb
> index d7a0fc61..d85c2771 100644
> --- a/meta/recipes-extended/gawk/gawk_5.3.0.bb
> +++ b/meta/recipes-extended/gawk/gawk_5.3.0.bb
> @@ -6,6 +6,8 @@ HOMEPAGE = "https://www.gnu.org/software/gawk/"
> BUGTRACKER  = "bug-gawk@gnu.org"
> SECTION = "console/utils"
> 
> +inherit python3native
> +
> # gawk <= 3.1.5: GPL-2.0-only
> # gawk >= 3.1.6: GPL-3.0-only
> LICENSE = "GPL-3.0-only"
> diff --git a/meta/recipes-extended/grep/grep_3.11.bb b/meta/recipes-extended/grep/grep_3.11.bb
> index cb3105de..0ea329da 100644
> --- a/meta/recipes-extended/grep/grep_3.11.bb
> +++ b/meta/recipes-extended/grep/grep_3.11.bb
> @@ -12,6 +12,8 @@ SRC_URI[sha256sum] = "1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951
> 
> inherit autotools gettext texinfo pkgconfig
> 
> +inherit python3native
> +
> # Fix "Argument list too long" error when len(TMPDIR) = 410
> acpaths = "-I ./m4"
> 
> diff --git a/meta/recipes-extended/groff/groff_1.23.0.bb b/meta/recipes-extended/groff/groff_1.23.0.bb
> index 0fc4f831..e70fcd62 100644
> --- a/meta/recipes-extended/groff/groff_1.23.0.bb
> +++ b/meta/recipes-extended/groff/groff_1.23.0.bb
> @@ -5,6 +5,8 @@ SECTION = "base"
> HOMEPAGE = "http://www.gnu.org/software/groff/"
> LICENSE = "GPL-3.0-only"
> 
> +inherit python3native
> +
> LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> 
> SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz \
> diff --git a/meta/recipes-extended/gzip/gzip_1.13.bb b/meta/recipes-extended/gzip/gzip_1.13.bb
> index fd846b30..095ee896 100644
> --- a/meta/recipes-extended/gzip/gzip_1.13.bb
> +++ b/meta/recipes-extended/gzip/gzip_1.13.bb
> @@ -20,6 +20,8 @@ BBCLASSEXTEND = "native nativesdk"
> 
> inherit ptest
> 
> +inherit python3native
> +
> do_install_ptest() {
> mkdir -p ${D}${PTEST_PATH}/src/build-aux
> cp ${S}/build-aux/test-driver ${D}${PTEST_PATH}/src/build-aux/
> diff --git a/meta/recipes-extended/lzip/lzip_1.24.bb b/meta/recipes-extended/lzip/lzip_1.24.bb
> index 73040a6f..df4c338e 100644
> --- a/meta/recipes-extended/lzip/lzip_1.24.bb
> +++ b/meta/recipes-extended/lzip/lzip_1.24.bb
> @@ -13,6 +13,8 @@ SRC_URI[sha256sum] = "d42659229b10e066eeb6e81eb673cdd893b672e512d26719c2d9597555
> B = "${WORKDIR}/build"
> do_configure[cleandirs] = "${B}"
> 
> +inherit python3native
> +
> CONFIGUREOPTS = "\
>     '--srcdir=${S}' \
>     '--prefix=${prefix}' \
> diff --git a/meta/recipes-extended/lzip/lzlib_1.14.bb b/meta/recipes-extended/lzip/lzlib_1.14.bb
> index a6010bbf..0ab0b4f4 100644
> --- a/meta/recipes-extended/lzip/lzlib_1.14.bb
> +++ b/meta/recipes-extended/lzip/lzlib_1.14.bb
> @@ -11,6 +11,9 @@ SRC_URI[sha256sum] = "5acac8714ed4f306020bae660dddce706e5f8a795863679037da9fe6bf
> B = "${WORKDIR}/build"
> do_configure[cleandirs] = "${B}"
> 
> +inherit python3native
> +
> +
> CONFIGUREOPTS = "\
>     '--srcdir=${S}' \
>     '--prefix=${prefix}' \
> diff --git a/meta/recipes-extended/parted/parted_3.6.bb b/meta/recipes-extended/parted/parted_3.6.bb
> index a537ef74..3d98c97f 100644
> --- a/meta/recipes-extended/parted/parted_3.6.bb
> +++ b/meta/recipes-extended/parted/parted_3.6.bb
> @@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c"
> SECTION = "console/tools"
> DEPENDS = "ncurses util-linux virtual/libiconv"
> 
> +inherit python3native
> +
> SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
>            file://fix-doc-mandir.patch \
>            file://0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch \
> diff --git a/meta/recipes-extended/screen/screen_4.9.1.bb b/meta/recipes-extended/screen/screen_4.9.1.bb
> index 7b040e6b..53f43770 100644
> --- a/meta/recipes-extended/screen/screen_4.9.1.bb
> +++ b/meta/recipes-extended/screen/screen_4.9.1.bb
> @@ -7,6 +7,8 @@ BUGTRACKER = "https://savannah.gnu.org/bugs/?func=additem&group=screen"
> 
> SECTION = "console/utils"
> 
> +inherit python3native
> +
> LICENSE = "GPL-3.0-or-later"
> LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
>                     file://screen.h;endline=26;md5=b8dc717c9a3dba842ae6c44ca0f73f52 \
> diff --git a/meta/recipes-extended/sed/sed_4.9.bb b/meta/recipes-extended/sed/sed_4.9.bb
> index c4d89c34..2332b81d 100644
> --- a/meta/recipes-extended/sed/sed_4.9.bb
> +++ b/meta/recipes-extended/sed/sed_4.9.bb
> @@ -20,6 +20,8 @@ PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
> RDEPENDS:${PN}-ptest += "make gawk perl perl-module-filehandle perl-module-file-compare perl-module-file-find perl-module-file-temp perl-module-file-stat"
> RRECOMMENDS:${PN}-ptest:append:libc-glibc = " locale-base-ru-ru locale-base-en-us locale-base-el-gr.iso-8859-7"
> 
> +inherit python3native
> +
> EXTRA_OECONF = "--disable-acl \
>                "
> 
> diff --git a/meta/recipes-extended/tar/tar_1.35.bb b/meta/recipes-extended/tar/tar_1.35.bb
> index c7bd1d19..cf22c26b 100644
> --- a/meta/recipes-extended/tar/tar_1.35.bb
> +++ b/meta/recipes-extended/tar/tar_1.35.bb
> @@ -12,6 +12,8 @@ SRC_URI[sha256sum] = "7edb8886a3dc69420a1446e1e2d061922b642f1cf632d2cd0f9ee7e690
> 
> inherit autotools gettext texinfo
> 
> +inherit python3native
> +
> PACKAGECONFIG ??= ""
> PACKAGECONFIG:append:class-target = " ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)}"
> 
> diff --git a/meta/recipes-extended/time/time_1.9.bb b/meta/recipes-extended/time/time_1.9.bb
> index 8364210e..77faf6fa 100644
> --- a/meta/recipes-extended/time/time_1.9.bb
> +++ b/meta/recipes-extended/time/time_1.9.bb
> @@ -21,3 +21,5 @@ SRC_URI[md5sum] = "d2356e0fe1c0b85285d83c6b2ad51b5f"
> SRC_URI[sha256sum] = "fbacf0c81e62429df3e33bda4cee38756604f18e01d977338e23306a3e3b521e"
> 
> inherit autotools
> +
> +inherit python3native
> \ No newline at end of file
> diff --git a/meta/recipes-extended/wget/wget_1.21.4.bb b/meta/recipes-extended/wget/wget_1.21.4.bb
> index 1d31b011..d7829916 100644
> --- a/meta/recipes-extended/wget/wget_1.21.4.bb
> +++ b/meta/recipes-extended/wget/wget_1.21.4.bb
> @@ -1,3 +1,5 @@
> +inherit python3native
> +
> SRC_URI = "${GNU_MIRROR}/wget/wget-${PV}.tar.gz \
>            file://0002-improve-reproducibility.patch \
>           "
> diff --git a/meta/recipes-extended/which/which_2.21.bb b/meta/recipes-extended/which/which_2.21.bb
> index 77861370..d311b576 100644
> --- a/meta/recipes-extended/which/which_2.21.bb
> +++ b/meta/recipes-extended/which/which_2.21.bb
> @@ -11,6 +11,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
>                     file://which.c;beginline=1;endline=17;md5=a9963693af2272e7a8df6f231164e7a2"
> DEPENDS     = "cwautomacros-native"
> 
> +inherit python3native
> +
> inherit autotools texinfo update-alternatives
> 
> 
> diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb b/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb
> index 99abe606..35ddd6dc 100644
> --- a/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb
> +++ b/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb
> @@ -14,6 +14,8 @@ DEPENDS:class-nativesdk = "openssl-native"
> # Need rehash from openssl and run-parts from debianutils
> PACKAGE_WRITE_DEPS += "openssl-native debianutils-native"
> 
> +inherit python3native
> +
> SRCREV = "07de54fdcc5806bde549e1edf60738c6bccf50e8"
> 
> SRC_URI = "git://salsa.debian.org/debian/ca-certificates.git;protocol=https;branch=master \
> diff --git a/meta/recipes-support/gmp/gmp_6.3.0.bb b/meta/recipes-support/gmp/gmp_6.3.0.bb
> index fd4aec92..2356483d 100644
> --- a/meta/recipes-support/gmp/gmp_6.3.0.bb
> +++ b/meta/recipes-support/gmp/gmp_6.3.0.bb
> @@ -25,6 +25,8 @@ EXTRA_OECONF:append:mipsarchr6 = " --disable-assembly"
> PACKAGES =+ "libgmpxx"
> FILES:libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
> 
> +inherit python3native
> +
> do_install:append() {
> oe_multilib_header gmp.h
> }
> diff --git a/meta/recipes-support/libassuan/libassuan_2.5.6.bb b/meta/recipes-support/libassuan/libassuan_2.5.6.bb
> index 7e899e73..22773a32 100644
> --- a/meta/recipes-support/libassuan/libassuan_2.5.6.bb
> +++ b/meta/recipes-support/libassuan/libassuan_2.5.6.bb
> @@ -15,6 +15,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
> 
> DEPENDS = "libgpg-error"
> 
> +inherit python3native
> +
> UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
> SRC_URI = "${GNUPG_MIRROR}/libassuan/libassuan-${PV}.tar.bz2 \
>            file://libassuan-add-pkgconfig-support.patch \
> diff --git a/meta/recipes-support/libcheck/libcheck_0.15.2.bb b/meta/recipes-support/libcheck/libcheck_0.15.2.bb
> index 5ab67b87..00bf9e2f 100644
> --- a/meta/recipes-support/libcheck/libcheck_0.15.2.bb
> +++ b/meta/recipes-support/libcheck/libcheck_0.15.2.bb
> @@ -20,6 +20,8 @@ S = "${WORKDIR}/check-${PV}"
> 
> inherit autotools pkgconfig texinfo github-releases
> 
> +inherit python3native
> +
> CACHED_CONFIGUREVARS += "ac_cv_path_AWK_PATH=${bindir}/gawk"
> 
> RREPLACES:${PN} = "check (<= 0.9.5)"
> diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb
> index 5a76201a..79b33fea 100644
> --- a/meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb
> +++ b/meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb
> @@ -6,6 +6,8 @@ HOMEPAGE = "http://directory.fsf.org/project/libgcrypt/"
> BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
> SECTION = "libs"
> 
> +inherit python3native
> +
> # helper program gcryptrnd and getrandom are under GPL, rest LGPL
> LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
> LICENSE:${PN} = "LGPL-2.1-or-later"
> diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
> index 9f2b4920..b42ccb07 100644
> --- a/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
> +++ b/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
> @@ -32,6 +32,8 @@ MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/gpgrt-config"
> 
> CPPFLAGS += "-P"
> 
> +inherit python3native
> +
> do_install:append() {
> # we don't have common lisp in OE
> rm -rf "${D}${datadir}/common-lisp/"
> diff --git a/meta/recipes-support/libmpc/libmpc_1.3.1.bb b/meta/recipes-support/libmpc/libmpc_1.3.1.bb
> index ed57396c..3c6e8958 100644
> --- a/meta/recipes-support/libmpc/libmpc_1.3.1.bb
> +++ b/meta/recipes-support/libmpc/libmpc_1.3.1.bb
> @@ -2,6 +2,7 @@ require libmpc.inc
> 
> DEPENDS = "gmp mpfr"
> 
> +inherit python3native
> LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02"
> SRC_URI = "${GNU_MIRROR}/mpc/mpc-${PV}.tar.gz"
> 
> diff --git a/meta/recipes-support/libunistring/libunistring_1.2.bb b/meta/recipes-support/libunistring/libunistring_1.2.bb
> index 3018dbfd..d23d7b15 100644
> --- a/meta/recipes-support/libunistring/libunistring_1.2.bb
> +++ b/meta/recipes-support/libunistring/libunistring_1.2.bb
> @@ -24,4 +24,7 @@ SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz"
> SRC_URI[sha256sum] = "fd6d5662fa706487c48349a758b57bc149ce94ec6c30624ec9fdc473ceabbc8e"
> 
> inherit autotools texinfo
> +
> +inherit python3native
> +
> BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta/recipes-support/mpfr/mpfr_4.2.1.bb b/meta/recipes-support/mpfr/mpfr_4.2.1.bb
> index a2067e10..8d21db7f 100644
> --- a/meta/recipes-support/mpfr/mpfr_4.2.1.bb
> +++ b/meta/recipes-support/mpfr/mpfr_4.2.1.bb
> @@ -11,6 +11,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 \
>                     "
> DEPENDS = "gmp autoconf-archive-native"
> 
> +inherit python3native
> +
> SRC_URI = "https://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.xz"
> SRC_URI[sha256sum] = "277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2"
> 
> diff --git a/meta/recipes-support/nettle/nettle_3.9.1.bb b/meta/recipes-support/nettle/nettle_3.9.1.bb
> index 396708cf..99766dbf 100644
> --- a/meta/recipes-support/nettle/nettle_3.9.1.bb
> +++ b/meta/recipes-support/nettle/nettle_3.9.1.bb
> @@ -14,6 +14,8 @@ LIC_FILES_CHKSUM = "file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6
> 
> DEPENDS += "gmp"
> 
> +inherit python3native
> +
> SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
>            file://Add-target-to-only-build-tests-not-run-them.patch \
>            file://run-ptest \
> -- 
> 2.30.2
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#202443): https://lists.openembedded.org/g/openembedded-core/message/202443
> Mute This Topic: https://lists.openembedded.org/mt/107523162/6875888
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ross.burton@arm.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-bsp/grub/grub-efi_2.12.bb b/meta/recipes-bsp/grub/grub-efi_2.12.bb
index 9857e8e0..f6e8b74a 100644
--- a/meta/recipes-bsp/grub/grub-efi_2.12.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.12.bb
@@ -7,6 +7,8 @@  GRUBPLATFORM = "efi"
 DEPENDS:append = " grub-native"
 RDEPENDS:${PN} = "grub-common virtual-grub-bootconf"
 
+inherit python3native
+
 SRC_URI += " \
            file://cfg \
           "
diff --git a/meta/recipes-bsp/grub/grub_2.12.bb b/meta/recipes-bsp/grub/grub_2.12.bb
index 05d46278..10217230 100644
--- a/meta/recipes-bsp/grub/grub_2.12.bb
+++ b/meta/recipes-bsp/grub/grub_2.12.bb
@@ -1,5 +1,7 @@ 
 require grub2.inc
 
+inherit python3native
+
 RDEPENDS:${PN}-common += "${PN}-editenv"
 RDEPENDS:${PN} += "${PN}-common"
 RDEPENDS:${PN}:class-native = ""
diff --git a/meta/recipes-core/coreutils/coreutils_9.4.bb b/meta/recipes-core/coreutils/coreutils_9.4.bb
index 62ecdea6..386f2ea7 100644
--- a/meta/recipes-core/coreutils/coreutils_9.4.bb
+++ b/meta/recipes-core/coreutils/coreutils_9.4.bb
@@ -13,6 +13,8 @@  DEPENDS:class-native = ""
 
 inherit autotools gettext texinfo
 
+inherit python3native
+
 SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
            file://remove-usr-local-lib-from-m4.patch \
            file://0001-local.mk-fix-cross-compiling-problem.patch \
diff --git a/meta/recipes-core/gettext/gettext_0.22.5.bb b/meta/recipes-core/gettext/gettext_0.22.5.bb
index 1a66d379..c7e143c3 100644
--- a/meta/recipes-core/gettext/gettext_0.22.5.bb
+++ b/meta/recipes-core/gettext/gettext_0.22.5.bb
@@ -20,6 +20,8 @@  PROVIDES = "virtual/libintl virtual/gettext"
 PROVIDES:class-native = "virtual/gettext-native"
 RCONFLICTS:${PN} = "proxy-libintl"
 
+inherit python3native
+
 require gettext-sources.inc
 SRC_URI += " \
            file://parallel.patch \
diff --git a/meta/recipes-core/glibc/glibc_2.39.bb b/meta/recipes-core/glibc/glibc_2.39.bb
index 91224726..3e962f34 100644
--- a/meta/recipes-core/glibc/glibc_2.39.bb
+++ b/meta/recipes-core/glibc/glibc_2.39.bb
@@ -18,6 +18,8 @@  easier access for another. 'ASLR bypass itself is not a vulnerability.'"
 
 DEPENDS += "gperf-native bison-native"
 
+inherit python3native
+
 NATIVESDKFIXES ?= ""
 NATIVESDKFIXES:class-nativesdk = "\
            file://0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch \
diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.42.bb b/meta/recipes-devtools/binutils/binutils-cross_2.42.bb
index fbd1f7d2..28db0a15 100644
--- a/meta/recipes-devtools/binutils/binutils-cross_2.42.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross_2.42.bb
@@ -1,3 +1,5 @@ 
 require binutils.inc
 require binutils-${PV}.inc
 require binutils-cross.inc
+
+inherit python3native
\ No newline at end of file
diff --git a/meta/recipes-devtools/bison/bison_3.8.2.bb b/meta/recipes-devtools/bison/bison_3.8.2.bb
index da138e35..58dc1ef6 100644
--- a/meta/recipes-devtools/bison/bison_3.8.2.bb
+++ b/meta/recipes-devtools/bison/bison_3.8.2.bb
@@ -9,6 +9,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
 SECTION = "devel"
 DEPENDS = "bison-native flex-native"
 
+inherit python3native
+
 SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \
            file://autoconf-2.73.patch \
            file://add-with-bisonlocaledir.patch \
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
index 940b47c1..8c9d83b6 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
@@ -1,5 +1,7 @@ 
 require e2fsprogs.inc
 
+inherit python3native
+
 SRC_URI += "file://remove.ldconfig.call.patch \
            file://run-ptest \
            file://ptest.patch \
diff --git a/meta/recipes-devtools/flex/flex_2.6.4.bb b/meta/recipes-devtools/flex/flex_2.6.4.bb
index f7d4ef1f..9245184c 100644
--- a/meta/recipes-devtools/flex/flex_2.6.4.bb
+++ b/meta/recipes-devtools/flex/flex_2.6.4.bb
@@ -7,6 +7,9 @@  LICENSE = "BSD-3-Clause & LGPL-2.0-or-later"
 LICENSE:${PN}-libfl = "BSD-3-Clause"
 
 DEPENDS = "${@bb.utils.contains('PTEST_ENABLED', '1', 'bison-native flex-native', '', d)}"
+
+inherit python3native
+
 BBCLASSEXTEND = "native nativesdk"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \
diff --git a/meta/recipes-devtools/gcc/gcc-cross_13.2.bb b/meta/recipes-devtools/gcc/gcc-cross_13.2.bb
index b43cca0c..b7a8cf43 100644
--- a/meta/recipes-devtools/gcc/gcc-cross_13.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross_13.2.bb
@@ -1,3 +1,4 @@ 
 require recipes-devtools/gcc/gcc-${PV}.inc
 require gcc-cross.inc
 
+inherit python3native
\ No newline at end of file
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb b/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb
index dd430b57..f8585b0a 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb
@@ -1,2 +1,4 @@ 
 require recipes-devtools/gcc/gcc-${PV}.inc
 require gcc-runtime.inc
+
+inherit python3native
\ No newline at end of file
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.43.bb b/meta/recipes-devtools/mtools/mtools_4.0.43.bb
index 85910397..793d2964 100644
--- a/meta/recipes-devtools/mtools/mtools_4.0.43.bb
+++ b/meta/recipes-devtools/mtools/mtools_4.0.43.bb
@@ -5,6 +5,9 @@  SECTION = "optional"
 LICENSE = "GPL-3.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
+inherit python3native
+
+
 DEPENDS += "virtual/libiconv"
 
 RDEPENDS:${PN}:libc-glibc = "glibc-gconv-ibm850"
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
index c70b5092..dd3fd64e 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -1,5 +1,7 @@ 
 require pseudo.inc
 
+inherit python3native
+
 SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
            file://0001-configure-Prune-PIE-flags.patch \
            file://glibc238.patch \
diff --git a/meta/recipes-devtools/rsync/rsync_3.2.7.bb b/meta/recipes-devtools/rsync/rsync_3.2.7.bb
index 130581a7..efb3579a 100644
--- a/meta/recipes-devtools/rsync/rsync_3.2.7.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.2.7.bb
@@ -10,6 +10,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=24423708fe159c9d12be1ea29fcb18c7"
 
 DEPENDS = "popt"
 
+inherit python3native
+
 SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \
            file://rsyncd.conf \
            file://makefile-no-rebuild.patch \
diff --git a/meta/recipes-extended/bash/bash_5.2.21.bb b/meta/recipes-extended/bash/bash_5.2.21.bb
index 46d921bb..6831e3f4 100644
--- a/meta/recipes-extended/bash/bash_5.2.21.bb
+++ b/meta/recipes-extended/bash/bash_5.2.21.bb
@@ -1,5 +1,7 @@ 
 require bash.inc
 
+inherit python3native
+
 # GPL-2.0-or-later (< 4.0), GPL-3.0-or-later (>= 4.0)
 LICENSE = "GPL-3.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
diff --git a/meta/recipes-extended/bc/bc_1.07.1.bb b/meta/recipes-extended/bc/bc_1.07.1.bb
index 819da6cd..5882b341 100644
--- a/meta/recipes-extended/bc/bc_1.07.1.bb
+++ b/meta/recipes-extended/bc/bc_1.07.1.bb
@@ -2,6 +2,9 @@  SUMMARY = "Arbitrary precision calculator language"
 HOMEPAGE = "http://www.gnu.org/software/bc/bc.html"
 DESCRIPTION = "bc is an arbitrary precision numeric processing language. Syntax is similar to C, but differs in many substantial areas. It supports interactive execution of statements."
 
+
+inherit python3native
+
 LICENSE = "GPL-3.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                     file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
diff --git a/meta/recipes-extended/cpio/cpio_2.15.bb b/meta/recipes-extended/cpio/cpio_2.15.bb
index 52070f59..a20745ef 100644
--- a/meta/recipes-extended/cpio/cpio_2.15.bb
+++ b/meta/recipes-extended/cpio/cpio_2.15.bb
@@ -15,6 +15,8 @@  SRC_URI[sha256sum] = "efa50ef983137eefc0a02fdb51509d624b5e3295c980aa127ceee41834
 
 inherit autotools gettext texinfo ptest
 
+inherit python3native
+
 CVE_STATUS[CVE-2010-4226] = "not-applicable-platform: Issue applies to use of cpio in SUSE/OBS"
 
 EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}"
diff --git a/meta/recipes-extended/diffutils/diffutils_3.10.bb b/meta/recipes-extended/diffutils/diffutils_3.10.bb
index 08e83056..1cd4052b 100644
--- a/meta/recipes-extended/diffutils/diffutils_3.10.bb
+++ b/meta/recipes-extended/diffutils/diffutils_3.10.bb
@@ -23,6 +23,8 @@  inherit ptest
 
 RDEPENDS:${PN}-ptest += "make perl"
 
+inherit python3native
+
 do_install_ptest() {
 	t=${D}${PTEST_PATH}
 	install -D ${S}/build-aux/test-driver $t/build-aux/test-driver
diff --git a/meta/recipes-extended/ed/ed_1.20.1.bb b/meta/recipes-extended/ed/ed_1.20.1.bb
index 9ae53002..3d8844b2 100644
--- a/meta/recipes-extended/ed/ed_1.20.1.bb
+++ b/meta/recipes-extended/ed/ed_1.20.1.bb
@@ -25,6 +25,8 @@  EXTRA_OEMAKE = "-e MAKEFLAGS="
 
 inherit texinfo
 
+inherit python3native
+
 do_configure() {
 	${S}/configure
 }
diff --git a/meta/recipes-extended/findutils/findutils_4.9.0.bb b/meta/recipes-extended/findutils/findutils_4.9.0.bb
index 074817df..91f0112e 100644
--- a/meta/recipes-extended/findutils/findutils_4.9.0.bb
+++ b/meta/recipes-extended/findutils/findutils_4.9.0.bb
@@ -6,6 +6,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
 
 DEPENDS = "bison-native"
 
+inherit python3native
+
 SRC_URI[sha256sum] = "a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe"
 
 PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
diff --git a/meta/recipes-extended/gawk/gawk_5.3.0.bb b/meta/recipes-extended/gawk/gawk_5.3.0.bb
index d7a0fc61..d85c2771 100644
--- a/meta/recipes-extended/gawk/gawk_5.3.0.bb
+++ b/meta/recipes-extended/gawk/gawk_5.3.0.bb
@@ -6,6 +6,8 @@  HOMEPAGE = "https://www.gnu.org/software/gawk/"
 BUGTRACKER  = "bug-gawk@gnu.org"
 SECTION = "console/utils"
 
+inherit python3native
+
 # gawk <= 3.1.5: GPL-2.0-only
 # gawk >= 3.1.6: GPL-3.0-only
 LICENSE = "GPL-3.0-only"
diff --git a/meta/recipes-extended/grep/grep_3.11.bb b/meta/recipes-extended/grep/grep_3.11.bb
index cb3105de..0ea329da 100644
--- a/meta/recipes-extended/grep/grep_3.11.bb
+++ b/meta/recipes-extended/grep/grep_3.11.bb
@@ -12,6 +12,8 @@  SRC_URI[sha256sum] = "1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951
 
 inherit autotools gettext texinfo pkgconfig
 
+inherit python3native
+
 # Fix "Argument list too long" error when len(TMPDIR) = 410
 acpaths = "-I ./m4"
 
diff --git a/meta/recipes-extended/groff/groff_1.23.0.bb b/meta/recipes-extended/groff/groff_1.23.0.bb
index 0fc4f831..e70fcd62 100644
--- a/meta/recipes-extended/groff/groff_1.23.0.bb
+++ b/meta/recipes-extended/groff/groff_1.23.0.bb
@@ -5,6 +5,8 @@  SECTION = "base"
 HOMEPAGE = "http://www.gnu.org/software/groff/"
 LICENSE = "GPL-3.0-only"
 
+inherit python3native
+
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz \
diff --git a/meta/recipes-extended/gzip/gzip_1.13.bb b/meta/recipes-extended/gzip/gzip_1.13.bb
index fd846b30..095ee896 100644
--- a/meta/recipes-extended/gzip/gzip_1.13.bb
+++ b/meta/recipes-extended/gzip/gzip_1.13.bb
@@ -20,6 +20,8 @@  BBCLASSEXTEND = "native nativesdk"
 
 inherit ptest
 
+inherit python3native
+
 do_install_ptest() {
 	mkdir -p ${D}${PTEST_PATH}/src/build-aux
 	cp ${S}/build-aux/test-driver ${D}${PTEST_PATH}/src/build-aux/
diff --git a/meta/recipes-extended/lzip/lzip_1.24.bb b/meta/recipes-extended/lzip/lzip_1.24.bb
index 73040a6f..df4c338e 100644
--- a/meta/recipes-extended/lzip/lzip_1.24.bb
+++ b/meta/recipes-extended/lzip/lzip_1.24.bb
@@ -13,6 +13,8 @@  SRC_URI[sha256sum] = "d42659229b10e066eeb6e81eb673cdd893b672e512d26719c2d9597555
 B = "${WORKDIR}/build"
 do_configure[cleandirs] = "${B}"
 
+inherit python3native
+
 CONFIGUREOPTS = "\
     '--srcdir=${S}' \
     '--prefix=${prefix}' \
diff --git a/meta/recipes-extended/lzip/lzlib_1.14.bb b/meta/recipes-extended/lzip/lzlib_1.14.bb
index a6010bbf..0ab0b4f4 100644
--- a/meta/recipes-extended/lzip/lzlib_1.14.bb
+++ b/meta/recipes-extended/lzip/lzlib_1.14.bb
@@ -11,6 +11,9 @@  SRC_URI[sha256sum] = "5acac8714ed4f306020bae660dddce706e5f8a795863679037da9fe6bf
 B = "${WORKDIR}/build"
 do_configure[cleandirs] = "${B}"
 
+inherit python3native
+
+
 CONFIGUREOPTS = "\
     '--srcdir=${S}' \
     '--prefix=${prefix}' \
diff --git a/meta/recipes-extended/parted/parted_3.6.bb b/meta/recipes-extended/parted/parted_3.6.bb
index a537ef74..3d98c97f 100644
--- a/meta/recipes-extended/parted/parted_3.6.bb
+++ b/meta/recipes-extended/parted/parted_3.6.bb
@@ -6,6 +6,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c"
 SECTION = "console/tools"
 DEPENDS = "ncurses util-linux virtual/libiconv"
 
+inherit python3native
+
 SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
            file://fix-doc-mandir.patch \
            file://0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch \
diff --git a/meta/recipes-extended/screen/screen_4.9.1.bb b/meta/recipes-extended/screen/screen_4.9.1.bb
index 7b040e6b..53f43770 100644
--- a/meta/recipes-extended/screen/screen_4.9.1.bb
+++ b/meta/recipes-extended/screen/screen_4.9.1.bb
@@ -7,6 +7,8 @@  BUGTRACKER = "https://savannah.gnu.org/bugs/?func=additem&group=screen"
 
 SECTION = "console/utils"
 
+inherit python3native
+
 LICENSE = "GPL-3.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                     file://screen.h;endline=26;md5=b8dc717c9a3dba842ae6c44ca0f73f52 \
diff --git a/meta/recipes-extended/sed/sed_4.9.bb b/meta/recipes-extended/sed/sed_4.9.bb
index c4d89c34..2332b81d 100644
--- a/meta/recipes-extended/sed/sed_4.9.bb
+++ b/meta/recipes-extended/sed/sed_4.9.bb
@@ -20,6 +20,8 @@  PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
 RDEPENDS:${PN}-ptest += "make gawk perl perl-module-filehandle perl-module-file-compare perl-module-file-find perl-module-file-temp perl-module-file-stat"
 RRECOMMENDS:${PN}-ptest:append:libc-glibc = " locale-base-ru-ru locale-base-en-us locale-base-el-gr.iso-8859-7"
 
+inherit python3native
+
 EXTRA_OECONF = "--disable-acl \
                "
 
diff --git a/meta/recipes-extended/tar/tar_1.35.bb b/meta/recipes-extended/tar/tar_1.35.bb
index c7bd1d19..cf22c26b 100644
--- a/meta/recipes-extended/tar/tar_1.35.bb
+++ b/meta/recipes-extended/tar/tar_1.35.bb
@@ -12,6 +12,8 @@  SRC_URI[sha256sum] = "7edb8886a3dc69420a1446e1e2d061922b642f1cf632d2cd0f9ee7e690
 
 inherit autotools gettext texinfo
 
+inherit python3native
+
 PACKAGECONFIG ??= ""
 PACKAGECONFIG:append:class-target = " ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)}"
 
diff --git a/meta/recipes-extended/time/time_1.9.bb b/meta/recipes-extended/time/time_1.9.bb
index 8364210e..77faf6fa 100644
--- a/meta/recipes-extended/time/time_1.9.bb
+++ b/meta/recipes-extended/time/time_1.9.bb
@@ -21,3 +21,5 @@  SRC_URI[md5sum] = "d2356e0fe1c0b85285d83c6b2ad51b5f"
 SRC_URI[sha256sum] = "fbacf0c81e62429df3e33bda4cee38756604f18e01d977338e23306a3e3b521e"
 
 inherit autotools
+
+inherit python3native
\ No newline at end of file
diff --git a/meta/recipes-extended/wget/wget_1.21.4.bb b/meta/recipes-extended/wget/wget_1.21.4.bb
index 1d31b011..d7829916 100644
--- a/meta/recipes-extended/wget/wget_1.21.4.bb
+++ b/meta/recipes-extended/wget/wget_1.21.4.bb
@@ -1,3 +1,5 @@ 
+inherit python3native
+
 SRC_URI = "${GNU_MIRROR}/wget/wget-${PV}.tar.gz \
            file://0002-improve-reproducibility.patch \
           "
diff --git a/meta/recipes-extended/which/which_2.21.bb b/meta/recipes-extended/which/which_2.21.bb
index 77861370..d311b576 100644
--- a/meta/recipes-extended/which/which_2.21.bb
+++ b/meta/recipes-extended/which/which_2.21.bb
@@ -11,6 +11,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
                     file://which.c;beginline=1;endline=17;md5=a9963693af2272e7a8df6f231164e7a2"
 DEPENDS     = "cwautomacros-native"
 
+inherit python3native
+
 inherit autotools texinfo update-alternatives
 
 
diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb b/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb
index 99abe606..35ddd6dc 100644
--- a/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb
+++ b/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb
@@ -14,6 +14,8 @@  DEPENDS:class-nativesdk = "openssl-native"
 # Need rehash from openssl and run-parts from debianutils
 PACKAGE_WRITE_DEPS += "openssl-native debianutils-native"
 
+inherit python3native
+
 SRCREV = "07de54fdcc5806bde549e1edf60738c6bccf50e8"
 
 SRC_URI = "git://salsa.debian.org/debian/ca-certificates.git;protocol=https;branch=master \
diff --git a/meta/recipes-support/gmp/gmp_6.3.0.bb b/meta/recipes-support/gmp/gmp_6.3.0.bb
index fd4aec92..2356483d 100644
--- a/meta/recipes-support/gmp/gmp_6.3.0.bb
+++ b/meta/recipes-support/gmp/gmp_6.3.0.bb
@@ -25,6 +25,8 @@  EXTRA_OECONF:append:mipsarchr6 = " --disable-assembly"
 PACKAGES =+ "libgmpxx"
 FILES:libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
 
+inherit python3native
+
 do_install:append() {
 	oe_multilib_header gmp.h
 }
diff --git a/meta/recipes-support/libassuan/libassuan_2.5.6.bb b/meta/recipes-support/libassuan/libassuan_2.5.6.bb
index 7e899e73..22773a32 100644
--- a/meta/recipes-support/libassuan/libassuan_2.5.6.bb
+++ b/meta/recipes-support/libassuan/libassuan_2.5.6.bb
@@ -15,6 +15,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
 
 DEPENDS = "libgpg-error"
 
+inherit python3native
+
 UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
 SRC_URI = "${GNUPG_MIRROR}/libassuan/libassuan-${PV}.tar.bz2 \
            file://libassuan-add-pkgconfig-support.patch \
diff --git a/meta/recipes-support/libcheck/libcheck_0.15.2.bb b/meta/recipes-support/libcheck/libcheck_0.15.2.bb
index 5ab67b87..00bf9e2f 100644
--- a/meta/recipes-support/libcheck/libcheck_0.15.2.bb
+++ b/meta/recipes-support/libcheck/libcheck_0.15.2.bb
@@ -20,6 +20,8 @@  S = "${WORKDIR}/check-${PV}"
 
 inherit autotools pkgconfig texinfo github-releases
 
+inherit python3native
+
 CACHED_CONFIGUREVARS += "ac_cv_path_AWK_PATH=${bindir}/gawk"
 
 RREPLACES:${PN} = "check (<= 0.9.5)"
diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb
index 5a76201a..79b33fea 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb
+++ b/meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb
@@ -6,6 +6,8 @@  HOMEPAGE = "http://directory.fsf.org/project/libgcrypt/"
 BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
 SECTION = "libs"
 
+inherit python3native
+
 # helper program gcryptrnd and getrandom are under GPL, rest LGPL
 LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
 LICENSE:${PN} = "LGPL-2.1-or-later"
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
index 9f2b4920..b42ccb07 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
@@ -32,6 +32,8 @@  MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/gpgrt-config"
 
 CPPFLAGS += "-P"
 
+inherit python3native
+
 do_install:append() {
 	# we don't have common lisp in OE
 	rm -rf "${D}${datadir}/common-lisp/"
diff --git a/meta/recipes-support/libmpc/libmpc_1.3.1.bb b/meta/recipes-support/libmpc/libmpc_1.3.1.bb
index ed57396c..3c6e8958 100644
--- a/meta/recipes-support/libmpc/libmpc_1.3.1.bb
+++ b/meta/recipes-support/libmpc/libmpc_1.3.1.bb
@@ -2,6 +2,7 @@  require libmpc.inc
 
 DEPENDS = "gmp mpfr"
 
+inherit python3native
 LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02"
 SRC_URI = "${GNU_MIRROR}/mpc/mpc-${PV}.tar.gz"
 
diff --git a/meta/recipes-support/libunistring/libunistring_1.2.bb b/meta/recipes-support/libunistring/libunistring_1.2.bb
index 3018dbfd..d23d7b15 100644
--- a/meta/recipes-support/libunistring/libunistring_1.2.bb
+++ b/meta/recipes-support/libunistring/libunistring_1.2.bb
@@ -24,4 +24,7 @@  SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz"
 SRC_URI[sha256sum] = "fd6d5662fa706487c48349a758b57bc149ce94ec6c30624ec9fdc473ceabbc8e"
 
 inherit autotools texinfo
+
+inherit python3native
+
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/mpfr/mpfr_4.2.1.bb b/meta/recipes-support/mpfr/mpfr_4.2.1.bb
index a2067e10..8d21db7f 100644
--- a/meta/recipes-support/mpfr/mpfr_4.2.1.bb
+++ b/meta/recipes-support/mpfr/mpfr_4.2.1.bb
@@ -11,6 +11,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 \
                     "
 DEPENDS = "gmp autoconf-archive-native"
 
+inherit python3native
+
 SRC_URI = "https://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.xz"
 SRC_URI[sha256sum] = "277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2"
 
diff --git a/meta/recipes-support/nettle/nettle_3.9.1.bb b/meta/recipes-support/nettle/nettle_3.9.1.bb
index 396708cf..99766dbf 100644
--- a/meta/recipes-support/nettle/nettle_3.9.1.bb
+++ b/meta/recipes-support/nettle/nettle_3.9.1.bb
@@ -14,6 +14,8 @@  LIC_FILES_CHKSUM = "file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6
 
 DEPENDS += "gmp"
 
+inherit python3native
+
 SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
            file://Add-target-to-only-build-tests-not-run-them.patch \
            file://run-ptest \