Open hemna opened 4 hours ago
Trying to build from master kivy-ios on macos x 15.1.1 with cython 3.0.11
buildozer -v ios debug
eventually results in this failure.
[INFO ] Cythonize ios.pyx [INFO ] Running Shell: /Users/I530566/devel/mine/hamradio/kivy/AprsChat/.venv/bin/python ('/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/kivy_ios/tools/cythonize.py', 'ios.pyx') {'_iter': True, '_out_bufsize': 1, '_err_to_out': True} [DEBUG ] -- cythonize ['/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/kivy_ios/tools/cythonize.py', 'ios.pyx'] [DEBUG ] cythonize: ios.pyx [DEBUG ] /Users/I530566/devel/mine/hamradio/kivy/AprsChat/.venv/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/build/ios/iphoneos-arm64/src/ios.pyx [DEBUG ] tree = Parsing.p_module(s, pxd, full_module_name) [DEBUG ] [DEBUG ] Error compiling Cython file: [DEBUG ] ------------------------------------------------------------ [DEBUG ] ... [DEBUG ] [DEBUG ] [DEBUG ] Py_INCREF(callback) [DEBUG ] [DEBUG ] ret = ios_send_email(j_subject, j_text, j_mimetype, j_filename, [DEBUG ] j_filename_alias, _send_email_done, <void *>callback) [DEBUG ] ^ [DEBUG ] ------------------------------------------------------------ [DEBUG ] [DEBUG ] ios.pyx:195:30: Cannot assign type 'void (char *, void *) except *' to 'ios_send_email_cb' (alias of 'void (*)(char *, void *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_send_email_done'. [DEBUG ] no need to rewrite ios.pyx [INFO ] Running Shell: /Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/hostpython3/bin/python ('setup.py', 'build_ext', '-g') {'_env': {'CC': '/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/tmpst406p_j', 'CXX': '/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/tmpzxehao7o', '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/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/freetype -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/ffi -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/libjpeg -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/openssl -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64', 'OTHER_LDFLAGS': '-L/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/lib/iphoneos', 'CFLAGS': '-O3 -miphoneos-version-min=9.0 -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/freetype -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/ffi -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/libjpeg -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/openssl -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64', 'LDFLAGS': '-arch arm64 -L/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/lib/iphoneos -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk/usr/lib -miphoneos-version-min=9.0', 'KIVYIOSROOT': '/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/kivy_ios', 'IOSSDKROOT': '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk', 'CUSTOMIZED_OSX_COMPILER': 'True', 'LDSHARED': '/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/kivy_ios/tools/liblink', 'ARM_LD': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld', 'PLATFORM_SDK': 'iphoneos', 'ARCH': 'arm64'}, '_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-15.1-arm64-cpython-311 [DEBUG ] /var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/tmpst406p_j -O3 -miphoneos-version-min=9.0 -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/freetype -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/ffi -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/libjpeg -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64/openssl -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/include/iphoneos-arm64 -g -I/Users/I530566/devel/mine/hamradio/kivy/AprsChat/.buildozer/ios/platform/kivy-ios/dist/hostpython3/include/python3.11 -c ios.c -o build/temp.macosx-15.1-arm64-cpython-311/ios.o [DEBUG ] clang: error: no such file or directory: 'ios.c' [DEBUG ] clang: error: no input files
Also tried running against the kivy-ios renovate/cython-3.x branch. same issue.
Trying to build from master kivy-ios on macos x 15.1.1 with cython 3.0.11
buildozer -v ios debug
eventually results in this failure.