Closed n-march closed 3 years ago
And you've tried after installing openssl
into your conda environment?
/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6
Thank you for your message. I did but for some reason it didn't seem to have installed in the right directory:
'''(EVMap) Nicolass-MacBook-Pro:kivy-ios nico$ which openssl
/Users/nico/opt/anaconda3/envs/EVMap/bin/openssl'''
Will try to install in Conda environment tonight and close this issue if that solved it.
Thanks again
I've installed openssl in the environment and tried to toolchain build ffpyplayer
but still get the same error.
I can see openssl in the following location
/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-pakages/OpenSSL
When I run conda list
I get:
# packages in environment at /Users/nico/opt/anaconda3/envs/EVMap:
#
# Name Version Build Channel
altgraph 0.17 pypi_0 pypi
arrow 0.16.0 py36h9f0ad1d_0 conda-forge
binaryornot 0.4.4 pypi_0 pypi
brotlipy 0.7.0 py36h37b9a7d_1000 conda-forge
bzip2 1.0.8 h0b31af3_2 conda-forge
ca-certificates 2020.6.20 hecda079_0 conda-forge
certifi 2020.6.20 py36h9f0ad1d_0 conda-forge
cffi 1.14.1 py36h6a9c9ac_0 conda-forge
chardet 3.0.4 py36h9f0ad1d_1006 conda-forge
click 7.1.2 pyh9f0ad1d_0 conda-forge
clock 0.1 pypi_0 pypi
cookiecutter 1.7.2 pyh9f0ad1d_0 conda-forge
cryptography 3.1 py36h54f4bc5_0 conda-forge
cython 0.29.10 pypi_0 pypi
docopt 0.6.2 pypi_0 pypi
docutils 0.16 py36h9f0ad1d_1 conda-forge
ffmpeg 4.1.3 h5c2b479_0 conda-forge
ffpyplayer 4.3.1 py36hd70428d_0 conda-forge
freetype 2.10.0 h24853df_1 conda-forge
gettext 0.19.8.1 h15daf44_3 anaconda
glib 2.58.3 h9d45998_1002 conda-forge
gmp 6.1.2 h0a44026_1000 conda-forge
gnutls 3.6.5 h53004b3_1002 conda-forge
gst-plugins-base 1.14.5 h4cfda30_0 conda-forge
gstreamer 1.14.5 h06b91d7_2 conda-forge
idna 2.8 pypi_0 pypi
jinja2 2.11.2 pyh9f0ad1d_0 conda-forge
jinja2-time 0.2.0 pypi_0 pypi
jpeg 9d h0b31af3_0 conda-forge
kivy 1.11.1 py36h33690db_0 conda-forge
kivy-garden 0.1.4 pypi_0 pypi
kivy-ios 1.1.2 pypi_0 pypi
kivymd 0.103.0 pypi_0 pypi
lame 3.100 h1de35cc_1001 conda-forge
libcxx 4.0.1 hcfea43d_1
libcxxabi 4.0.1 hcfea43d_1
libedit 3.1.20181209 hb402a30_0
libffi 3.2.1 h475c297_4
libiconv 1.15 hdd342a3_7 anaconda
libpng 1.6.37 h2573ce8_0 conda-forge
libtiff 4.0.9 h79f4b77_1002 conda-forge
macholib 1.14 pypi_0 pypi
markupsafe 1.1.1 py36h37b9a7d_1 conda-forge
ncurses 6.1 h0a44026_1
nettle 3.4.1 h3efe00b_1002 conda-forge
olefile 0.46 py_0 conda-forge
openh264 1.8.0 hd9629dc_1000 conda-forge
openssl 1.1.1h haf1e3a3_0 conda-forge
openstep-parser 1.5.3 pypi_0 pypi
pbxproj 2.11.0 pypi_0 pypi
pcre 8.43 h0a44026_0 anaconda
pillow 7.0.0 pypi_0 pypi
pip 19.3.1 py36_0
poyo 0.5.0 py_0 conda-forge
pycparser 2.20 pyh9f0ad1d_2 conda-forge
pygame 1.9.6 pypi_0 pypi
pygments 2.5.2 pypi_0 pypi
pyinstaller 4.0 pypi_0 pypi
pyinstaller-hooks-contrib 2020.8 pypi_0 pypi
pyopenssl 19.1.0 py_1 conda-forge
pysocks 1.7.1 py36h9f0ad1d_1 conda-forge
python 3.6.10 h359304d_0
python-dateutil 2.8.1 py_0 conda-forge
python-slugify 4.0.1 pyh9f0ad1d_0 conda-forge
python_abi 3.6 1_cp36m conda-forge
pytz 2020.1 pypi_0 pypi
readline 7.0 h1de35cc_5
requests 2.24.0 pyh9f0ad1d_0 conda-forge
sdl2 2.0.10 h6de7cb9_0 conda-forge
sdl2_image 2.0.5 h7fada4f_0 conda-forge
sdl2_mixer 2.0.4 h6de7cb9_0 conda-forge
sdl2_ttf 2.0.15 hc42bb53_0 conda-forge
setuptools 44.0.0 py36_0
sh 1.13.1 pypi_0 pypi
six 1.15.0 pyh9f0ad1d_0 conda-forge
smpeg2 2.0.0 hfc679d8_1 conda-forge
sqlite 3.30.1 ha441bb4_0
text-unidecode 1.3 py_0 conda-forge
tk 8.6.10 hb0a8c7a_0 conda-forge
tzlocal 2.1 pypi_0 pypi
unidecode 1.1.1 py_0 conda-forge
urllib3 1.25.8 pypi_0 pypi
wheel 0.33.6 py36_0
whichcraft 0.6.1 py_0 conda-forge
x264 1!152.20180806 h1de35cc_0 conda-forge
xz 5.2.4 h1de35cc_4
zlib 1.2.11 h1de35cc_3
I feel like I'm missing a simple point here, but cannot quite grasp what...
And you did that using the below? Hmmm....
toolchain build openssl
Yep. I just cleaned it (toolchain clean openssl
), re-built it (using toolchain build openssl
) and still get the same error when trying to install ffmpeg (via toolchain build ffmpeg
).
Is there anything else you think I can do / try or is this a lost parliamentary debate and I should clean everything and start from scratch (again)?
[DEBUG ] New State: openssl.install at 2020-10-17 21:18:21.180326
[DEBUG ] New State: openssl.build_all at 2020-10-17 21:18:21.183080
(EVMap) Nicolass-MBP:kivy-ios nico$ toolchain status
audiostream - Not built
click - Not built
curly - Not built
cymunk - Not built
distribute - Not built
ffmpeg - Not built
ffpyplayer - Not built
flask - Not built
freetype - Build OK (built at 2020-09-08 05:44:40.253740)
host_setuptools - Not built
host_setuptools3 - Build OK (built at 2020-09-08 05:58:21.398315)
hostlibffi - Build OK (built at 2020-09-30 06:48:59.990144)
hostopenssl - Build OK (built at 2020-09-08 05:45:59.442150)
hostpython3 - Build OK (built at 2020-09-08 05:57:18.594381)
ios - Build OK (built at 2020-09-08 06:45:39.659913)
itsdangerous - Not built
jinja2 - Not built
kivent_core - Not built
kivy - Build OK (built at 2020-09-08 06:49:03.508494)
libcurl - Not built
libffi - Build OK (built at 2020-09-08 05:47:22.083506)
libjpeg - Not built
libpng - Not built
libzbar - Not built
markupsafe - Not built
netifaces - Not built
numpy - Not built
openssl - Build OK (built at 2020-10-17 21:18:21.183080)
photolibrary - Not built
pil - Not built
pillow - Not built
pkgresources - Not built
plyer - Build OK (built at 2020-09-30 06:49:03.628287)
pycrypto - Not built
pykka - Not built
pyobjus - Build OK (built at 2020-09-08 06:46:15.558313)
python3 - Build OK (built at 2020-09-08 06:02:37.948222)
pyyaml - Not built
sdl2 - Build OK (built at 2020-09-08 05:49:59.549994)
sdl2_image - Build OK (built at 2020-09-08 05:57:36.117164)
sdl2_mixer - Build OK (built at 2020-09-08 05:58:02.670378)
sdl2_ttf - Build OK (built at 2020-09-08 05:58:13.976426)
werkzeug - Not built
zbarlight - Not built
One last experiment, can install ffpyplayer in that venv ie. not using toolchain but
pip install ffpyplayer
Just tried - ffpyplayer was already installed, ffmpeg wasn't but I just installed.
(EVMap) Nicolass-MBP:kivy-ios nico$ pip install ffpyplayer
Requirement already satisfied: ffpyplayer in /Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages (4.3.1)
(EVMap) Nicolass-MBP:kivy-ios nico$ pip install ffmpeg
Requirement already satisfied: ffmpeg in /Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages (1.4)
Then tried toolchain build ffmpeg
but I continue to get the same error:
RAN: /Users/nico/PycharmProjects/EVPack/kivy-ios/build/ffmpeg/x86_64/FFmpeg-n3.4.5/configure --target-os=darwin --arch=x86_64 --cc=/var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmpmjihao0a --prefix=/Users/nico/PycharmProjects/EVPack/kivy-ios/build/ffmpeg/x86_64/FFmpeg-n3.4.5/dist '--extra-cflags=-O3 -miphoneos-version-min=8.0 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffmpeg -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64' '--extra-cxxflags=-O3 -miphoneos-version-min=8.0 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffmpeg -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64' '--extra-ldflags=-arch x86_64 -L/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/lib -miphoneos-version-min=8.0' --disable-x86asm --disable-everything --enable-parsers --enable-decoders --enable-demuxers --enable-filter=aresample,resample,crop,scale --enable-protocol=file,http,rtmp --enable-pic --enable-small --enable-hwaccels --enable-static --disable-shared --enable-gpl --disable-dxva2 --disable-vdpau --disable-vaapi --disable-dct --enable-cross-compile --disable-debug --disable-programs --disable-doc --enable-pic --enable-avresample --enable-openssl --enable-nonfree --enable-protocol=https,tls_openssl
STDOUT:
ERROR: openssl not found
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
What do you think the error could be, that it's not looking in the right folder or that it's not looking for the right thing within a folder?
Perhaps there are legacies of an old build which failed and which is still breaking things: Try
toolchain distclean
Then rebuild everything via
toolchain built python3 kivy openssl
Then the other recipes you need?
Thank you for your help - let me try that and let you know how it went.
I wasn't going to post this because I think is a different problem altogether but maybe is connected to the ffmpeg installation issue... If you think this has nothing to do with ffmpeg installation let me know and I'll delete this comment.
I tried toolchain distclean
and now I'm trying to re-build all the recipes I need. However I've run into an issue I previously had when trying to build recipes.
When I run toolchain build kivy
I get the following error:
[INFO ] Building with 4 processes, where supported
[INFO ] Want to build ['kivy']
[INFO ] Loaded recipe kivy (depends of ['sdl2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'ios', 'pyobjus', 'python', 'host_setuptools3'], optional are [])
[INFO ] Loaded recipe sdl2 (depends of [], optional are [])
[INFO ] Loaded recipe sdl2_image (depends of ['sdl2'], optional are [])
[INFO ] Loaded recipe sdl2_mixer (depends of ['sdl2'], optional are [])
[INFO ] Loaded recipe sdl2_ttf (depends of ['sdl2', 'freetype'], optional are [])
[INFO ] Loaded recipe ios (depends of ['python'], optional are [])
[INFO ] Loaded recipe pyobjus (depends of ['python'], optional are [])
[INFO ] Loaded recipe python (depends of ['python3'], optional are [])
[INFO ] Loaded recipe host_setuptools3 (depends of ['openssl', 'hostpython3'], optional are [])
[INFO ] Loaded recipe freetype (depends of [], optional are [])
[INFO ] Loaded recipe python3 (depends of ['hostpython3', 'libffi', 'openssl'], optional are [])
[INFO ] Loaded recipe openssl (depends of [], optional are [])
[INFO ] Loaded recipe hostpython3 (depends of ['hostlibffi', 'hostopenssl'], optional are [])
[INFO ] Loaded recipe libffi (depends of [], optional are [])
[INFO ] Loaded recipe hostlibffi (depends of [], optional are [])
[INFO ] Loaded recipe hostopenssl (depends of [], optional are [])
[INFO ] Build order is ['freetype', 'hostlibffi', 'hostopenssl', 'libffi', 'openssl', 'sdl2', 'hostpython3', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'host_setuptools3', 'python3', 'python', 'ios', 'pyobjus', 'kivy']
[INFO ] Recipe order is ['freetype', 'hostlibffi', 'hostopenssl', 'libffi', 'openssl', 'sdl2', 'hostpython3', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'host_setuptools3', 'python3', 'ios', 'pyobjus', 'kivy']
[INFO ] Include dir added: {arch.arch}/freetype
[INFO ] Include dir added: {arch.arch}/hostlibffi
[INFO ] Include dir added: {arch.arch}/ffi
[INFO ] Include dir added: {arch.arch}/openssl
[INFO ] Include dir added: common/sdl2
[INFO ] Global: hostpython located at /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/bin/python
[INFO ] Global: hostpgen located at /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/bin/pgen
[INFO ] Include dir added: common/sdl2_image
[INFO ] Include dir added: common/sdl2_mixer
[INFO ] Include dir added: common/sdl2_ttf
[DEBUG ] Cached result: Download freetype. Ignoring
[DEBUG ] Cached result: Extract freetype. Ignoring
[DEBUG ] Cached result: Build_all freetype. Ignoring
[DEBUG ] Cached result: Download hostlibffi. Ignoring
[DEBUG ] Cached result: Extract hostlibffi. Ignoring
[INFO ] Build hostlibffi for x86_64 (filtered)
[DEBUG ] Cached result: Build hostlibffi. Ignoring
[DEBUG ] New State: hostlibffi.build_all at 2020-10-21 07:09:12.033648
[DEBUG ] Cached result: Download hostopenssl. Ignoring
[DEBUG ] Cached result: Extract hostopenssl. Ignoring
[DEBUG ] Cached result: Build_all hostopenssl. Ignoring
[DEBUG ] Cached result: Download libffi. Ignoring
[DEBUG ] Cached result: Extract libffi. Ignoring
[DEBUG ] Cached result: Build_all libffi. Ignoring
[DEBUG ] Cached result: Download openssl. Ignoring
[DEBUG ] Cached result: Extract openssl. Ignoring
[DEBUG ] Cached result: Build_all openssl. Ignoring
[DEBUG ] Cached result: Download sdl2. Ignoring
[DEBUG ] Cached result: Extract sdl2. Ignoring
[DEBUG ] Cached result: Build_all sdl2. Ignoring
[DEBUG ] Cached result: Download hostpython3. Ignoring
[DEBUG ] Cached result: Extract hostpython3. Ignoring
[DEBUG ] Cached result: Build_all hostpython3. Ignoring
[DEBUG ] Cached result: Download sdl2_image. Ignoring
[DEBUG ] Cached result: Extract sdl2_image. Ignoring
[DEBUG ] Cached result: Build_all sdl2_image. Ignoring
[DEBUG ] Cached result: Download sdl2_mixer. Ignoring
[DEBUG ] Cached result: Extract sdl2_mixer. Ignoring
[DEBUG ] Cached result: Build_all sdl2_mixer. Ignoring
[DEBUG ] Cached result: Download sdl2_ttf. Ignoring
[DEBUG ] Cached result: Extract sdl2_ttf. Ignoring
[DEBUG ] Cached result: Build_all sdl2_ttf. Ignoring
[DEBUG ] Cached result: Download host_setuptools3. Ignoring
[DEBUG ] Cached result: Extract host_setuptools3. Ignoring
[DEBUG ] Cached result: Build_all host_setuptools3. Ignoring
[DEBUG ] Cached result: Download python3. Ignoring
[DEBUG ] Cached result: Extract python3. Ignoring
[DEBUG ] Cached result: Build_all python3. Ignoring
[DEBUG ] Cached result: Download ios. Ignoring
[DEBUG ] Cached result: Extract ios. Ignoring
[INFO ] Build_all ios
[INFO ] Build ios for x86_64, arm64 (filtered)
[INFO ] Build ios
[WARNING ] ios build for x86_64 has been incomplete
[WARNING ] Warning: deleting the build and restarting.
[INFO ] Prebuild ios for x86_64
[DEBUG ] Invoking prebuild_x86_64
[INFO ] Build ios for x86_64
[INFO ] CC and CXX will not use ccache
[INFO ] Cythonize ios.pyx
[INFO ] Running Shell: /Users/nico/opt/anaconda3/envs/EVMap/bin/python ('/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/tools/cythonize.py', 'ios.pyx') {'_iter': True, '_out_bufsize': 1, '_err_to_out': True}
[DEBUG ] -- cythonize ['/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/tools/cythonize.py', 'ios.pyx']
[DEBUG ] cythonize: ios.pyx
[DEBUG ] /Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/nico/PycharmProjects/EVPack/kivy-ios/build/ios/x86_64/src/ios.pyx
[DEBUG ] tree = Parsing.p_module(s, pxd, full_module_name)
[DEBUG ] no need to rewrite ios.pyx
[INFO ] Running Shell: /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/bin/python ('setup.py', 'build_ext', '-g') {'_env': {'CC': '/var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmpyk89zhxk', 'CXX': '/var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmp347jd3u7', 'AR': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar', 'LD': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld', 'OTHER_CFLAGS': '-I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/freetype -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/hostlibffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_image -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_mixer -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_ttf -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64', 'OTHER_LDFLAGS': '-L/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/lib', 'CFLAGS': '-O3 -miphoneos-version-min=8.0 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/freetype -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/hostlibffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_image -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_mixer -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_ttf -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64', 'LDFLAGS': '-arch x86_64 -L/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/lib -miphoneos-version-min=8.0', 'KIVYIOSROOT': '/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios', 'IOSSDKROOT': '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk', 'CUSTOMIZED_OSX_COMPILER': 'True', 'LDSHARED': '/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/tools/liblink', 'ARM_LD': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld', 'ARCH': 'x86_64'}, '_iter': True, '_out_bufsize': 1, '_err_to_out': True}
[DEBUG ] running build_ext
[DEBUG ] building 'ios' extension
[DEBUG ] creating build
[DEBUG ] creating build/temp.macosx-10.15-x86_64-3.8
[DEBUG ] /var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmpyk89zhxk -O3 -miphoneos-version-min=8.0 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/freetype -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/hostlibffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_image -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_mixer -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_ttf -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64 -g -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8 -c ios.c -o build/temp.macosx-10.15-x86_64-3.8/ios.o
[DEBUG ] ios.c:4499:240: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(6, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__2, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open, 36, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4511:248: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open_url_wbv, 40, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4534:240: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open, 67, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4549:246: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open_new, 69, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4561:250: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open_new_tab, 71, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4584:246: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__15, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open_url, 87, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4596:250: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(6, 0, 13, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__17, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_send_email, 104, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4605:250: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_get_scale, 205, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4614:248: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_get_dpi, 210, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4623:254: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_get_safe_area, 215, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4668:258: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__25, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_init, 237, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4680:255: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__27, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_keyboardWillShow, 243, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4692:254: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__29, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_keyboardDidHide, 250, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4700:252: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_get_kheight, 257, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:7478:9: error: too many arguments to function call, expected 15, have 16
[DEBUG ] __pyx_empty_bytes /*PyObject *lnotab*/
[DEBUG ] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] 15 errors generated.
[DEBUG ] error: command '/var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmpyk89zhxk' failed with exit status 1
Exception in thread background thread for pid 60233:
Traceback (most recent call last):
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 1662, in wrap
fn(*args, **kwargs)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 2606, in background_thread
handle_exit_code(exit_code)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 2304, in fn
return self.command.handle_command_exit_code(exit_code)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 877, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/bin/python setup.py build_ext -g
STDOUT:
running build_ext
building 'ios' extension
creating build
creating build/temp.macosx-10.15-x86_64-3.8
/var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmpyk89zhxk -O3 -miphoneos-version-min=8.0 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/freetype -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/hostlibffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_image -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_mixer -I/Users/nico/PycharmProjects/EVPac... (14547 more, please see e.stdout)
STDERR:
Traceback (most recent call last):
File "/Users/nico/opt/anaconda3/envs/EVMap/bin/toolchain", line 8, in <module>
sys.exit(main())
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1497, in main
ToolchainCL()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1270, in __init__
getattr(self, args.command)()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1323, in build
build_recipes(args.recipe, ctx)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1121, in build_recipes
recipe.execute()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 700, in execute
self.build_all()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 85, in _cache_execution
f(self, *args, **kwargs)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 794, in build_all
self.build(arch)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 85, in _cache_execution
f(self, *args, **kwargs)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 781, in build
self.build_arch(arch)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1075, in build_arch
_env=build_env)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 67, in shprint
for line in cmd:
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 925, in next
self.wait()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 849, in wait
self.handle_command_exit_code(exit_code)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 877, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/bin/python setup.py build_ext -g
STDOUT:
running build_ext
building 'ios' extension
creating build
creating build/temp.macosx-10.15-x86_64-3.8
/var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmpyk89zhxk -O3 -miphoneos-version-min=8.0 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/freetype -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/hostlibffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_image -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_mixer -I/Users/nico/PycharmProjects/EVPac... (14547 more, please see e.stdout)
I get similar errors when trying to build ios
, plyer
, etc...
I think something has not been built right from the outset because, as I understand the error, much like the ffmpeg error discussed above, my toolchain doesn't seem to find the right dependencies.
I can't remember how I managed to get around this (which is a shame because it took many hours to figure it out!) but I recall it, as much as I wanted to avoid it, tweaks to some Makefile files...
Try toolchain build python3 kivy
?
Be aware there are issue with XCode 12. Please post the version you are using. Thanks
I read there were issues with XCode 12 so I downloaded and installed XCode 10.3, which is what I'm currently running.
Still get an error when running toolchain build python3 kivy
(EVMap) Nicolass-MBP:kivy-ios nico$ toolchain build python3 kivy
[INFO ] Building with 4 processes, where supported
[INFO ] Want to build ['python3', 'kivy']
[INFO ] Loaded recipe python3 (depends of ['hostpython3', 'libffi', 'openssl'], optional are [])
[INFO ] Loaded recipe kivy (depends of ['sdl2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'ios', 'pyobjus', 'python', 'host_setuptools3'], optional are [])
[INFO ] Loaded recipe hostpython3 (depends of ['hostlibffi', 'hostopenssl'], optional are [])
[INFO ] Loaded recipe libffi (depends of [], optional are [])
[INFO ] Loaded recipe openssl (depends of [], optional are [])
[INFO ] Loaded recipe sdl2 (depends of [], optional are [])
[INFO ] Loaded recipe sdl2_image (depends of ['sdl2'], optional are [])
[INFO ] Loaded recipe sdl2_mixer (depends of ['sdl2'], optional are [])
[INFO ] Loaded recipe sdl2_ttf (depends of ['sdl2', 'freetype'], optional are [])
[INFO ] Loaded recipe ios (depends of ['python'], optional are [])
[INFO ] Loaded recipe pyobjus (depends of ['python'], optional are [])
[INFO ] Loaded recipe python (depends of ['python3'], optional are [])
[INFO ] Loaded recipe host_setuptools3 (depends of ['openssl', 'hostpython3'], optional are [])
[INFO ] Loaded recipe hostlibffi (depends of [], optional are [])
[INFO ] Loaded recipe hostopenssl (depends of [], optional are [])
[INFO ] Loaded recipe freetype (depends of [], optional are [])
[INFO ] Build order is ['freetype', 'hostlibffi', 'hostopenssl', 'libffi', 'openssl', 'sdl2', 'hostpython3', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'host_setuptools3', 'python3', 'python', 'ios', 'pyobjus', 'kivy']
[INFO ] Recipe order is ['freetype', 'hostlibffi', 'hostopenssl', 'libffi', 'openssl', 'sdl2', 'hostpython3', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'host_setuptools3', 'python3', 'ios', 'pyobjus', 'kivy']
[INFO ] Include dir added: {arch.arch}/freetype
[INFO ] Include dir added: {arch.arch}/hostlibffi
[INFO ] Include dir added: {arch.arch}/ffi
[INFO ] Include dir added: {arch.arch}/openssl
[INFO ] Include dir added: common/sdl2
[INFO ] Global: hostpython located at /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/bin/python
[INFO ] Global: hostpgen located at /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/bin/pgen
[INFO ] Include dir added: common/sdl2_image
[INFO ] Include dir added: common/sdl2_mixer
[INFO ] Include dir added: common/sdl2_ttf
[DEBUG ] Cached result: Download freetype. Ignoring
[DEBUG ] Cached result: Extract freetype. Ignoring
[DEBUG ] Cached result: Build_all freetype. Ignoring
[DEBUG ] Cached result: Download hostlibffi. Ignoring
[DEBUG ] Cached result: Extract hostlibffi. Ignoring
[INFO ] Build hostlibffi for x86_64 (filtered)
[DEBUG ] Cached result: Build hostlibffi. Ignoring
[DEBUG ] New State: hostlibffi.build_all at 2020-10-21 08:32:36.216909
[DEBUG ] Cached result: Download hostopenssl. Ignoring
[DEBUG ] Cached result: Extract hostopenssl. Ignoring
[DEBUG ] Cached result: Build_all hostopenssl. Ignoring
[DEBUG ] Cached result: Download libffi. Ignoring
[DEBUG ] Cached result: Extract libffi. Ignoring
[DEBUG ] Cached result: Build_all libffi. Ignoring
[DEBUG ] Cached result: Download openssl. Ignoring
[DEBUG ] Cached result: Extract openssl. Ignoring
[DEBUG ] Cached result: Build_all openssl. Ignoring
[DEBUG ] Cached result: Download sdl2. Ignoring
[DEBUG ] Cached result: Extract sdl2. Ignoring
[DEBUG ] Cached result: Build_all sdl2. Ignoring
[DEBUG ] Cached result: Download hostpython3. Ignoring
[DEBUG ] Cached result: Extract hostpython3. Ignoring
[DEBUG ] Cached result: Build_all hostpython3. Ignoring
[DEBUG ] Cached result: Download sdl2_image. Ignoring
[DEBUG ] Cached result: Extract sdl2_image. Ignoring
[DEBUG ] Cached result: Build_all sdl2_image. Ignoring
[DEBUG ] Cached result: Download sdl2_mixer. Ignoring
[DEBUG ] Cached result: Extract sdl2_mixer. Ignoring
[DEBUG ] Cached result: Build_all sdl2_mixer. Ignoring
[DEBUG ] Cached result: Download sdl2_ttf. Ignoring
[DEBUG ] Cached result: Extract sdl2_ttf. Ignoring
[DEBUG ] Cached result: Build_all sdl2_ttf. Ignoring
[DEBUG ] Cached result: Download host_setuptools3. Ignoring
[DEBUG ] Cached result: Extract host_setuptools3. Ignoring
[DEBUG ] Cached result: Build_all host_setuptools3. Ignoring
[DEBUG ] Cached result: Download python3. Ignoring
[DEBUG ] Cached result: Extract python3. Ignoring
[DEBUG ] Cached result: Build_all python3. Ignoring
[DEBUG ] Cached result: Download ios. Ignoring
[DEBUG ] Cached result: Extract ios. Ignoring
[INFO ] Build_all ios
[INFO ] Build ios for x86_64, arm64 (filtered)
[INFO ] Build ios
[WARNING ] ios build for x86_64 has been incomplete
[WARNING ] Warning: deleting the build and restarting.
[INFO ] Prebuild ios for x86_64
[DEBUG ] Invoking prebuild_x86_64
[INFO ] Build ios for x86_64
[INFO ] CC and CXX will not use ccache
[INFO ] Cythonize ios.pyx
[INFO ] Running Shell: /Users/nico/opt/anaconda3/envs/EVMap/bin/python ('/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/tools/cythonize.py', 'ios.pyx') {'_iter': True, '_out_bufsize': 1, '_err_to_out': True}
[DEBUG ] -- cythonize ['/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/tools/cythonize.py', 'ios.pyx']
[DEBUG ] cythonize: ios.pyx
[DEBUG ] /Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/nico/PycharmProjects/EVPack/kivy-ios/build/ios/x86_64/src/ios.pyx
[DEBUG ] tree = Parsing.p_module(s, pxd, full_module_name)
[DEBUG ] no need to rewrite ios.pyx
[INFO ] Running Shell: /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/bin/python ('setup.py', 'build_ext', '-g') {'_env': {'CC': '/var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmp19i_wysh', 'CXX': '/var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmp4471v21g', 'AR': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar', 'LD': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld', 'OTHER_CFLAGS': '-I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/freetype -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/hostlibffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_image -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_mixer -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_ttf -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64', 'OTHER_LDFLAGS': '-L/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/lib', 'CFLAGS': '-O3 -miphoneos-version-min=8.0 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/freetype -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/hostlibffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_image -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_mixer -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_ttf -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64', 'LDFLAGS': '-arch x86_64 -L/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/lib -miphoneos-version-min=8.0', 'KIVYIOSROOT': '/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios', 'IOSSDKROOT': '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk', 'CUSTOMIZED_OSX_COMPILER': 'True', 'LDSHARED': '/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/tools/liblink', 'ARM_LD': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld', 'ARCH': 'x86_64'}, '_iter': True, '_out_bufsize': 1, '_err_to_out': True}
[DEBUG ] running build_ext
[DEBUG ] building 'ios' extension
[DEBUG ] creating build
[DEBUG ] creating build/temp.macosx-10.15-x86_64-3.8
[DEBUG ] /var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmp19i_wysh -O3 -miphoneos-version-min=8.0 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/freetype -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/hostlibffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_image -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_mixer -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_ttf -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64 -g -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8 -c ios.c -o build/temp.macosx-10.15-x86_64-3.8/ios.o
[DEBUG ] ios.c:4499:240: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(6, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__2, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open, 36, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4511:248: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open_url_wbv, 40, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4534:240: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open, 67, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4549:246: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open_new, 69, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4561:250: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open_new_tab, 71, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4584:246: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__15, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_open_url, 87, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4596:250: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(6, 0, 13, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__17, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_send_email, 104, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4605:250: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_get_scale, 205, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4614:248: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_get_dpi, 210, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4623:254: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_get_safe_area, 215, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4668:258: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__25, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_init, 237, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4680:255: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__27, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_keyboardWillShow, 243, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4692:254: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__29, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_keyboardDidHide, 250, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:4700:252: error: too many arguments to function call, expected 15, have 16
[DEBUG ] ...__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_ios_pyx, __pyx_n_s_get_kheight, 257, __pyx_empty_bytes)...
[DEBUG ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] ios.c:7478:9: error: too many arguments to function call, expected 15, have 16
[DEBUG ] __pyx_empty_bytes /*PyObject *lnotab*/
[DEBUG ] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[DEBUG ] ios.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
[DEBUG ] ...PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
[DEBUG ] ~~~~~~~~~~ ^~~~
[DEBUG ] /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/include/python3.8/code.h:122:12: note:
[DEBUG ] 'PyCode_New' declared here
[DEBUG ] PyAPI_FUNC(PyCodeObject *) PyCode_New(
[DEBUG ] ^
[DEBUG ] 15 errors generated.
[DEBUG ] error: command '/var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmp19i_wysh' failed with exit status 1
Exception in thread background thread for pid 60570:
Traceback (most recent call last):
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 1662, in wrap
fn(*args, **kwargs)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 2606, in background_thread
handle_exit_code(exit_code)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 2304, in fn
return self.command.handle_command_exit_code(exit_code)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 877, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/bin/python setup.py build_ext -g
STDOUT:
running build_ext
building 'ios' extension
creating build
creating build/temp.macosx-10.15-x86_64-3.8
/var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmp19i_wysh -O3 -miphoneos-version-min=8.0 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/freetype -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/hostlibffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_image -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_mixer -I/Users/nico/PycharmProjects/EVPac... (14547 more, please see e.stdout)
STDERR:
Traceback (most recent call last):
File "/Users/nico/opt/anaconda3/envs/EVMap/bin/toolchain", line 8, in <module>
sys.exit(main())
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1497, in main
ToolchainCL()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1270, in __init__
getattr(self, args.command)()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1323, in build
build_recipes(args.recipe, ctx)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1121, in build_recipes
recipe.execute()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 700, in execute
self.build_all()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 85, in _cache_execution
f(self, *args, **kwargs)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 794, in build_all
self.build(arch)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 85, in _cache_execution
f(self, *args, **kwargs)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 781, in build
self.build_arch(arch)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1075, in build_arch
_env=build_env)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 67, in shprint
for line in cmd:
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 925, in next
self.wait()
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 849, in wait
self.handle_command_exit_code(exit_code)
File "/Users/nico/opt/anaconda3/envs/EVMap/lib/python3.6/site-packages/sh.py", line 877, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/bin/python setup.py build_ext -g
STDOUT:
running build_ext
building 'ios' extension
creating build
creating build/temp.macosx-10.15-x86_64-3.8
/var/folders/55/d9n6f6cd2jvfl31sgybww9kc0000gn/T/tmp19i_wysh -O3 -miphoneos-version-min=8.0 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/freetype -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/hostlibffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/ffi -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/x86_64/openssl -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2 -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_image -I/Users/nico/PycharmProjects/EVPack/kivy-ios/dist/include/common/sdl2_mixer -I/Users/nico/PycharmProjects/EVPac... (14547 more, please see e.stdout)
Do you think the problem is this line and something in the hostpython3//bin/python setup.py
file doesn't have the right path?:
Users/nico/PycharmProjects/EVPack/kivy-ios/dist/hostpython3/bin/python setup.py build_ext
I suspect the cython version. I see you are using Cython==0.29.10
, but the requirement is actually Cython==0.29.17
. Please clean and retry with that version.
Thank you for your help, updating Cython to 0.29.17 worked and I was able to run toolchain build kivy
correctly.
I still have the same "openssl not found" message when I try to install FFmpeg or ffpyplayer. I looked at the config.log from ffbuild/config.log
, as advised by the error and the issue may be to do with my with the brew install autoconf automake libtool pkg-config step.
I followed the steps as per the kivy-ios instructions and not sure why the pkg-config may have not installed correctly but I continue to look for a solution. I've tried unlinking (brew unlink libtool
) and re-linking (brew link libtool
) the library but still doesn't work...
Any other ideas as to what could be the issue?
Message in config.log:
check_pkg_config openssl openssl openssl/ssl.h OPENSSL_init_ssl
pkg-config --exists --print-errors openssl
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
use_pkg_config openssl openssl openssl/ssl.h SSL_library_init
check_pkg_config openssl openssl openssl/ssl.h SSL_library_init
pkg-config --exists --print-errors openssl
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto
check_func_headers openssl/ssl.h SSL_library_init -lssl -lcrypto
check_ld cc -lssl -lcrypto
check_cc```
Did you do a distclean
and start from scratch? Best to do that to prevent builds with mixed versions of cython...
Yep, I just did the following
toolchain distclean
toolchain build python3 kivy openssl
toolchain build plyer
everything built as expected but I get the same openssl not found message after I try to run toolchain build ffmpeg
I realised that if I run pkg-config --variable pc_path pkg-config
I get the following output:
/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.15
[1]
Now, if I look in those folders I don't find a openssl.pc file.
Apparently, if I understand the comments correctly, there's been an issue with Homebrew installing openssl (see https://github.com/kelaberetiv/TagUI/issues/635#issuecomment-560138773). I've tried following the instructions included in the post (https://github.com/kelaberetiv/TagUI/issues/635#issuecomment-699482920) but still doesn't work.
I have the openssl.pc in my computer in the following folders, none of which is in [1]:
/usr/local/Cellar/openssl/1.0.2t/lib/pkgconfig/openssl.pc
/Users/nico/PycharmProjects/EVPack/kivy-ios/build/openssl/arm64/openssl-1.1.1f/openssl.pc
/Users/nico/PycharmProjects/EVPack/kivy-ios/build/openssl/x86_64/openssl-1.1.1f/openssl.pc
/Users/nico/PycharmProjects/EVPack/kivy-ios/build/hostopenssl/x86_64/openssl-1.1.1f/openssl.pc
/Users/nico/opt/anaconda3/pkgs/openssl-1.1.1h-haf1e3a3_0/lib/pkgconfig/openssl.pc
/Users/nico/opt/anaconda3/pkgs/openssl-1.1.1-h1de35cc_0/lib/pkgconfig/openssl.pc
/Users/nico/opt/anaconda3/pkgs/openssl-1.1.1g-haf1e3a3_1/lib/pkgconfig/openssl.pc
/Users/nico/opt/anaconda3/pkgs/openssl-1.1.1d-h1de35cc_2/lib/pkgconfig/openssl.pc
/Users/nico/opt/anaconda3/pkgs/openssl-1.1.1d-h1de35cc_3/lib/pkgconfig/openssl.pc
/Users/nico/opt/anaconda3/pkgs/openssl-1.1.1d-h0b31af3_0/lib/pkgconfig/openssl.pc
/Users/nico/opt/anaconda3/lib/pkgconfig/openssl.pc
/Users/nico/opt/anaconda3/envs/EVMap/lib/pkgconfig/openssl.pc
I've been trying to find a solution to include the openssl.pc
in /usr/local/lib/pkgconfig
but haven't been successful yet...
Can you try building or running a program that actually uses https? e.g a URL request to a https site? If that works, we know the failure is part of the ffmpeg
packaging? . My tests indicate it builds and installs no problem in isolation.
The app I've built and run from my phone (or Pycharm) connects just fine with Firebase (registers new users, login / logout, requests new passwords). Does this answer your question?
I've just commented the code referencing videos (key for the app but mainly used as background) on my code to be able to run the App, otherwise I had an error message when trying to run the video.
Yes, that does thanks. It means that the problem is not with openssl, but with to do with the fact that certain files it is looking for are not in the pkg-config path. What you pasted above tells us what to do....
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
use_pkg_config openssl openssl openssl/ssl.h SSL_library_init
check_pkg_config openssl openssl openssl/ssl.h SSL_library_init
pkg-config --exists --print-errors openssl
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Try this: https://github.com/sfackler/rust-openssl/issues/763 Or this: https://askubuntu.com/questions/210210/pkg-config-path-environment-variable Any luck?
@n-march I think we found the problem. Please try cleaning, then rebuild using the changes in this PR? It seems to build successfully in the pipeline, although I have yet to confirm on an actual Mac. Thanks
Thank you @Zen-CODE. I've never done this before so want to make sure I understand what you're asking.
I'm meant to run the following:
git remote add upstream https://github.com/kivy/kivy-ios/pull/562
Given this is what I get when I run:
(EVMap) Nicolass-MBP:kivy-ios nico$ git fetch upstream pull/562/head:fix/ffmpg fatal: 'upstream' does not appear to be a git repository fatal: Could not read from remote repository. (EVMap) Nicolass-MBP:kivy-ios nico$ git remote -v origin git://github.com/kivy/kivy-ios (fetch) origin git://github.com/kivy/kivy-ios (push)
Then,
git fetch upstream pull/562/head:fix/ffmpg
git checkout fix/ffmpg
Once that's done run
toolchain distclean
toolchain build python3 kivy openssl
toolchain build FFmpeg
That looks right. Or you can follow the command line instructions here to checkout the branch: https://github.com/kivy/kivy-ios/pull/562
Then do your toolchain stuff....+1
Sorry for the delayed response, it took me a bit to figure out what was wrong with the GitHub commands, as the ones I posted above didn't work, and I ended up having to do:
(EVMap) Nicolass-MBP:kivy-ios nico$ git fetch
remote: Enumerating objects: 42, done.
remote: Counting objects: 100% (42/42), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 42 (delta 24), reused 32 (delta 16), pack-reused 0
Unpacking objects: 100% (42/42), 20.89 KiB | 264.00 KiB/s, done.
From git://github.com/kivy/kivy-ios
7cb14fc..e2326b4 master -> origin/master
* [new branch] clean_cache -> origin/clean_cache
* [new branch] fix/ffmpg -> origin/fix/ffmpg
(EVMap) Nicolass-MBP:kivy-ios nico$ git checkout fix/ffmpg
Branch 'fix/ffmpg' set up to track remote branch 'fix/ffmpg' from 'origin'.
Switched to a new branch 'fix/ffmpg'
I then distclean and installed everything but I still get the same openssl error...
If I run ffmpeg
I get:
(EVMap) Nicolass-MBP:kivy-ios nico$ ffmpeg
ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
built with clang version 4.0.1 (tags/RELEASE_401/final)
configuration: --prefix=/Users/nico/opt/anaconda3/envs/EVMap --cc=x86_64-apple-darwin13.4.0-clang --disable-doc --disable-openssl --enable-avresample --enable-gnutls --enable-gpl --enable-hardcoded-tables --enable-libfreetype --enable-libopenh264 --enable-libx264 --enable-pic --enable-pthreads --enable-shared --enable-static --enable-version3 --enable-zlib --enable-libmp3lame
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Hyper fast Audio and Video encoder
and if I run openssl version
I get
OpenSSL 1.1.1h 22 Sep 2020
Which is newer than the 1.1.1g version, so I understand it should work (?). I also tried changing the recipes/openssl/__init__.py
version to 1.1.1h but that didn't work either.
Please post the exact commands you are entering. What exact command did you use? Perhaps do a 'git clean -dxf` for remove everything (be careful, I mean everything! :-)) and do it step by step, posting exact command and output.
Ok, got it. This is what I did:
(I first run git clean -fdxn
to check what was going to be deleted - in case someone is reading this…)
git clean -fdx
rm -r EVPack
[Created a folder called EVAppPack]
cd nico/PycharmProjects/EVAppPack
brew install autoconf automake libtool pkg-config
[=> ‘Error: automake 1.16.2 is already installed’]
brew link libtool
[=> Already linked: /usr/local/Cellar/libtool/2.4.6_2]
At this point I realised that the requirement on the web - https://kivy.org/doc/stable/guide/packaging-ios.html - incorrectly (?) states that you need Cython==0.29.10, which is why I was having issues running “toolchain build kivy” previously. We should suggest to change that on the web(?)
git clone git://github.com/kivy/kivy-ios
git checkout fix/ffmpg
I had to go into “kivy-ios” folder and allow “read and write” applying it to all files in the folder. I also checked that the changes in fix/ffmpg where correctly rolled out in the openssl and ffmpeg files in the Recipe folder.
toolchain build python3 openssl kivy
[Everything built well]
Unfortunately, when I run toolchain build ffmpeg
or toolchain build ffmpyplayer
I get the same “openssl not found” message…
Update: I have managed to include openssl.pc
to the /usr/local/lib/pkgconfig
but still unable to build ffmpeg when I run toolchain build ffmpeg
The above was an attempt to solve the issue highlighted in the config.log
posted above:
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
Odd: A folder named ffbuild
keeps appearing in /usr/nico
I've compiled my app and the videos in it are not running. I realised that I hadn't built ffmpeg or ffmpyplayer. When I try to build these I get the following error: "ERROR: openssl not found"
I've tried "cleaning", rebuilding "openssl" and updating the project but still get the same error.
I've also tried building inside my Conda environment and outside the environment and get the same error.
Any guidance on whether this is me missing something or a possible bug would be very much appreciated.
Thanks!
-->
Versions
To Reproduce sudo toolchain build ffpyplayer (If I don't use sudo I get a permission denied error...)
Logs