Closed RobertFlatt closed 2 years ago
Hi @RobertFlatt!
I guess https://github.com/kivy/python-for-android/pull/2586 fixes it. Did you had a chance to test the changes?
@misl6 p4a.fork=misl6 p4a.branch = fix/build-platform-on-m1
ffmpeg builds OK :)
But now ffpyplayer Cython fails, new issue or run with it here? Log below.
I notice the Cython egg is 3.0.0 for py3.9
So this is not the platform's installed Cython version, it is p4a's copy,
Any suggestions?
RAN: /usr/bin/python3 '-cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main());' ./.eggs/Cython-3.0.0a10-py3.9.egg/Cython/Utility/TestCyUtilityLoader.pyx
STDOUT:
/home/bobf/.local/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/bobf/ex/share_receive_example/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/ffpyplayer-openssl/armeabi-v7a__ndk_target_21/ffpyplayer/.eggs/Cython-3.0.0a10-py3.9.egg/Cython/Utility/TestCyUtilityLoader.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
########## TestCyUtilityLoader ##########
#@requires: OtherUtility
test {{cy_loader}} impl
^
------------------------------------------------------------
.eggs/Cython-3.0.0a10-py3.9.egg/Cython/Utility/TestCyUtilityLoader.pyx:4:5: Syntax error in simple statement list
@misl6 p4a.fork=misl6 p4a.branch = fix/build-platform-on-m1
ffmpeg builds OK :)
But now ffpyplayer Cython fails, new issue or run with it here? Log below.
I notice the Cython egg is
3.0.0 for py3.9
So this is not the platform's installed Cython version, it is p4a's copy,Any suggestions?
RAN: /usr/bin/python3 '-cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main());' ./.eggs/Cython-3.0.0a10-py3.9.egg/Cython/Utility/TestCyUtilityLoader.pyx STDOUT: /home/bobf/.local/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/bobf/ex/share_receive_example/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/ffpyplayer-openssl/armeabi-v7a__ndk_target_21/ffpyplayer/.eggs/Cython-3.0.0a10-py3.9.egg/Cython/Utility/TestCyUtilityLoader.pyx tree = Parsing.p_module(s, pxd, full_module_name) Error compiling Cython file: ------------------------------------------------------------ ... ########## TestCyUtilityLoader ########## #@requires: OtherUtility test {{cy_loader}} impl ^ ------------------------------------------------------------ .eggs/Cython-3.0.0a10-py3.9.egg/Cython/Utility/TestCyUtilityLoader.pyx:4:5: Syntax error in simple statement list
Looks like a separate issue to me, but I may have a clear idea of the root cause of the issue.
I will be back to you shortly.
@RobertFlatt FYI: I've just added a commit on #2586 that should fix the issue: https://github.com/kivy/python-for-android/pull/2586/commits/4f7d8e61b736eb63dbc215b0f1ffd969755db034.
@misl6 Builds and runs 😀Thank you.
Checklist
p4a.branch = develop
)Versions
Description
Buildozer 1.4.0.dev0 p4a.branch = develop android.archs = armeabi-v7a
buildozer android debug
ffmpeg recipe
build fails,strip not found
.