On Mon, May 05, 2025 at 02:50:51PM -0600, Javier Tia wrote: > It solves the following error: > > ❯ ./test/py/test.py --bd sandbox --build > +make O=/u-boot/build-sandbox -s sandbox_defconfig > +make O=/u-boot/build-sandbox -s -j32 > Traceback (most recent call last): > File "/u-boot/build-sandbox/../scripts/dtc/pylibfdt/setup.py", line 23, in > <module> > from setuptools import setup, Extension > ModuleNotFoundError: No module named 'setuptools > > Signed-off-by: Javier Tia <javier....@linaro.org> > --- > test/py/requirements.txt | 1 + > 1 file changed, 1 insertion(+)
This is the wrong place. You can't build U-Boot without python3-setuptools being available, so it's part of the implicit or explicit dependencies in doc/build/gcc.rst. I believe for Ubuntu/etc it's implicit but should likely be explicit. -- Tom
signature.asc
Description: PGP signature