Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gevent recipe build fail #2805

Open
RobertFlatt opened this issue May 30, 2023 · 2 comments
Open

gevent recipe build fail #2805

RobertFlatt opened this issue May 30, 2023 · 2 comments

Comments

@RobertFlatt
Copy link
Contributor

Logs

[1m[90m[DEBUG][39m[0m:   [90m->[0m running python3 setup.py build_ext [0m
[1m[90m[DEBUG][39m[0m:   	Traceback (most recent call last):
[1m[90m[DEBUG][39m[0m:   	  File "/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/gevent/arm64-v8a__ndk_target_21/gevent/setup.py", line 46, in <module>
[1m[90m[DEBUG][39m[0m:   	    from _setuplibev import libev_configure_command
[1m[90m[DEBUG][39m[0m:   	  File "/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/gevent/arm64-v8a__ndk_target_21/gevent/_setuplibev.py", line 34, in <module>
[1m[90m[DEBUG][39m[0m:   	    " && sh ./configure --host={} ".format(os.environ['TOOLCHAIN_PREFIX']),
[1m[90m[DEBUG][39m[0m:   	  File "/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/os.py", line 680, in __getitem__
[1m[90m[DEBUG][39m[0m:   	    raise KeyError(key) from None
[1m[90m[DEBUG][39m[0m:   	KeyError: 'TOOLCHAIN_PREFIX'
@AbdulkadirAktuerk
Copy link

did you find any solution to this problem?

@RobertFlatt
Copy link
Contributor Author

No I didn't try.
I was just doing regression testing to see what didn't work. so I didn't care why it didn't work.

It looks like the issue is the the patch https://github.com/kivy/python-for-android/blob/develop/pythonforandroid/recipes/gevent/cross_compiling.patch
It expects TOOLCHAIN_PREFIX to be an environment variable, and it is not.
Seems reasonable this might be related to the NDK toolchain file at least if gevent uses cmake.

But I don't know anything about how gevent is built, so I know that I don't know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants