On Tue Aug 11, 2026 at 3:52 PM CEST, Jaipaul Cheernam wrote:
> SWIG 4.5.0 removed Python 2 compatibility macros (PyInt_*, PyString_*)
> from its runtime. Backport the upstream fix to replace them with
> Python 3 equivalents.
>
> Signed-off-by: Jaipaul Cheernam <[email protected]>
> ---

Hi Jaipaul,

Thanks for the new version.

I suspect this is the source of some selftest fails:

2026-08-12 06:27:00,896 - oe-selftest - INFO - 
fitimage.UBootFitImageTests.test_sign_uboot_kernel_individual 
(subunit.RemotedTestCase)
2026-08-12 06:27:00,896 - oe-selftest - INFO -  ... FAIL
...
ERROR: u-boot-1_2026.07-r0 do_compile: oe_runmake failed
ERROR: u-boot-1_2026.07-r0 do_compile: Execution of 
'/srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-3408129/tmp/work/qemux86_64-poky-linux/u-boot/2026.07/temp/run.do_compile.180130'
 failed with exit code 1
...
| ImportError: 
/srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-3408129/tmp/work/qemux86_64-poky-linux/u-boot/2026.07/build/scripts/dtc/pylibfdt/_libfdt.so:
 undefined symbol: PyInt_AsLong
| make[1]: *** 
[/srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-3408129/tmp/work/qemux86_64-poky-linux/u-boot/2026.07/sources/u-boot-2026.07/Makefile:1395:
 .binman_stamp] Error 1
| make: Leaving directory 
'/srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-3408129/tmp/work/qemux86_64-poky-linux/u-boot/2026.07/sources/u-boot-2026.07'
| make: *** [Makefile:189: __sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
NOTE: recipe u-boot-1_2026.07-r0: task do_compile: Failed
ERROR: Task 
(/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot_2026.07.bb:do_compile)
 failed with exit code '1'

And other fails:

2026-08-12 06:25:29,098 - oe-selftest - INFO - 
fitimage.UBootFitImageTests.test_sign_uboot_fit_image_without_spl 
(subunit.RemotedTestCase)
2026-08-12 06:25:29,124 - oe-selftest - INFO -  ... FAIL
...
2026-08-12 06:28:15,880 - oe-selftest - INFO - 
fitimage.UBootFitImageTests.test_uboot_fit_image (subunit.RemotedTestCase)
2026-08-12 06:28:15,881 - oe-selftest - INFO -  ... FAIL
...
2026-08-12 08:27:05,250 - oe-selftest - INFO - 
uboot.UBootTest.test_uboot_config_initial_env_binary (subunit.RemotedTestCase)
2026-08-12 08:27:05,263 - oe-selftest - INFO -  ... FAIL
...
2026-08-12 08:28:04,129 - oe-selftest - INFO - 
uboot.UBootTest.test_uboot_initial_env_binary (subunit.RemotedTestCase)
2026-08-12 08:28:04,141 - oe-selftest - INFO -  ... FAIL


Can you have a look at the issue?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#243267): 
https://lists.openembedded.org/g/openembedded-core/message/243267
Mute This Topic: https://lists.openembedded.org/mt/120701494/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to