kivy / kivy/python-for-android
ndghttpsclient recipe build fail
- Dominant language
- Python
- Stars
- 8.9k
- Forks
- 2k
- Avg merge
- 12h 20m
- Merged PRs (30d)
- 9
Description
### Logs
This recipe is a file not a directory!
```
[1m[INFO][0m: IF THIS FAILS, THE MODULES MAY NEED A RECIPE. A reason for this is often modules compiling native code that is unaware of Android cross-compilation and does not work without additional changes / workarounds.
[1m[90m[DEBUG][39m[0m: [90m->[0m running bash -c venv/bin/pip install -v --target '/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/python-installs/myapp/arm64-v8a' --no-deps -r requirements.txt[0m
[1m[90m[DEBUG][39m[0m: Ignoring "sys._home = value" override
[1m[90m[DEBUG][39m[0m: Using pip 23.1.2 from /home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/venv/lib/python3.10/site-packages/pip (python 3.10)
[1m[90m[DEBUG][39m[0m: [31mERROR: Could not find a version that satisfies the requirement ndghttpsclient (from versions: none)[0m[31m
[1m[90m[DEBUG][39m[0m: [0m[31mERROR: No matching distribution found for ndghttpsclient[0m[31m
[1m[90m[DEBUG][39m[0m: [0m
Exception in thread background thread for pid 25542:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/bobf/.local/lib/python3.10/site-packages/sh.py", line 1683, in wrap
fn(*rgs, **kwargs)
File "/home/bobf/.local/lib/python3.10/site-packages/sh.py", line 2662, in background_thread
handle_exit_code(exit_code)
File "/home/bobf/.local/lib/python3.10/site-packages/sh.py", line 2349, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/bobf/.local/lib/python3.10/site-packages/sh.py", line 905, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
```
Contributor guide
Research direction
The log shows the failure while pip installs ndghttpsclient into the Android arm64-v8a build; start by reproducing that command and checking how this dependency is represented as a recipe. Done means the dependency installs successfully in the build without reporting that the recipe is a file rather than a directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, python
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100