unable to build python3 using toolchain.py for iOS

252 views
Skip to first unread message

sarthak garg

unread,
Apr 9, 2020, 2:14:27 PM4/9/20
to Kivy users support
Ran the command: python3 toolchain.py build python3 openssl kivy. Getting error. struck with the error for more than a week. pls help. XCode: Version 11.4 (11E146)
MacOS: macOS Catalina 10.15.4


kivy-ios/build/freetype/arm64/freetype-2.5.5/objs/ftbase.lo] Error 1
Traceback (most recent call last):
 
File "toolchain.py", line 1568, in <module>
   
ToolchainCL()
 
File "toolchain.py", line 1281, in __init__
    getattr
(self, args.command)()
 
File "toolchain.py", line 1322, in build
    build_recipes
(args.recipe, ctx)
 
File "toolchain.py", line 1158, in build_recipes
    recipe
.execute()
 
File "/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/toolchain.py", line 729, in execute
   
self.build_all()
 
File "/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/toolchain.py", line 84, in _cache_execution
    f
(self, *args, **kwargs)
 
File "/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/toolchain.py", line 837, in build_all
   
self.build(arch)
 
File "/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/toolchain.py", line 84, in _cache_execution
    f
(self, *args, **kwargs)
 
File "/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/toolchain.py", line 811, in build
   
self.build_arch(arch)
 
File "/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/recipes/freetype/__init__.py", line 31, in build_arch
    shprint
(sh.make, self.ctx.concurrent_make)
 
File "/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/toolchain.py", line 67, in shprint
   
for line in cmd:
 
File "tools/external/sh.py", line 565, in next
   
self.wait()
 
File "tools/external/sh.py", line 500, in wait
   
self.handle_command_exit_code(exit_code)
 
File "tools/external/sh.py", line 516, in handle_command_exit_code
   
raise exc(self.ran, self.process.stdout, self.process.stderr)
sh
.ErrorReturnCode_2:

  RAN
: '/usr/bin/make -j8'

  STDOUT
:
./builds/unix/libtool --mode=compile /tmp/tmpg1y54pcr -pedantic -ansi  -I/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/build/freetype/arm64/freetype-2.5.5/objs -I./builds/unix -I/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/build/freetype/arm64/freetype-2.5.5/include -c -Wall -O3 -miphoneos-version-min=8.0 -I/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/dist/include/arm64/freetype -I/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/dist/include/arm64/ffi -I/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/dist/include/arm64/openssl -I/Users/sarthakgarg/Desktop/Personal/PyProj/build_projects/kivy-ios/dist/include/common/sdl2 -I/Users/sarthakgarg/... (124865 more, please see e.stdout)

  STDERR
:


Dinesh mohan Rajaveeran

unread,
Apr 9, 2020, 5:59:12 PM4/9/20
to Kivy users support
I'm struck with the same error. But again, I saw posts where they were suggesting to go with Xcode 10.3. I tried that, but again I literally started iOS app development yesterday, and I couldn't tell it wont work for sure.

Dinesh mohan Rajaveeran

unread,
Apr 9, 2020, 9:05:54 PM4/9/20
to Kivy users support
Sarthak,


My conf: Python 3.7.2, OSX Mojave, Cython 0.29.10.... You can try on Catalina.
Reply all
Reply to author
Forward
0 new messages