-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
When building a Python 3.14 project for Android using Buildozer and python-for-android(develop), two separate compilation failures occur:
-
_remote_debugging_modulefails
The module fails to compile becausesearch_linux_map_for_sectionis undeclared:/Modules/_remote_debugging_module.c:31: error: call to undeclared function 'search_linux_map_for_section' /Modules/_remote_debugging_module.c:814: error: call to undeclared function 'search_linux_map_for_section'This prevents the Python core from building properly for Android.
-
SDL2 bootstrap fails (
pyconfig.hnot found)
After_remote_debugging_modulecompilation fails, attempting to build (buildozer -v --stacktrace --scan android debug deploy run) results in:In file included from start.c:3: Python.h:14:10: fatal error: 'pyconfig.h' file not found 14 | #include "pyconfig.h" | ^~~~~~~~~~~~This appears to be caused by the SDL2 bootstrap not locating Python 3.14 headers correctly.
Steps to reproduce:
- Create a Buildozer project with Python 3.14 requirement.
- Run:
buildozer android debug- Observe compilation errors for
_remote_debugging_moduleandstart.c.
Environment:
- OS: Linux
- Buildozer version: latest (from pip)
- python-for-android: latest (from GitHub)
- Python version: 3.14
- NDK: r29
- SDK: Android API 36
- Target architectures:
arm64-v8a,armeabi-v7a
Additional context:
- No modifications or patches were applied to Python, Buildozer, or the bootstrap.
- Both issues seem to stem from incomplete support for Python 3.14 in SDL2 bootstrap and
_remote_debugging_module.
Request:
- Guidance or updates to
python-for-androidand SDL2 bootstrap to support Python 3.14 on Android. - Fix or workaround for
_remote_debugging_modulecompilation errors. - Ensure SDL2 bootstrap can locate Python headers like
pyconfig.hfor Python 3.14 builds.
Metadata
Metadata
Assignees
Labels
No labels