All of lore.kernel.org
 help / color / mirror / Atom feed
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 v2 2/2] python3: upgrade 3.14.7 -> 3.15.0
Date: Tue, 13 Oct 2026 10:00:57 +0200	[thread overview]
Message-ID: <DM3JWFC4RAAB.872FGKDCKDY3@bootlin.com> (raw)
In-Reply-To: <20261012103426.3090-2-jaipaul.cheernam@est.tech>

On Mon Oct 12, 2026 at 12:34 PM CEST, Jaipaul Cheernam wrote:
> ReleaseNotes: https://docs.python.org/3/whatsnew/changelog.html#python-3-15-0-final
>
> - Drop patches which are part of upstream release
>   - 0001-gh-146207-Add-support-for-OpenSSL-4.0.0.patch
>   - 0002-gh-148292-Update-_ssl._SSLSocket-for-OpenSSL-4.patch
>   - 0003-gh-148292-Remove-shutdown-test-in-test_ssl.test_got_eof.patch
>   - valid-dists.patch
> - Add mpdecimal dependency and --with-system-libmpdec configure option
> - Bump PYTHON_BASEVERSION to 3.15 in python3-dir.bbclass
> - Update python3-manifest
> - Refresh existing patches
>
> Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
> ---

Hi Jaipaul,

Thanks for the upgrade, but this is failing in various ways.

First, some builds are failing, probably musl related:

ERROR: python3-3.15.0-r0 do_compile: oe_runmake failed
...
| aarch64-poky-linux-musl-gcc  -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/srv/pokybuild/yocto-worker/qemuarm64-musl-ptest/build/build/tmp/work/cortexa57-poky-linux-musl/python3/3.15.0/recipe-sysroot -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now    Modules/_ctypes/_ctypes_test.o -lm  -o Modules/_ctypes_test.cpython-315-aarch64-linux-musl.so
| aarch64-poky-linux-musl-gcc  -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/srv/pokybuild/yocto-worker/qemuarm64-musl-ptest/build/build/tmp/work/cortexa57-poky-linux-musl/python3/3.15.0/recipe-sysroot -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now    Modules/_testinternalcapi.o Modules/_testinternalcapi/test_lock.o Modules/_testinternalcapi/pytime.o Modules/_testinternalcapi/set.o Modules/_testinternalcapi/test_critical_sections.o Modules/_testinternalcapi/complex.o Modules/_testinternalcapi/interpreter.o Modules/_testinternalcapi/tuple.o   -o Modules/_testinternalcapi.cpython-315-aarch64-linux-musl.so
| nativepython3: error while loading shared libraries: libc.so: cannot open shared object file: No such file or directory
| make: *** [Makefile:1796: checksharedmods] Error 127

https://autobuilder.yoctoproject.org/valkyrie/#/builders/109/builds/1368
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/1355


Then, when build succeeds, some test is failing:

RESULTS - maturin.MaturinTest.test_maturin_list_python: FAILED (3.41s)
...
Testing 'maturin develop' requires Rust cross-canadian in the SDK
Testing 'maturin develop' requires Rust cross-canadian in the SDK
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/qemuarmv5/build/layers/openembedded-core/meta/lib/oeqa/sdk/cases/maturin.py", line 30, in test_maturin_list_python
    self.assertIn(expected, output)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: '3.15 at /srv/pokybuild/yocto-worker/qemuarmv5/build/build/tmp/work/qemuarmv5-poky-linux-gnueabi/core-image-minimal/1.0/testsdkext/buildtools/sysroots/x86_64-pokysdk-linux/usr/bin/python3' not found in '🐍 2 python interpreter found:\n - CPython 3.11 at /srv/pokybuild/buildbot-venv/bin/python3.11\n - CPython 3.13 at /srv/pokybuild/yocto-worker/qemuarmv5/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/bin/python3.13\n'

https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/4646
https://autobuilder.yoctoproject.org/valkyrie/#/builders/36/builds/4817
https://autobuilder.yoctoproject.org/valkyrie/#/builders/30/builds/4825


Also, I'm adding back a link to the issues we had with 3.14.8 upgrade.
Some ptests were failing while building with musl. This might be fixed
by upstream, but it might be worth checking:
https://lore.kernel.org/openembedded-core/DLUD1OK99YO3.1QPQV67EMZI06@bootlin.com/

Thanks,
Mathieu

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



      reply	other threads:[~2026-10-13 17:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-12 10:34 [PATCH v2 1/2] mpdecimal: Add mpdecimal 4.0.1 as a new recipe in oe-core Jaipaul Cheernam
2026-10-12 10:34 ` [PATCH v2 2/2] python3: upgrade 3.14.7 -> 3.15.0 Jaipaul Cheernam
2026-10-13  8:00   ` Mathieu Dubois-Briand [this message]

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=DM3JWFC4RAAB.872FGKDCKDY3@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.