mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

The semaphore fix has landed and is available from 3.11 onwards:
1ee0f94d16
Drop 0001-Mitigate-the-race-condition-in-testSockName.patch
as it is merged upstream.
(From OE-Core rev: f10cdc155e47af5627ee999c57e1d083f9382a91)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 4f52aaf2a548b3356c6f1369c62b11335dc27464 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 7558f0c..8cec819 100644
|
|
--- a/Makefile.pre.in
|
|
+++ b/Makefile.pre.in
|
|
@@ -2005,7 +2005,7 @@ TESTSUBDIRS= ctypes/test \
|
|
unittest/test unittest/test/testmock
|
|
|
|
TEST_MODULES=@TEST_MODULES@
|
|
-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 \
|