Don't you have meta-tensorflow included in your build and set it to
use python-3.13 instead of 3.14 as in:
https://git.yoctoproject.org/meta-tensorflow/commit/?id=f1b44771445970cb389a50b5885356c987b8931a

3.13 is not compatible with new setuptools, I have seen the same
errors then removed meta-tensorflow and it built fine again.

Hopefully https://lists.yoctoproject.org/g/yocto-patches/message/3323
will be resolved soon.

Regards,


On Fri, Mar 13, 2026 at 10:25 AM Marcel Ziswiler via
lists.openembedded.org <[email protected]>
wrote:
>
> Hi Hongxu Jia
>
> On Wed, 2026-03-04 at 12:54 +0800, Hongxu Jia wrote:
> > Remove python3-pkg-resources
> >
> > History v82.0.0 [1]:
> >
> > Deprecations and Removals
> > - pkg_resources has been removed from Setuptools. Most common uses of 
> > pkg_resources have
> >   been superseded by the importlib.resources and importlib.metadata 
> > projects. Projects
> >   and environments relying on pkg_resources for namespace packages or other 
> > behavior
> >   should depend on older versions of setuptools. (#3085)
> >
> > [1] https://setuptools.pypa.io/en/stable/history.html#v82-0-0
> >
> > Signed-off-by: Hongxu Jia <[email protected]>
>
> [snip]
>
> Unfortunately, this seems to break all my meta-riscv machine builds:
>
> ...
> | gcc -shared 
> -L/var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-cython-
> native/3.2.4/recipe-sysroot-native/usr/lib 
> -L/var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-
> linux/python3-cython-native/3.2.4/recipe-sysroot-native/lib 
> -Wl,--enable-new-dtags -Wl,-rpath-
> link,/var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-cython-native/3.2.4/recipe-sysroot-
> native/usr/lib 
> -Wl,-rpath-link,/var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-cython-
> native/3.2.4/recipe-sysroot-native/lib 
> -Wl,-rpath,/var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-
> linux/python3-cython-native/3.2.4/recipe-sysroot-native/usr/lib 
> -Wl,-rpath,/var/home/sumo/Sources/riscv-
> yocto/build/tmp/work/x86_64-linux/python3-cython-native/3.2.4/recipe-sysroot-native/lib
>  -Wl,-O1 -Wl,--allow-
> shlib-undefined 
> -Wl,--dynamic-linker=/var/home/sumo/Sources/riscv-yocto/build/tmp/sysroots-uninative/x86_64-
> linux/lib/ld-linux-x86-64.so.2 -pthread 
> -isystem/var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-
> linux/python3-cython-native/3.2.4/recipe-sysroot-native/usr/include -O2 -pipe 
> -
> isystem/var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-cython-native/3.2.4/recipe-
> sysroot-native/usr/include 
> build/temp.linux-x86_64-cpython-314/var/home/sumo/Sources/riscv-
> yocto/build/tmp/work/x86_64-linux/python3-cython-native/3.2.4/sources/cython-3.2.4/Cython/Compiler/Code.o
>  -
> L/var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-cython-native/3.2.4/recipe-sysroot-
> native/usr/lib -o 
> build/lib.linux-x86_64-cpython-314/Cython/Compiler/Code.cpython-314-x86_64-linux-gnu.so
> | running bdist_wheel
> | error: invalid command 'egg_info'
> | WARNING: 
> /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-cython-
> native/3.2.4/temp/run.do_compile.2101018:159 exit 1 from 'nativepython3 
> setup.py --verbose build -j 48
> bdist_wheel --dist-dir 
> /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-cython-
> native/3.2.4/dist'
> | WARNING: Backtrace (BB generated script):
> |       #1: setuptools3_do_compile, 
> /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-
> cython-native/3.2.4/temp/run.do_compile.2101018, line 159
> |       #2: do_compile, 
> /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-cython-
> native/3.2.4/temp/run.do_compile.2101018, line 149
> |       #3: main, 
> /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-cython-
> native/3.2.4/temp/run.do_compile.2101018, line 166
> ERROR: Task 
> (virtual:native:/var/home/sumo/Sources/riscv-yocto/layers/openembedded-core/meta/recipes-
> devtools/python/python3-cython_3.2.4.bb:do_compile) failed with exit code '1'
> ...
> Summary: 7 tasks failed:
>   
> virtual:native:/var/home/sumo/Sources/riscv-yocto/layers/openembedded-core/meta/recipes-
> devtools/python/python3-pyelftools_0.32.bb:do_compile
>     log: 
> /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-pyelftools-
> native/0.32/temp/log.do_compile.2101167
>   
> virtual:native:/var/home/sumo/Sources/riscv-yocto/layers/openembedded-core/meta/recipes-
> devtools/python/python3-markupsafe_3.0.3.bb:do_compile
>     log: 
> /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-markupsafe-
> native/3.0.3/temp/log.do_compile.2100841
>   
> virtual:native:/var/home/sumo/Sources/riscv-yocto/layers/openembedded-core/meta/recipes-
> devtools/python/python3-calver_2025.10.20.bb:do_compile
>     log: 
> /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-calver-
> native/2025.10.20/temp/log.do_compile.2101147
>   
> virtual:native:/var/home/sumo/Sources/riscv-yocto/layers/openembedded-core/meta/recipes-
> devtools/meson/meson_1.10.1.bb:do_compile
>     log: /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/meson-
> native/1.10.1/temp/log.do_compile.2100900
>   
> virtual:native:/var/home/sumo/Sources/riscv-yocto/layers/openembedded-core/meta/recipes-
> devtools/python/python3-setuptools-scm_9.2.2.bb:do_compile
>     log: 
> /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-setuptools-scm-
> native/9.2.2/temp/log.do_compile.2100993
>   
> virtual:native:/var/home/sumo/Sources/riscv-yocto/layers/openembedded-core/meta/recipes-
> devtools/python/python3-mako_1.3.10.bb:do_compile
>     log: 
> /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-mako-
> native/1.3.10/temp/log.do_compile.2101162
>   
> virtual:native:/var/home/sumo/Sources/riscv-yocto/layers/openembedded-core/meta/recipes-
> devtools/python/python3-cython_3.2.4.bb:do_compile
>     log: 
> /var/home/sumo/Sources/riscv-yocto/build/tmp/work/x86_64-linux/python3-cython-
> native/3.2.4/temp/log.do_compile.2101018
> Summary: There were 16 WARNING messages.
> Summary: There were 7 ERROR messages, returning a non-zero exit code.
>
> If I revert commit ab6b2bf7b555d3516abea6255b800fe6f9673a69 all builds fine 
> again.
>
> Any ideas?
>
> Thanks!
>
> Cheers
>
> Marcel
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233032): 
https://lists.openembedded.org/g/openembedded-core/message/233032
Mute This Topic: https://lists.openembedded.org/mt/118127779/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to