Upgrade swig to 4.5.0 and fix build breakage in recipes that used Python 2 C API macros removed in swig 4.5.0.
Note: The following recipes in meta-openembedded may also be affected if python/swig bindings are enabled: - gensio (meta-oe): fix available upstream [1] - unbound (meta-networking): fix available upstream [2] - ldns (meta-oe): fix pending upstream [3] [1] https://github.com/cminyard/gensio/commit/e024df7fc3d21896bd9d2e26964a0b59b7c2a91b [2] https://github.com/NLnetLabs/unbound/commit/93a56205cfa6b9a6d34db7245aa71e5ca67d1fd7 [3] https://github.com/NLnetLabs/ldns/issues/314 Changes in v3: - Added u-boot-tools and python3-dtc patches to fix pylibfdt build Changes in v2: - Added babeltrace2 patch to fix SWIG 4.5.0 compatibility Jaipaul Cheernam (4): swig: upgrade 4.4.1 -> 4.5.0 babeltrace2: fix build with swig 4.5.0 u-boot-tools: fix pylibfdt build with swig 4.5.0 python3-dtc: fix build with swig 4.5.0 ...-removed-SWIG-Python-2-compatibility.patch | 57 +++++++++++++++ .../u-boot/u-boot-tools_2026.07.bb | 4 +- ...-removed-SWIG-Python-2-compatibility.patch | 57 +++++++++++++++ .../python/python3-dtc_1.8.1.bb | 1 + .../swig/swig/determinism.patch | 20 +++--- .../swig/{swig_4.4.1.bb => swig_4.5.0.bb} | 4 +- ...Python-2-C-API-macros-for-SWIG-4.5.0.patch | 70 +++++++++++++++++++ .../recipes-kernel/lttng/babeltrace2_2.1.2.bb | 1 + 8 files changed, 201 insertions(+), 13 deletions(-) create mode 100644 meta/recipes-bsp/u-boot/files/0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch create mode 100644 meta/recipes-devtools/python/python3-dtc/0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibility.patch rename meta/recipes-devtools/swig/{swig_4.4.1.bb => swig_4.5.0.bb} (92%) create mode 100644 meta/recipes-kernel/lttng/babeltrace2/0001-bt2-replace-removed-Python-2-C-API-macros-for-SWIG-4.5.0.patch
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#243187): https://lists.openembedded.org/g/openembedded-core/message/243187 Mute This Topic: https://lists.openembedded.org/mt/120699706/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
