The Command which I ran:
JavaScript
x
2
1
toolchain build python3 kivy
2
And the error is(output) :
JavaScript
1
96
96
1
Exception in thread background thread for pid 30326:
2
Traceback (most recent call last):
3
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 926, in _bootstrap_inner
4
self.run()
5
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 870, in run
6
self._target(*self._args, **self._kwargs)
7
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 1633, in wrap
8
fn(*rgs, **kwargs)
9
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 2557, in background_thread
10
handle_exit_code(exit_code)
11
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 2261, in fn
12
return self.command.handle_command_exit_code(exit_code)
13
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 861, in handle_command_exit_code
14
raise exc
15
sh.ErrorReturnCode_77:
16
17
RAN: /Users/macbook/Desktop/Button/build/hostpython3/x86_64/Python-3.8.2/configure --prefix=/Users/macbook/Desktop/Button/dist/hostpython3 --with-openssl=/Users/macbook/Desktop/Button/dist/hostopenssl
18
19
STDOUT:
20
checking build system type x86_64-apple-darwin20.1.0
21
checking host system type x86_64-apple-darwin20.1.0
22
checking for python3.8 python3.8
23
checking for --enable-universalsdk no
24
checking for --with-universal-archs no
25
checking MACHDEP "darwin"
26
checking for gcc clang -Qunused-arguments -fcolor-diagnostics
27
checking whether the C compiler works yes
28
checking for C compiler default output file name a.out
29
checking for suffix of executables
30
checking whether we are cross compiling no
31
checking for suffix of object files o
32
checking whether we are using the GNU C compiler yes
33
checking whether clang -Qunused-arguments -fcolor-diagnostics accepts -g yes
34
checking for clang -Qunused-arguments -fcolor-diagnostics opt (17382 more, please see e.stdout)
35
36
STDERR:
37
38
39
[INFO ] cd /Users/macbook/Desktop/Button/build/hostpython3/x86_64/Python-3.8.2
40
Traceback (most recent call last):
41
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/toolchain", line 10, in <module>
42
sys.exit(main())
43
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 1497, in main
44
ToolchainCL()
45
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 1270, in __init__
46
getattr(self, args.command)()
47
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 1323, in build
48
build_recipes(args.recipe, ctx)
49
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 1121, in build_recipes
50
recipe.execute()
51
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 700, in execute
52
self.build_all()
53
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 85, in _cache_execution
54
f(self, *args, **kwargs)
55
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 794, in build_all
56
self.build(arch)
57
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 85, in _cache_execution
58
f(self, *args, **kwargs)
59
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 781, in build
60
self.build_arch(arch)
61
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 833, in build_arch
62
getattr(self, build)()
63
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/recipes/hostpython3/__init__.py", line 70, in build_x86_64
64
_env=build_env)
65
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 67, in shprint
66
for line in cmd:
67
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 907, in next
68
self.wait()
69
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 837, in wait
70
self.handle_command_exit_code(exit_code)
71
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 861, in handle_command_exit_code
72
raise exc
73
sh.ErrorReturnCode_77:
74
75
RAN: /Users/macbook/Desktop/Button/build/hostpython3/x86_64/Python-3.8.2/configure --prefix=/Users/macbook/Desktop/Button/dist/hostpython3 --with-openssl=/Users/macbook/Desktop/Button/dist/hostopenssl
76
77
STDOUT:
78
checking build system type x86_64-apple-darwin20.1.0
79
checking host system type x86_64-apple-darwin20.1.0
80
checking for python3.8 python3.8
81
checking for --enable-universalsdk no
82
checking for --with-universal-archs no
83
checking MACHDEP "darwin"
84
checking for gcc clang -Qunused-arguments -fcolor-diagnostics
85
checking whether the C compiler works yes
86
checking for C compiler default output file name a.out
87
checking for suffix of executables
88
checking whether we are cross compiling no
89
checking for suffix of object files o
90
checking whether we are using the GNU C compiler yes
91
checking whether clang -Qunused-arguments -fcolor-diagnostics accepts -g yes
92
checking for clang -Qunused-arguments -fcolor-diagnostics opt (17382 more, please see e.stdout)
93
94
STDERR:
95
96
I also tried also git clone kivy-ios but it gave same error.
If you will say build python2 ,it’s not working.
I’m waiting for answers.
For Stack overflow controls i will copy-paste
I also tried also git clone kivy-ios but it gave same error.
If you will say build python2 ,it’s not working.
Advertisement
Answer
Solution : update Xcode
and update Mac os
.