Freescale / meta-freescale

Layer containing NXP hardware support metadata
Other
168 stars 254 forks source link

[qoriq] Error building `u-boot-qoriq` for QorIQ machines - `ModuleNotFoundError: No module named 'pkg_resources'` #1496

Closed otavio closed 7 months ago

otavio commented 1 year ago

I encountered a build failure while attempting to build the u-boot-qoriq recipe version 2021.04+fslgit-r0. This error seems to be caused by a missing module called pkg_resources. The build command involves using binman tool that calls this missing module, causing the build to fail.

The build fails on the following machines:

These machines have been broken for a long time and if no one is interested in maintaining them, it would be preferable to remove them from the repository.

Please advise on how to proceed with fixing the build for these machines or removing them from the repository.

otavio commented 1 year ago

This is still reproducible. Are anyone going to look at this or should we remove the machines?

jeffkize commented 1 year ago

I fixed it by updating the recipe (adding python3-setuptools-native): DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc bison-native bc-native swig-native python3-native python3-setuptools-native"

otavio commented 11 months ago

@jeffkize, would you be able to create a pull request that resolves this issue?

MrCry0 commented 7 months ago

@otavio does the 1741 fix this issue?

otavio commented 7 months ago

Indeed; closing.