This is an RFC, because I'm not really sure if this is how it should be solved. I'm not even that sure about the root cause of the problem TBH... I got this error in my Docker image, based on Debian 12, running Python 3.11. Without taking a deep dive, all I could find on the internet was "update distutils or update python" - I guess this patch is the latter.
If you have a better idea, know the reason for this or you just think that this is just wrong, feel free to comment. On 3/14/26 19:26, Gyorgy Sarvari via lists.openembedded.org wrote: > 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(-) > > diff --git a/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb > b/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb > index 505dfc12d0..d27e60a18d 100644 > --- a/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb > +++ b/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb > @@ -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" > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#125212): https://lists.openembedded.org/g/openembedded-devel/message/125212 Mute This Topic: https://lists.openembedded.org/mt/118317775/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
