mirror of
https://git.yoctoproject.org/poky
synced 2026-02-02 23:08:43 +01:00
Release notes: https://docs.python.org/release/3.12.9/whatsnew/changelog.html#python-3-12-9 Solves CVE-2025-0938, CVE-2024-12254 and 3 other vulnerabilities without CVE number assigment. Add a patch to fix failure of a new test. (From OE-Core rev: cb0187ed2962e4c140c4f59ce08f94b18b05004c) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From be22dd9b091af8f971f924fdbce5b439d9b2e850 Mon Sep 17 00:00:00 2001
|
|
From: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Date: Tue, 13 Jul 2021 23:19:29 +0100
|
|
Subject: [PATCH] python3: Fix make race
|
|
|
|
libainstall installs python-config.py but the .pyc cache files are generated
|
|
by the libinstall target. This means some builds may not generate the pyc files
|
|
for python-config.py depending on the order things happen in. This means builds
|
|
are not always reproducible.
|
|
|
|
Add a dependency to avoid the race.
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
---
|
|
Makefile.pre.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
|
index dce36a5..2d235d2 100644
|
|
--- a/Makefile.pre.in
|
|
+++ b/Makefile.pre.in
|
|
@@ -2266,7 +2266,7 @@ COMPILEALL_OPTS=-j0
|
|
TEST_MODULES=@TEST_MODULES@
|
|
|
|
.PHONY: libinstall
|
|
-libinstall: all $(srcdir)/Modules/xxmodule.c
|
|
+libinstall: all $(srcdir)/Modules/xxmodule.c libainstall
|
|
@for i in $(SCRIPTDIR) $(LIBDEST); \
|
|
do \
|
|
if test ! -d $(DESTDIR)$$i; then \
|