From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Jaipaul Cheernam" <jaipaul.cheernam@est.tech>,
<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v4 4/4] python3-dtc: fix build with swig 4.5.0
Date: Wed, 12 Aug 2026 11:11:16 +0200 [thread overview]
Message-ID: <DKMUKHF4QT1Y.1GT8GMSZB2SWY@bootlin.com> (raw)
In-Reply-To: <20260811135200.18942-5-jaipaul.cheernam@est.tech>
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 <jaipaul.cheernam@est.tech>
> ---
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
next prev parent reply other threads:[~2026-08-12 9:11 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-10 15:45 [PATCH] swig: upgrade 4.4.1 -> 4.5.0 Jaipaul Cheernam
2026-08-10 21:02 ` [OE-core] " Richard Purdie
2026-08-11 6:12 ` [PATCH v2 0/2] " Jaipaul Cheernam
2026-08-11 6:12 ` [PATCH v2 1/2] " Jaipaul Cheernam
2026-08-11 10:25 ` [OE-core] " Richard Purdie
2026-08-11 11:15 ` Jaipaul Cheernam
2026-08-11 6:12 ` [PATCH v2 2/2] babeltrace2: fix build with swig 4.5.0 Jaipaul Cheernam
2026-08-11 11:11 ` [PATCH v3 0/4] swig: upgrade 4.4.1 -> 4.5.0 Jaipaul Cheernam
2026-08-11 11:11 ` [PATCH v3 1/4] " Jaipaul Cheernam
2026-08-11 11:11 ` [PATCH v3 2/4] babeltrace2: fix build with swig 4.5.0 Jaipaul Cheernam
2026-08-11 11:11 ` [PATCH v3 3/4] u-boot-tools: fix pylibfdt " Jaipaul Cheernam
2026-08-11 12:58 ` [OE-core] " Mathieu Dubois-Briand
2026-08-11 13:38 ` Quentin Schulz
2026-08-11 11:11 ` [PATCH v3 4/4] python3-dtc: fix " Jaipaul Cheernam
2026-08-11 13:51 ` [PATCH v4 0/4] swig: upgrade 4.4.1 -> 4.5.0 Jaipaul Cheernam
2026-08-11 13:51 ` [PATCH v4 1/4] " Jaipaul Cheernam
2026-08-11 13:51 ` [PATCH v4 2/4] babeltrace2: fix build with swig 4.5.0 Jaipaul Cheernam
2026-08-11 13:51 ` [PATCH v4 3/4] u-boot-tools: fix pylibfdt " Jaipaul Cheernam
2026-08-11 13:52 ` [PATCH v4 4/4] python3-dtc: fix " Jaipaul Cheernam
2026-08-12 9:11 ` Mathieu Dubois-Briand [this message]
2026-08-12 12:05 ` [PATCH v5 0/4] swig: upgrade 4.4.1 -> 4.5.0 Jaipaul Cheernam
2026-08-12 12:05 ` [PATCH v5 1/4] " Jaipaul Cheernam
2026-08-12 12:05 ` [PATCH v5 2/4] babeltrace2: fix build with swig 4.5.0 Jaipaul Cheernam
2026-08-12 12:05 ` [PATCH v5 3/4] u-boot: fix pylibfdt " Jaipaul Cheernam
2026-08-12 12:05 ` [PATCH v5 4/4] python3-dtc: fix " Jaipaul Cheernam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DKMUKHF4QT1Y.1GT8GMSZB2SWY@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=jaipaul.cheernam@est.tech \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.