Hi Alexandre and Sakib,

On Wed, Jul 13, 2022 at 4:29 AM Alexandre Belloni via
lists.openembedded.org
<[email protected]> wrote:

> | 
> /home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/core2-64-poky-linux/u-boot-tools/1_2022.07-r0/git/scripts/dtc/pylibfdt/setup.py:21:
>  DeprecationWarning: The distutils package is deprecated and slated for 
> removal in Python 3.12. Use setuptools or check PEP 632 for potential 
> alternatives
> |   from distutils.core import setup, Extension
> | error: command 'swig' failed: No such file or directory

Does the change below fix the build problem?

--- a/meta/recipes-bsp/u-boot/u-boot-tools.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-tools.inc
@@ -1,5 +1,5 @@
 SUMMARY = "U-Boot bootloader tools"
-DEPENDS += "gnutls openssl util-linux"
+DEPENDS += "gnutls openssl util-linux swig-native"

 PROVIDES = "${MLPREFIX}u-boot-mkimage ${MLPREFIX}u-boot-mkenvimage"
 PROVIDES:class-native = "u-boot-mkimage-native u-boot-mkenvimage-native"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#167958): 
https://lists.openembedded.org/g/openembedded-core/message/167958
Mute This Topic: https://lists.openembedded.org/mt/92335149/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to