-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
Priority: LowThis issue can probably be picked up by anyone looking to contribute to the project, as an entry fixThis issue can probably be picked up by anyone looking to contribute to the project, as an entry fixrecipe
Description
Checklist
- [x ] the issue is indeed a bug and not a support request
- [x ] issue doesn't already exist: https://github.com/kivy/python-for-android/issues
- I have a short, runnable example that reproduces the issue
- [x ] I reproduced the problem with the latest development version (
p4a.branch = develop) - [ x] I used the grave accent (aka backticks) to format code or logs when appropriated
Description
Kiwisolver build fails with include error.
Also a depreciation warning for next month!
Logs
Error:
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/kiwisolver
copying py/kiwisolver/exceptions.py -> build/lib.linux-x86_64-cpython-311/kiwisolver
copying py/kiwisolver/__init__.py -> build/lib.linux-x86_64-cpython-311/kiwisolver
copying py/kiwisolver/_cext.pyi -> build/lib.linux-x86_64-cpython-311/kiwisolver
copying py/kiwisolver/py.typed -> build/lib.linux-x86_64-cpython-311/kiwisolver
running build_ext
building 'kiwisolver._cext' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/py
creating build/temp.linux-x86_64-cpython-311/py/src
/home/bobf/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -DANDROID -I/home/bobf/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/bobf/ex/rtest/.buildozer/android/platform/build-arm64-v8a/build/python-installs/myapp/arm64-v8a/include/python3.1 -fPIC -I/tmp/build-env-dyupwo5o/lib/python3.11/site-packages/cppy/include -I. -I/tmp/build-env-dyupwo5o/include -I/usr/local/include/python3.11 -c py/src/constraint.cpp -o build/temp.linux-x86_64-cpython-311/py/src/constraint.o -std=c++11
In file included from py/src/constraint.cpp:10:
In file included from /tmp/build-env-dyupwo5o/lib/python3.11/site-packages/cppy/include/cppy/cppy.h:16:
/tmp/build-env-dyupwo5o/lib/python3.11/site-packages/cppy/include/cppy/defines.h:10:10: fatal error: 'Python.h' file not found
#include <Python.h>
^~~~~~~~~~
1 error generated.
error: command '/home/bobf/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++' failed with exit code 1
Depreciation warning
/tmp/build-env-dyupwo5o/lib/python3.11/site-packages/setuptools_scm/git.py:167: UserWarning: "/home/bobf/ex/rtest/.buildozer/android/platform/build-arm64-v8a/build/other_builds/kiwisolver/arm64-v8a__ndk_target_21/kiwisolver" is shallow and may cause errors
warnings.warn(f'"{wd.path}" is shallow and may cause errors')
/tmp/build-env-dyupwo5o/lib/python3.11/site-packages/setuptools/dist.py:450: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'plat-name' will not be supported in future
versions. Please use the underscore name 'plat_name' instead.
By 2024-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
Metadata
Metadata
Assignees
Labels
Priority: LowThis issue can probably be picked up by anyone looking to contribute to the project, as an entry fixThis issue can probably be picked up by anyone looking to contribute to the project, as an entry fixrecipe