summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch')
-rw-r--r--meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch b/meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch
deleted file mode 100644
index 2f037ecb09..0000000000
--- a/meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch
+++ /dev/null
@@ -1,65 +0,0 @@
1From c960837b8fd83074bab5148236f3d0595468cea4 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 16 Jan 2020 12:34:20 +0100
4Subject: [PATCH] Makefile: do not compile .pyc in parallel
5
6This was found to lock up builds, break reproducibility, and produce strange file ownership
7races.
8
9The upstream commit introducing the change was:
10https://github.com/python/cpython/commit/1a2dd82f56bd813aacc570e172cefe55a8a41504
11
12The build lock up issue is reported here:
13https://bugs.python.org/issue45945
14
15The repro failures are documented here:
16https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20211130-yr_o1a8d/packages/diff-html/
17
18Upstream-Status: Inappropriate [see issues above]
19Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
20
21---
22 Makefile.pre.in | 12 ++++++------
23 1 file changed, 6 insertions(+), 6 deletions(-)
24
25diff --git a/Makefile.pre.in b/Makefile.pre.in
26index edd70d4..5e13ba2 100644
27--- a/Makefile.pre.in
28+++ b/Makefile.pre.in
29@@ -1601,30 +1601,30 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c
30 fi
31 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
32 $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
33- -j0 -d $(LIBDEST) -f \
34+ -d $(LIBDEST) -f \
35 -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
36 $(DESTDIR)$(LIBDEST)
37 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
38 $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
39- -j0 -d $(LIBDEST) -f \
40+ -d $(LIBDEST) -f \
41 -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
42 $(DESTDIR)$(LIBDEST)
43 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
44 $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
45- -j0 -d $(LIBDEST) -f \
46+ -d $(LIBDEST) -f \
47 -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
48 $(DESTDIR)$(LIBDEST)
49 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
50 $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
51- -j0 -d $(LIBDEST)/site-packages -f \
52+ -d $(LIBDEST)/site-packages -f \
53 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
54 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
55 $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
56- -j0 -d $(LIBDEST)/site-packages -f \
57+ -d $(LIBDEST)/site-packages -f \
58 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
59 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
60 $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
61- -j0 -d $(LIBDEST)/site-packages -f \
62+ -d $(LIBDEST)/site-packages -f \
63 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
64 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
65 $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt