mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-22 18:27:13 +00:00
7488d36e5d
do_compile failed with: AttributeError: 'NoneType' object has no attribute 'lower' A non-empty setup_requires makes setuptools run fetch_build_eggs(), which enumerates every distribution in the native sysroot and calls packaging.utils.canonicalize_name(dist.name). Under the setuptools/ Python 3.14 in the sysroot one distribution exposes a None name, so canonicalize_name() crashes on None.lower() and aborts the build. Extend the existing patch to drop the whole setup_requires block instead of only setuptools_git. sphinx is only used by the build_sphinx command (not run during do_compile) and is already provided via DEPENDS, so removing it is safe and keeps setuptools out of the fetch_build_eggs() path. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>