nftables: build with native python instead of host python
RFC PATCH 1/1 nftables: build with native python instead of host python
Using old Python on the build host with SetupTools 82 results in an error message during building:
| error: invalid command 'egg_info' | | ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel | WARNING: exit code 1 from a shell command.
To avoid it, use the native Python environment built by OE.
Signed-off-by Gyorgy Sarvari <[email protected]>
--- meta-networking/recipes-filter/nftables/nftables_1.1.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-filter/nftables/nftables_1.1.6.bb +1 -1
@@ -16,7 +16,7 @@ SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.xz \ " SRC_URI[sha256sum] = "372931bda8556b310636a2f9020adc710f9bab66f47efe0ce90bff800ac2530c" -inherit autotools manpages pkgconfig ptest +inherit autotools manpages pkgconfig ptest python3native PACKAGECONFIG ?= "python readline json" PACKAGECONFIG[editline] = "--with-cli=editline, , libedit, , , linenoise readline"