1 |
commit: b5620add43da082a09cb344cbe2e9b38ab1f5670 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 18 16:59:11 2021 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 18 16:59:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=b5620add |
7 |
|
8 |
qemu config: also python-3.10 compileall is broken |
9 |
|
10 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
11 |
|
12 |
.../python:3.10/compileall-singlethreaded.patch | 41 ++++++++++++++++++++++ |
13 |
1 file changed, 41 insertions(+) |
14 |
|
15 |
diff --git a/releases/portage/stages-qemu/patches/dev-lang/python:3.10/compileall-singlethreaded.patch b/releases/portage/stages-qemu/patches/dev-lang/python:3.10/compileall-singlethreaded.patch |
16 |
new file mode 100644 |
17 |
index 00000000..27ab38ba |
18 |
--- /dev/null |
19 |
+++ b/releases/portage/stages-qemu/patches/dev-lang/python:3.10/compileall-singlethreaded.patch |
20 |
@@ -0,0 +1,41 @@ |
21 |
+diff --git a/Makefile.pre.in b/Makefile.pre.in |
22 |
+index 4924dedc35..75eb66be3c 100644 |
23 |
+--- a/Makefile.pre.in |
24 |
++++ b/Makefile.pre.in |
25 |
+@@ -1432,30 +1432,30 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c |
26 |
+ fi |
27 |
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
28 |
+ $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ |
29 |
+- -j0 -d $(LIBDEST) -f \ |
30 |
++ -d $(LIBDEST) -f \ |
31 |
+ -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ |
32 |
+ $(DESTDIR)$(LIBDEST) |
33 |
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
34 |
+ $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \ |
35 |
+- -j0 -d $(LIBDEST) -f \ |
36 |
++ -d $(LIBDEST) -f \ |
37 |
+ -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ |
38 |
+ $(DESTDIR)$(LIBDEST) |
39 |
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
40 |
+ $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \ |
41 |
+- -j0 -d $(LIBDEST) -f \ |
42 |
++ -d $(LIBDEST) -f \ |
43 |
+ -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ |
44 |
+ $(DESTDIR)$(LIBDEST) |
45 |
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
46 |
+ $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ |
47 |
+- -j0 -d $(LIBDEST)/site-packages -f \ |
48 |
++ -d $(LIBDEST)/site-packages -f \ |
49 |
+ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages |
50 |
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
51 |
+ $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \ |
52 |
+- -j0 -d $(LIBDEST)/site-packages -f \ |
53 |
++ -d $(LIBDEST)/site-packages -f \ |
54 |
+ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages |
55 |
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
56 |
+ $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \ |
57 |
+- -j0 -d $(LIBDEST)/site-packages -f \ |
58 |
++ -d $(LIBDEST)/site-packages -f \ |
59 |
+ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages |
60 |
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
61 |
+ $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt |