• B правой части каждого сообщения есть стрелки и . Не стесняйтесь оценивать ответы. Чтобы автору вопроса закрыть свой тикет, надо выбрать лучший ответ. Просто нажмите значок в правой части сообщения.

I encountered this problem when I tried to create an apk file in buildozere. Does anyone know how to solve this problem?

DevGMore

Member
07.07.2024
5
0
BIT
50
creating build/temp.linux-x86_64-3.11/src_c/_sdl2
[DEBUG]: /home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -Isrc_c -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/_sdl2/sdl2.c -o build/temp.linux-x86_64-3.11/src_c/_sdl2/sdl2.o
[DEBUG]: src_c/_sdl2/sdl2.c:211:12: fatal error: 'longintrepr.h' file not found
[DEBUG]: #include "longintrepr.h"
[DEBUG]: ^~~~~~~~~~~~~~~
[DEBUG]: 1 error generated.
[DEBUG]:
[DEBUG]: ---
[DEBUG]: For help with compilation see:
[DEBUG]:
[DEBUG]: To contribute to pygame development see:
[DEBUG]:
[DEBUG]: ---
[DEBUG]:
[DEBUG]: error: command '/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit code 1
Exception in thread background thread for pid 53538:
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/dfg/.local/lib/python3.10/site-packages/sh.py", line 1641, in wrap
fn(*rgs, **kwargs)
File "/home/dfg/.local/lib/python3.10/site-packages/sh.py", line 2569, in background_thread
handle_exit_code(exit_code)
File "/home/dfg/.local/lib/python3.10/site-packages/sh.py", line 2269, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/dfg/.local/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:

RAN: /mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v

STDOUT:
/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/pygame/arm64-v8a__ndk_target_21/pygame/setup.py:70: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
import distutils
running build_ext
building 'pygame.imageext' extension
creating build
creating build/temp.linux-x86_64-3.11
creating build/temp.linux-x86_64-3.11/src_c
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_image/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/imageext.c -o build/temp.linux-x86_64-3.11/src_c/imageext.o
src_c/imageext.c:118:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ext = find_extension(name);
^ ~~~~~~~~~~~~~~~~~~~~
src_c/imageext.c:107:9: warning: variable 'lock_mutex' set but not used [-Wunused-but-set-variable]
int lock_mutex = 0;
^
2 warnings generated.
creating build/lib.linux-x86_64-3.11
creating build/lib.linux-x86_64-3.11/pygame
/home/dfg/.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 -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/spacesturm/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build -lpython3.11 -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 build/temp.linux-x86_64-3.11/src_c/imageext.o -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/libs/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png/.libs -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -L/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -lSDL2 -lSDL2_image -lpng16 -ljpeg -o build/lib.linux-x86_64-3.11/pygame/imageext.cpython-311-x86_64-linux-gnu.so
building 'pygame.font' extension
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_ttf -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/font.c -o build/temp.linux-x86_64-3.11/src_c/font.o
src_c/font.c:693:19: warning: incompatible pointer types initializing 'int **' with an expression of type 'TTF_Font *' (aka 'struct _TTF_Font *') [-Wincompatible-pointer-types]
int** face_pp = font;
^ ~~~~
src_c/font.c:78:1: warning: unused function 'utf_8_needs_UCS_4' [-Wunused-function]
utf_8_needs_UCS_4(const char *str)
^
2 warnings generated.
/home/dfg/.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 -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/spacesturm/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build -lpython3.11 -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 build/temp.linux-x86_64-3.11/src_c/font.o -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/libs/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png/.libs -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -L/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -lSDL2 -lSDL2_ttf -o build/lib.linux-x86_64-3.11/pygame/font.cpython-311-x86_64-linux-gnu.so
building 'pygame.mixer' extension
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_mixer/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/mixer.c -o build/temp.linux-x86_64-3.11/src_c/mixer.o
/home/dfg/.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 -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/spacesturm/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build -lpython3.11 -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 build/temp.linux-x86_64-3.11/src_c/mixer.o -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/libs/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png/.libs -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -L/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -lSDL2 -lSDL2_mixer -o build/lib.linux-x86_64-3.11/pygame/mixer.cpython-311-x86_64-linux-gnu.so
building 'pygame.mixer_music' extension
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_mixer/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/music.c -o build/temp.linux-x86_64-3.11/src_c/music.o
src_c/music.c:307:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
namehint = dot + 1;
^ ~~~~~~~
src_c/music.c:377:5: warning: incompatible pointer types returning 'PyObject *' (aka 'struct _object *') from a function with result type 'Mix_Music *' (aka 'struct _Mix_Music *') [-Wincompatible-pointer-types]
MIXER_INIT_CHECK();
^~~~~~~~~~~~~~~~~~
src_c/mixer.h:9:16: note: expanded from macro 'MIXER_INIT_CHECK'
return RAISE(pgExc_SDLError, "mixer not initialized")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src_c/_pygame.h:253:21: note: expanded from macro 'RAISE'
#define RAISE(x, y) (PyErr_SetString((x), (y)), (PyObject *)NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/home/dfg/.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 -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/spacesturm/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build -lpython3.11 -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 build/temp.linux-x86_64-3.11/src_c/music.o -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/libs/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png/.libs -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -L/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -lSDL2 -lSDL2_mixer -o build/lib.linux-x86_64-3.11/pygame/mixer_music.cpython-311-x86_64-linux-gnu.so
building 'pygame.scrap' extension
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/scrap.c -o build/temp.linux-x86_64-3.11/src_c/scrap.o
/home/dfg/.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 -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/spacesturm/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build -lpython3.11 -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 build/temp.linux-x86_64-3.11/src_c/scrap.o -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/libs/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png/.libs -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -L/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -lSDL2 -o build/lib.linux-x86_64-3.11/pygame/scrap.cpython-311-x86_64-linux-gnu.so
building 'pygame._sdl2.sdl2' extension
creating build/temp.linux-x86_64-3.11/src_c/_sdl2
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -Isrc_c -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/_sdl2/sdl2.c -o build/temp.linux-x86_64-3.11/src_c/_sdl2/sdl2.o
src_c/_sdl2/sdl2.c:211:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~
1 error generated.

---
For help with compilation see:

To contribute to pygame development see:

---

error: command '/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit code 1


STDERR:

Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/mnt/c/games/Space_Sturm/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1256, in <module>
main()
File "/mnt/c/games/Space_Sturm/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/mnt/c/games/Space_Sturm/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 685, in __init__
getattr(self, command)(args)
File "/mnt/c/games/Space_Sturm/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 104, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/mnt/c/games/Space_Sturm/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 163, in build_dist_from_args
build_recipes(build_order, python_modules, ctx,
File "/mnt/c/games/Space_Sturm/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 504, in build_recipes
recipe.build_arch(arch)
File "/mnt/c/games/Space_Sturm/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 983, in build_arch
self.build_compiled_components(arch)
File "/mnt/c/games/Space_Sturm/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 994, in build_compiled_components
shprint(hostpython, 'setup.py', self.build_cmd, '-v',
File "/mnt/c/games/Space_Sturm/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
for line in output:
File "/home/dfg/.local/lib/python3.10/site-packages/sh.py", line 915, in next
self.wait()
File "/home/dfg/.local/lib/python3.10/site-packages/sh.py", line 845, in wait
self.handle_command_exit_code(exit_code)
File "/home/dfg/.local/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:

RAN: /mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v

STDOUT:
/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/pygame/arm64-v8a__ndk_target_21/pygame/setup.py:70: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
import distutils
running build_ext
building 'pygame.imageext' extension
creating build
creating build/temp.linux-x86_64-3.11
creating build/temp.linux-x86_64-3.11/src_c
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_image/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/imageext.c -o build/temp.linux-x86_64-3.11/src_c/imageext.o
src_c/imageext.c:118:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ext = find_extension(name);
^ ~~~~~~~~~~~~~~~~~~~~
src_c/imageext.c:107:9: warning: variable 'lock_mutex' set but not used [-Wunused-but-set-variable]
int lock_mutex = 0;
^
2 warnings generated.
creating build/lib.linux-x86_64-3.11
creating build/lib.linux-x86_64-3.11/pygame
/home/dfg/.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 -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/spacesturm/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build -lpython3.11 -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 build/temp.linux-x86_64-3.11/src_c/imageext.o -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/libs/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png/.libs -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -L/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -lSDL2 -lSDL2_image -lpng16 -ljpeg -o build/lib.linux-x86_64-3.11/pygame/imageext.cpython-311-x86_64-linux-gnu.so
building 'pygame.font' extension
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_ttf -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/font.c -o build/temp.linux-x86_64-3.11/src_c/font.o
src_c/font.c:693:19: warning: incompatible pointer types initializing 'int **' with an expression of type 'TTF_Font *' (aka 'struct _TTF_Font *') [-Wincompatible-pointer-types]
int** face_pp = font;
^ ~~~~
src_c/font.c:78:1: warning: unused function 'utf_8_needs_UCS_4' [-Wunused-function]
utf_8_needs_UCS_4(const char *str)
^
2 warnings generated.
/home/dfg/.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 -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/spacesturm/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build -lpython3.11 -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 build/temp.linux-x86_64-3.11/src_c/font.o -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/libs/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png/.libs -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -L/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -lSDL2 -lSDL2_ttf -o build/lib.linux-x86_64-3.11/pygame/font.cpython-311-x86_64-linux-gnu.so
building 'pygame.mixer' extension
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_mixer/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/mixer.c -o build/temp.linux-x86_64-3.11/src_c/mixer.o
/home/dfg/.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 -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/spacesturm/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build -lpython3.11 -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 build/temp.linux-x86_64-3.11/src_c/mixer.o -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/libs/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png/.libs -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -L/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -lSDL2 -lSDL2_mixer -o build/lib.linux-x86_64-3.11/pygame/mixer.cpython-311-x86_64-linux-gnu.so
building 'pygame.mixer_music' extension
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_mixer/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/music.c -o build/temp.linux-x86_64-3.11/src_c/music.o
src_c/music.c:307:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
namehint = dot + 1;
^ ~~~~~~~
src_c/music.c:377:5: warning: incompatible pointer types returning 'PyObject *' (aka 'struct _object *') from a function with result type 'Mix_Music *' (aka 'struct _Mix_Music *') [-Wincompatible-pointer-types]
MIXER_INIT_CHECK();
^~~~~~~~~~~~~~~~~~
src_c/mixer.h:9:16: note: expanded from macro 'MIXER_INIT_CHECK'
return RAISE(pgExc_SDLError, "mixer not initialized")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src_c/_pygame.h:253:21: note: expanded from macro 'RAISE'
#define RAISE(x, y) (PyErr_SetString((x), (y)), (PyObject *)NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/home/dfg/.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 -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/spacesturm/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build -lpython3.11 -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 build/temp.linux-x86_64-3.11/src_c/music.o -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/libs/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png/.libs -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -L/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -lSDL2 -lSDL2_mixer -o build/lib.linux-x86_64-3.11/pygame/mixer_music.cpython-311-x86_64-linux-gnu.so
building 'pygame.scrap' extension
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/scrap.c -o build/temp.linux-x86_64-3.11/src_c/scrap.o
/home/dfg/.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 -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/spacesturm/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build -lpython3.11 -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 build/temp.linux-x86_64-3.11/src_c/scrap.o -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/libs/arm64-v8a -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/png/arm64-v8a__ndk_target_21/png/.libs -L/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/jpeg/arm64-v8a__ndk_target_21/jpeg -L/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -lSDL2 -o build/lib.linux-x86_64-3.11/pygame/scrap.cpython-311-x86_64-linux-gnu.so
building 'pygame._sdl2.sdl2' extension
creating build/temp.linux-x86_64-3.11/src_c/_sdl2
/home/dfg/.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 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include -DANDROID -I/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/spacesturm/arm64-v8a/include/python3.1 -fPIC -D_REENTRANT -DSDL2 -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include -Isrc_c -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c src_c/_sdl2/sdl2.c -o build/temp.linux-x86_64-3.11/src_c/_sdl2/sdl2.o
src_c/_sdl2/sdl2.c:211:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~
1 error generated.

---
For help with compilation see:

To contribute to pygame development see:

---

error: command '/home/dfg/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit code 1


STDERR:

# Command failed: ['/usr/bin/python3.10', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=spacesturm', '--bootstrap=sdl2', '--requirements=python3,pygame', '--arch=arm64-v8a', '--arch=armeabi-v7a', '--copy-libs', '--color=always', '--storage-dir=/mnt/c/games/Space_Sturm/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=21', '--ignore-setup-py', '--debug']
# ENVIRONMENT:
# SHELL = '/bin/bash'
# WSL2_GUI_APPS_ENABLED = '1'
# WSL_DISTRO_NAME = 'Ubuntu'
# NAME = 'pc'
# PWD = '/mnt/c/games/Space_Sturm'
# LOGNAME = 'dfg'
# HOME = '/home/dfg'
# LANG = 'C.UTF-8'
# WSL_INTEROP = '/run/WSL/517_interop'
# LS_COLORS = 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:eek:r=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:eek:w=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
# WAYLAND_DISPLAY = 'wayland-0'
# LESSCLOSE = '/usr/bin/lesspipe %s %s'
# TERM = 'xterm-256color'
# LESSOPEN = '| /usr/bin/lesspipe %s'
# USER = 'dfg'
# DISPLAY = ':0'
# SHLVL = '1'
# XDG_RUNTIME_DIR = '/run/user/1000/'
# WSLENV = ''
# XDG_DATA_DIRS = '/usr/local/share:/usr/share:/var/lib/snapd/desktop'
# PATH = ('/home/dfg/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/dfg/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program '
'Files/WindowsApps/MicrosoftCorporationII.WindowsSubsystemForLinux_2.2.4.0_x64__8wekyb3d8bbwe:/mnt/c/Program '
'Files (x86)/Common '
'Files/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program '
'Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/:/mnt/c/Program '
'Files/dotnet/:/mnt/c/Program Files (x86)/Incredibuild:/mnt/c/Program Files '
'(x86)/Windows Kits/10/Windows Performance Toolkit/:/mnt/c/Program '
'Files/Microsoft SQL '
'Server/150/Tools/Binn/:/mnt/c/Users/пк/AppData/Local/Programs/Python/Python37/Scripts/:/mnt/c/Users/пк/AppData/Local/Programs/Python/Python37/:/mnt/c/Users/пк/AppData/Local/Programs/Python/Python312/Scripts/:/mnt/c/Users/пк/AppData/Local/Programs/Python/Python312/:/mnt/c/Users/пк/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/пк/.dotnet/tools:/mnt/c/Program '
'Files/JetBrains/PyCharm Community Edition '
'2024.1.4/bin:/mnt/c/Users/пк/AppData/Local/Programs/Microsoft VS '
'Code/bin:/snap/bin')
# DBUS_SESSION_BUS_ADDRESS = 'unix:path=/run/user/1000/bus'
# HOSTTYPE = 'x86_64'
# PULSE_SERVER = 'unix:/mnt/wslg/PulseServer'
# _ = '/home/dfg/.local/bin/buildozer'
# PACKAGES_PATH = '/home/dfg/.buildozer/android/packages'
# ANDROIDSDK = '/home/dfg/.buildozer/android/platform/android-sdk'
# ANDROIDNDK = '/home/dfg/.buildozer/android/platform/android-ndk-r25b'
# ANDROIDAPI = '31'
# ANDROIDMINAPI = '21'
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2
 

D3L1F3R

Red Team
20.02.2022
345
117
BIT
617
Try this one
Bash:
buildozer android debug deploy run

I need to know what you typing in terminal and what you get from the terminal
and how you do that

Btw, use [ CODE] tag when you typing some code[/CODE]
 
Последнее редактирование:

D3L1F3R

Red Team
20.02.2022
345
117
BIT
617
THANK YOU! YOU SOLVED A PROBLEM THAT I COULD NOT SOLVE FOR A MONTH!
click on this button where my answer pls
1720437484828.png
 
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!