diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2024-12-23 11:20:52 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-03 11:05:03 +0000 |
| commit | d832ee79631ac1502b107091cdcfd8f88237d533 (patch) | |
| tree | 5dfb709b0338a7e58ba9dcdbcd7312b5bf1dc7e3 /meta/recipes-devtools/python/python3/crosspythonpath.patch | |
| parent | 418235f06803c901184d5c4a3883c0dbecee1f06 (diff) | |
| download | poky-d832ee79631ac1502b107091cdcfd8f88237d533.tar.gz | |
python3: upgrade 3.13.0 -> 3.13.1
Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-1-final
- Patch 'fix-armv5.patch' is in 3.13.1, so no longer needed:
|tgamblin@megalith ~/workspace/git/pythonsrc/cpython ((HEAD detached from v3.13.1))$ git tag --contains 18b9079ddbc149d6b99c922630c246812e4d8ae7
|v3.13.1
- While patch 'crosspythonpath.patch' is listed as 'Inappropriate
[OE-Core integration specific]' specific in the commit message, it is
now breaking the build, while removing it allows python3 to build OK.
It appears that there is a similar change in upstream 3.13.1:
https://github.com/python/cpython/commit/909d5ac2959e
- gcc-symlinks had to be added to ptest RDEPENDS so that 'gcc' could be
found on the path for the
test_ctypes.test_dlerror.TestNullDlsym.test_null_dlsym test.
- Also reformat the DEPENDS and RDEPENDS lists to be alphabetical
and one-per-line, since that's easier to read and modify.
- buildall-qemu output:
|BUILDALL-QEMU LOG FOR python3
|START TIME: 2024-12-18_20:38:01
|HOSTNAME: megalith
|HOST OS: Debian GNU/Linux 12 (bookworm)
|HOST KERNEL: 6.1.0-28-amd64
|===============
|BUILD RESULTS:
|[glibc]
|FAIL: qemuloongarch64
|PASS: qemuriscv32
|PASS: qemuarmv5
|PASS: qemuppc
|PASS: qemumips64
|PASS: qemuriscv64
|PASS: qemuarm64
|PASS: qemuarm
|PASS: qemux86-64
|PASS: qemuppc64
|PASS: qemux86
|PASS: qemumips
|[musl]
|FAIL: qemuloongarch64
|FAIL: qemuriscv32
|PASS: qemuarmv5
|PASS: qemuppc
|PASS: qemumips64
|PASS: qemuriscv64
|PASS: qemuarm64
|PASS: qemuarm
|PASS: qemux86-64
|PASS: qemuppc64
|PASS: qemux86
|PASS: qemumips
|===============
|PASSED: 21
|FAILED: 3
(From OE-Core rev: 08c44d3b140b220ead6334db26097b28612d445a)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3/crosspythonpath.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3/crosspythonpath.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-devtools/python/python3/crosspythonpath.patch b/meta/recipes-devtools/python/python3/crosspythonpath.patch deleted file mode 100644 index f18898e4c4..0000000000 --- a/meta/recipes-devtools/python/python3/crosspythonpath.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | From 8840438e73e43b99bc9c83896a5f950e4259738f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ricardo Ribalda <ricardo@ribalda.com> | ||
| 3 | Date: Tue, 18 Nov 2014 03:35:33 -0500 | ||
| 4 | Subject: [PATCH] configure.ac: add CROSSPYTHONPATH into PYTHONPATH for | ||
| 5 | PYTHON_FOR_BUILD | ||
| 6 | |||
| 7 | When building x86->x86 the system will try to execute .so and related items | ||
| 8 | from the default PYTHONPATH. This will fail if the target CPU contains | ||
| 9 | instructions that the host CPU does not have, add CROSSPYTHONPATH | ||
| 10 | into PYTHONPATH so we can prepend the list to find correct libs. | ||
| 11 | |||
| 12 | Upstream-Status: Inappropriate [OE-Core integration specific] | ||
| 13 | |||
| 14 | Credits-to: Mark Hatle <mark.hatle@windriver.com> | ||
| 15 | Credits-to: Jackie Huang <jackie.huang@windriver.com> | ||
| 16 | Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com> | ||
| 17 | --- | ||
| 18 | configure.ac | 2 +- | ||
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/configure.ac b/configure.ac | ||
| 22 | index 58f5407..5101806 100644 | ||
| 23 | --- a/configure.ac | ||
| 24 | +++ b/configure.ac | ||
| 25 | @@ -164,7 +164,7 @@ AC_ARG_WITH([build-python], | ||
| 26 | dnl Build Python interpreter is used for regeneration and freezing. | ||
| 27 | ac_cv_prog_PYTHON_FOR_REGEN=$with_build_python | ||
| 28 | PYTHON_FOR_FREEZE="$with_build_python" | ||
| 29 | - PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python | ||
| 30 | + PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(CROSSPYTHONPATH):$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python | ||
| 31 | AC_MSG_RESULT([$with_build_python]) | ||
| 32 | ], [ | ||
| 33 | AS_VAR_IF([cross_compiling], [yes], | ||
