kivy / kivy/python-for-android
Kivy Buildozer PyAudio error(need recipes)
- Dominant language
- Python
- Stars
- 8.9k
- Forks
- 2k
- Avg merge
- 12h 20m
- Merged PRs (30d)
- 9
Description
Installing collected packages: datetime, pyaudio
Created temporary directory: /tmp/pip-unpacked-wheel-3_f9u5yj
Created temporary directory: /tmp/pip-record-lb4mbhn3
Running command /home/ali/Desktop/22/.buildozer/android/platform/build-armeabi-v7a/build/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qhh5mpkq/pyaudio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-qhh5mpkq/pyaudio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-lb4mbhn3/install-record.txt --single-version-externally-managed --home /tmp/pip-target-t8i8gtjq --compile --install-headers /home/ali/Desktop/22/.buildozer/android/platform/build-armeabi-v7a/build/venv/include/site/python3.8/pyaudio
Ignoring "sys._home = value" override
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
copying src/pyaudio.py -> build/lib.linux-x86_64-3.8
running build_ext
building '_portaudio' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/src
/home/ali/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/home/ali/Desktop/22/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -DANDROID -D__ANDROID_API__=21 -I/home/ali/.buildozer/android/platform/android-ndk-r19c/sysroot/usr/include/arm-linux-androideabi -I/home/ali/Desktop/22/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/include/python3.8 -fPIC -I/home/ali/Desktop/22/.buildozer/android/platform/build-armeabi-v7a/build/venv/include -I/usr/local/include/python3.8 -c src/_portaudiomodule.c -o build/temp.linux-x86_64-3.8/src/_portaudiomodule.o
src/_portaudiomodule.c:29:10: fatal error: 'portaudio.h' file not found
#include "portaudio.h"
^~~~~~~~~~~~~
1 error generated.
error: command '/home/ali/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1
Running setup.py install for pyaudio ... error
Contributor guide
Research direction
Start by reproducing the Buildozer Android build shown in the report and inspect the PyAudio build step that compiles src/_portaudiomodule.c. Trace how the missing portaudio.h dependency is expected to enter the build, then verify that the resulting PyAudio installation completes for the reported Android target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, python
- Domain
- build-system, mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100