/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython2.7.a(pymath.o) has no symbols
ranlib libpython2.7.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython2.7.a(pymath.o) has no symbols
clang -Qunused-arguments -fcolor-diagnostics -lsqlite3 -lffi -L/Users/bearnun/Code/kivy-ios/dist/hostlibffi/usr/local/lib -o python.exe \
Modules/python.o \
libpython2.7.a -ldl -framework CoreFoundation -L/Users/bearnun/Code/kivy-ios/dist/hostpython/lib -lz
ld: warning: directory not found for option '-L/Users/bearnun/Code/kivy-ios/dist/hostpython/lib'
Undefined symbols for architecture x86_64:
"_mkostemp", referenced from:
_open_temp_exec_file_dir in libffi.a(closures.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [python.exe] Error 1
Traceback (most recent call last):
File "./toolchain.py", line 1311, in <module>
ToolchainCL()
File "./toolchain.py", line 1082, in __init__
getattr(self, args.command)()
File "./toolchain.py", line 1106, in build
build_recipes(args.recipe, ctx)
File "./toolchain.py", line 974, in build_recipes
recipe.execute()
File "/Users/bearnun/Code/kivy-ios/toolchain.py", line 586, in execute
self.build_all()
File "/Users/bearnun/Code/kivy-ios/toolchain.py", line 56, in _cache_execution
f(self, *args, **kwargs)
File "/Users/bearnun/Code/kivy-ios/toolchain.py", line 698, in build_all
self.install()
File "/Users/bearnun/Code/kivy-ios/recipes/hostpython/__init__.py", line 86, in install
_env=build_env)
File "/Users/bearnun/Code/kivy-ios/toolchain.py", line 39, in shprint
for line in command(*args, **kwargs):
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 -C /Users/bearnun/Code/kivy-ios/build/hostpython/x86_64/Python-2.7.1 bininstall inclinstall'
STDOUT:
Makefile:1392: warning: overriding commands for target `Modules/posixmodule.o'
Makefile:1284: warning: ignoring old commands for target `Modules/posixmodule.o'
Makefile:1393: warning: overriding commands for target `Modules/posixmodule.so'
Makefile:1285: warning: ignoring old commands for target `Modules/posixmodule.so'
Makefile:1394: warning: overriding commands for target `Modules/errnomodule.o'
Makefile:1286: warning: ignoring old commands for target `Modules/errnomodule.o'
Makefile:1395: warning: overriding commands for target `Modules/errnomodule.so'
Makefile:1287: warning: ignoring old commands for target `Modules/errnomodule.so'
Makefile:1396: warning: overriding commands for target `Modules/pwdmodule.o'
Makefile:1288: warning: ignor... (72937 more, please see e.stdout)
STDERR:
Yep, I am checking the join(build_dir, "Python") location afterward, and it is in fact missing.
ls: /Users/bearnun/Code/kivy-ios/build/hostpython/x86_64/Python-2.7.1/Python: No such file or directory