Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Following #1613

Closed
kivyApp opened this issue May 31, 2023 · 1 comment
Closed

Following #1613

kivyApp opened this issue May 31, 2023 · 1 comment
Labels

Comments

@kivyApp
Copy link

kivyApp commented May 31, 2023

�[1m[INFO]�[0m: �[1m�[32m# Prebuilding recipes�[0m�[39m
�[1m[INFO]�[0m: �[1m�[32mPrebuilding freetype for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: freetype has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mPrebuilding hostpython3 for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: hostpython3 has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mApplying patches for hostpython3[armeabi-v7a]�[0m�[39m
�[1m[INFO]�[0m: �[1m�[32mhostpython3 already patched, skipping�[0m�[39m
�[1m[INFO]�[0m: �[1m�[32mPrebuilding jpeg for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: jpeg has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mPrebuilding libffi for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: libffi has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mApplying patches for libffi[armeabi-v7a]�[0m�[39m
�[1m[INFO]�[0m: �[1m�[32mlibffi already patched, skipping�[0m�[39m
�[1m[INFO]�[0m: �[1m�[32mPrebuilding openssl for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: openssl has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mPrebuilding png for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: png has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mPrebuilding sdl2_image for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: sdl2_image has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mApplying patches for sdl2_image[armeabi-v7a]�[0m�[39m
�[1m[INFO]�[0m: Applying patch enable-webp.patch
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running patch -t -d /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_image -p1 -i /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/sdl2_image/enable-webp.patch�[0m
�[1m�[90m[DEBUG]�[39m�[0m: patching file Android.mk
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running touch /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_image/.patched�[0m
�[1m[INFO]�[0m: �[1m�[32mPrebuilding sdl2_mixer for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: sdl2_mixer has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mPrebuilding sdl2_ttf for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: sdl2_ttf has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mPrebuilding sqlite3 for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: sqlite3 has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mPrebuilding python3 for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: python3 has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mApplying patches for python3[armeabi-v7a]�[0m�[39m
�[1m[INFO]�[0m: Applying patch patches/pyconfig_detection.patch
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running patch -t -d /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3 -p1 -i /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/python3/patches/pyconfig_detection.patch�[0m
�[1m�[90m[DEBUG]�[39m�[0m: patching file Lib/site.py
�[1m�[90m[DEBUG]�[39m�[0m: Hunk #1 succeeded at 524 (offset 37 lines).
�[1m[INFO]�[0m: Applying patch patches/reproducible-buildinfo.diff
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running patch -t -d /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3 -p1 -i /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/python3/patches/reproducible-buildinfo.diff�[0m
�[1m�[90m[DEBUG]�[39m�[0m: patching file Makefile.pre.in
�[1m�[90m[DEBUG]�[39m�[0m: Hunk #1 succeeded at 787 (offset 2 lines).
�[1m[INFO]�[0m: Applying patch patches/py3.8.1.patch
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running patch -t -d /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3 -p1 -i /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/python3/patches/py3.8.1.patch�[0m
�[1m�[90m[DEBUG]�[39m�[0m: patching file Lib/ctypes/util.py
�[1m�[90m[DEBUG]�[39m�[0m: patching file configure
�[1m�[90m[DEBUG]�[39m�[0m: Reversed (or previously applied) patch detected! Assuming -R.
�[1m�[90m[DEBUG]�[39m�[0m: Hunk #1 succeeded at 19388 (offset 715 lines).
�[1m�[90m[DEBUG]�[39m�[0m: patching file setup.py
�[1m�[90m[DEBUG]�[39m�[0m: Hunk #1 succeeded at 1696 (offset 195 lines).
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running touch /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/.patched�[0m
�[1m[INFO]�[0m: �[1m�[32mPrebuilding sdl2 for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: sdl2 has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mApplying patches for sdl2[armeabi-v7a]�[0m�[39m
�[1m[INFO]�[0m: Applying patch sdl-orientation-pr-6984.diff
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running patch -t -d /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL -p1 -i /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/sdl2/sdl-orientation-pr-6984.diff�[0m
�[1m�[90m[DEBUG]�[39m�[0m: patching file android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
�[1m�[90m[DEBUG]�[39m�[0m: Hunk #1 succeeded at 969 (offset -2 lines).
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running touch /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/.patched�[0m
�[1m[INFO]�[0m: �[1m�[32mPrebuilding setuptools for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: setuptools has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mPrebuilding Pillow for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: Pillow has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mApplying patches for Pillow[armeabi-v7a]�[0m�[39m
�[1m[INFO]�[0m: Applying patch patches/fix-setup.patch
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running patch -t -d /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/Pillow/armeabi-v7a__ndk_target_21/Pillow -p1 -i /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/Pillow/patches/fix-setup.patch�[0m
�[1m�[90m[DEBUG]�[39m�[0m: patching file setup.py
�[1m�[90m[DEBUG]�[39m�[0m: patch unexpectedly ends in middle of line
�[1m�[90m[DEBUG]�[39m�[0m: Hunk #3 succeeded at 431 with fuzz 1.
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running touch /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/Pillow/armeabi-v7a__ndk_target_21/Pillow/.patched�[0m
�[1m[INFO]�[0m: �[1m�[32mPrebuilding six for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: six has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mPrebuilding pyjnius for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: pyjnius has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mApplying patches for pyjnius[armeabi-v7a]�[0m�[39m
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running touch /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius/.patched�[0m
�[1m[INFO]�[0m: �[1m�[32mPrebuilding android for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: android has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[36m-> directory context /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android�[39m
�[1m[INFO]�[0m: �[36m<- directory context /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android�[39m
�[1m[INFO]�[0m: �[1m�[32mPrebuilding kivy for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: kivy has no prebuild_armeabi_v7a, skipping
�[1m[INFO]�[0m: �[1m�[32mApplying patches for kivy[armeabi-v7a]�[0m�[39m
�[1m[INFO]�[0m: �[36m-> directory context /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy/kivy�[39m
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running python3 -c import _version; print(_version.version)�[0m
�[1m�[90m[DEBUG]�[39m�[0m: 2.1.0
�[1m[INFO]�[0m: �[36m<- directory context /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android�[39m
�[1m[INFO]�[0m: Applying patch sdl-gl-swapwindow-nogil.patch
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running patch -t -d /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy -p1 -i /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/kivy/sdl-gl-swapwindow-nogil.patch�[0m
�[1m�[90m[DEBUG]�[39m�[0m: patching file kivy/core/window/_window_sdl2.pyx
�[1m�[90m[DEBUG]�[39m�[0m: patching file kivy/lib/sdl2.pxi
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running touch /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy/.patched�[0m
�[1m[INFO]�[0m: �[1m�[32m# Building recipes�[0m�[39m
�[1m[INFO]�[0m: �[1m�[32mBuilding freetype for armeabi-v7a�[0m�[39m
�[1m[INFO]�[0m: Build freetype (without harfbuzz)
�[1m[INFO]�[0m: Configure args are:
---disable-static
---enable-shared
---host=arm-linux-androideabi
---with-harfbuzz=no
---prefix=/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype
---without-bzip2
---with-zlib=yes
---with-png=no
�[1m[INFO]�[0m: �[36m-> directory context /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype�[39m
�[1m�[90m[DEBUG]�[39m�[0m: �[90m->�[0m running configure --disable-static --enable-shared --host=arm-linux-androideabi --with-harfbuzz=no --prefix=/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype --without-bzip2 --with-zlib=yes --with-png=no�[0m
�[1m�[90m[DEBUG]�[39m�[0m:
�[1m�[90m[DEBUG]�[39m�[0m: FreeType build system -- automatic system detection
�[1m�[90m[DEBUG]�[39m�[0m:
�[1m�[90m[DEBUG]�[39m�[0m: The following settings are used:
�[1m�[90m[DEBUG]�[39m�[0m:
�[1m�[90m[DEBUG]�[39m�[0m: platform unix
�[1m�[90m[DEBUG]�[39m�[0m: compiler /home/victor/.buildozer/android/platform/android-ndk-r25b/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
�[1m�[90m[DEBUG]�[39m�[0m: configuration directory ./builds/unix
�[1m�[90m[DEBUG]�[39m�[0m: configuration rules ./builds/unix/unix.mk
�[1m�[90m[DEBUG]�[39m�[0m:
�[1m�[90m[DEBUG]�[39m�[0m: If this does not correspond to your system or settings please remove the file
�[1m�[90m[DEBUG]�[39m�[0m: config.mk' from this directory then read the INSTALL file for help. �[1m�[90m[DEBUG]�[39m�[0m: �[1m�[90m[DEBUG]�[39m�[0m: Otherwise, simply type make -j12' again to build the library,
�[1m�[90m[DEBUG]�[39m�[0m: or make -j12 refdoc' to build the API reference (this needs python >= 2.6). �[1m�[90m[DEBUG]�[39m�[0m: �[1m�[90m[DEBUG]�[39m�[0m: Generating modules list in ./objs/ftmodule.h... �[1m�[90m[DEBUG]�[39m�[0m: done. �[1m�[90m[DEBUG]�[39m�[0m: * module: truetype (Windows/Mac font files with extension *.ttf or *.ttc) �[1m�[90m[DEBUG]�[39m�[0m: * module: type1 (Postscript font files with extension *.pfa or *.pfb) �[1m�[90m[DEBUG]�[39m�[0m: * module: cff (OpenType fonts with extension *.otf) �[1m�[90m[DEBUG]�[39m�[0m: * module: cid (Postscript CID-keyed fonts, no known extension) �[1m�[90m[DEBUG]�[39m�[0m: * module: pfr (PFR/TrueDoc font files with extension *.pfr) �[1m�[90m[DEBUG]�[39m�[0m: * module: type42 (Type 42 font files with no known extension) �[1m�[90m[DEBUG]�[39m�[0m: * module: winfnt (Windows bitmap fonts with extension *.fnt or *.fon) �[1m�[90m[DEBUG]�[39m�[0m: * module: pcf (pcf bitmap fonts) �[1m�[90m[DEBUG]�[39m�[0m: * module: bdf (bdf bitmap fonts) �[1m�[90m[DEBUG]�[39m�[0m: * module: sfnt (helper module for TrueType & OpenType formats) �[1m�[90m[DEBUG]�[39m�[0m: * module: autofit (automatic hinting module) �[1m�[90m[DEBUG]�[39m�[0m: * module: pshinter (Postscript hinter module) �[1m�[90m[DEBUG]�[39m�[0m: * module: raster (monochrome bitmap renderer) �[1m�[90m[DEBUG]�[39m�[0m: * module: smooth (anti-aliased bitmap renderer) �[1m�[90m[DEBUG]�[39m�[0m: * module: smooth (anti-aliased bitmap renderer for LCDs) �[1m�[90m[DEBUG]�[39m�[0m: * module: smooth (anti-aliased bitmap renderer for vertical LCDs) �[1m�[90m[DEBUG]�[39m�[0m: * module: psaux (Postscript Type 1 & Type 2 helper module) �[1m�[90m[DEBUG]�[39m�[0m: * module: psnames (Postscript & Unicode Glyph name handling) �[1m�[90m[DEBUG]�[39m�[0m: cd builds/unix; \ �[1m�[90m[DEBUG]�[39m�[0m: ./configure '--disable-static' '--enable-shared' '--host=arm-linux-androideabi' '--with-harfbuzz=no' '--prefix=/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype' '--without-bzip2' '--with-zlib=yes' '--with-png=no' �[1m�[90m[DEBUG]�[39m�[0m: checking build system type... x86_64-pc-linux-gnu �[1m�[90m[DEBUG]�[39m�[0m: checking host system type... arm-unknown-linux-androideabi �[1m�[90m[DEBUG]�[39m�[0m: checking for arm-linux-androideabi-gcc... /home/victor/.buildozer/android/platform/android-ndk-r25b/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 �[1m�[90m[DEBUG]�[39m�[0m: checking whether the C compiler works... no �[1m�[90m[DEBUG]�[39m�[0m: configure: error: in /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype/builds/unix':
�[1m�[90m[DEBUG]�[39m�[0m: configure: error: C compiler cannot create executables
�[1m�[90m[DEBUG]�[39m�[0m: See `config.log' for more details
�[1m�[90m[DEBUG]�[39m�[0m: make: *** [builds/unix/detect.mk:91: setup] Error 77
Exception in thread background thread for pid 2239:
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/victor/.local/lib/python3.10/site-packages/sh.py", line 1641, in wrap
fn(*rgs, **kwargs)
File "/home/victor/.local/lib/python3.10/site-packages/sh.py", line 2569, in background_thread
handle_exit_code(exit_code)
File "/home/victor/.local/lib/python3.10/site-packages/sh.py", line 2269, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/victor/.local/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_2:

RAN: /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype/configure --disable-static --enable-shared --host=arm-linux-androideabi --with-harfbuzz=no --prefix=/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype --without-bzip2 --with-zlib=yes --with-png=no

STDOUT:

FreeType build system -- automatic system detection

The following settings are used:

platform unix
compiler /home/victor/.buildozer/android/platform/android-ndk-r25b/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
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk

If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type make -j12' again to build the library, or make -j12 refdoc' to build the API reference (this needs python >= 2.6).

Generating modules list in ./objs/ftmodule.h...
done.

  • module: truetype (Windows/Mac font files with extension *.ttf or *.ttc)

  • module: type1 (Postscript font files with extension *.pfa or *.pfb)

  • module: cff (OpenType fonts with extension *.otf)

  • module: cid (Postscript CID-keyed fonts, no known extension)

  • module: pfr (PFR/TrueDoc font files with extension *.pfr)

  • module: type42 (Type 42 font files with no known extension)

  • module: winfnt (Windows bitmap fonts with extension *.fnt or *.fon)

  • module: pcf (pcf bitmap fonts)

  • module: bdf (bdf bitmap fonts)

  • module: sfnt (helper module for TrueType & OpenType formats)

  • module: autofit (automatic hinting module)

  • module: pshinter (Postscript hinter module)

  • module: raster (monochrome bitmap renderer)

  • module: smooth (anti-aliased bitmap renderer)

  • module: smooth (anti-aliased bitmap renderer for LCDs)

  • module: smooth (anti-aliased bitmap renderer for vertical LCDs)

  • module: psaux (Postscript Type 1 & Type 2 helper module)

  • module: psnames (Postscript & Unicode Glyph name handling)
    cd builds/unix;
    ./configure '--disable-static' '--enable-shared' '--host=arm-linux-androideabi' '--with-harfbuzz=no' '--prefix=/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype' '--without-bzip2' '--with-zlib=yes' '--with-png=no'
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... arm-unknown-linux-androideabi
    checking for arm-linux-androideabi-gcc... /home/victor/.buildozer/android/platform/android-ndk-r25b/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
    checking whether the C compiler works... no
    configure: error: in /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype/builds/unix': configure: error: C compiler cannot create executables See config.log' for more details
    make: *** [builds/unix/detect.mk:91: setup] Error 77

    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/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1312, in
main()
File "/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 734, in init
getattr(self, command)(args)
File "/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 153, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 212, in build_dist_from_args
build_recipes(build_order, python_modules, ctx,
File "/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 504, in build_recipes
recipe.build_arch(arch)
File "/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/freetype/init.py", line 114, in build_arch
shprint(configure, *config_args, _env=env)
File "/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
for line in output:
File "/home/victor/.local/lib/python3.10/site-packages/sh.py", line 915, in next
self.wait()
File "/home/victor/.local/lib/python3.10/site-packages/sh.py", line 845, in wait
self.handle_command_exit_code(exit_code)
File "/home/victor/.local/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_2:

RAN: /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype/configure --disable-static --enable-shared --host=arm-linux-androideabi --with-harfbuzz=no --prefix=/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype --without-bzip2 --with-zlib=yes --with-png=no

STDOUT:

FreeType build system -- automatic system detection

The following settings are used:

platform unix
compiler /home/victor/.buildozer/android/platform/android-ndk-r25b/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
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk

If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type make -j12' again to build the library, or make -j12 refdoc' to build the API reference (this needs python >= 2.6).

Generating modules list in ./objs/ftmodule.h...
done.

  • module: truetype (Windows/Mac font files with extension *.ttf or *.ttc)

  • module: type1 (Postscript font files with extension *.pfa or *.pfb)

  • module: cff (OpenType fonts with extension *.otf)

  • module: cid (Postscript CID-keyed fonts, no known extension)

  • module: pfr (PFR/TrueDoc font files with extension *.pfr)

  • module: type42 (Type 42 font files with no known extension)

  • module: winfnt (Windows bitmap fonts with extension *.fnt or *.fon)

  • module: pcf (pcf bitmap fonts)

  • module: bdf (bdf bitmap fonts)

  • module: sfnt (helper module for TrueType & OpenType formats)

  • module: autofit (automatic hinting module)

  • module: pshinter (Postscript hinter module)

  • module: raster (monochrome bitmap renderer)

  • module: smooth (anti-aliased bitmap renderer)

  • module: smooth (anti-aliased bitmap renderer for LCDs)

  • module: smooth (anti-aliased bitmap renderer for vertical LCDs)

  • module: psaux (Postscript Type 1 & Type 2 helper module)

  • module: psnames (Postscript & Unicode Glyph name handling)
    cd builds/unix;
    ./configure '--disable-static' '--enable-shared' '--host=arm-linux-androideabi' '--with-harfbuzz=no' '--prefix=/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype' '--without-bzip2' '--with-zlib=yes' '--with-png=no'
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... arm-unknown-linux-androideabi
    checking for arm-linux-androideabi-gcc... /home/victor/.buildozer/android/platform/android-ndk-r25b/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
    checking whether the C compiler works... no
    configure: error: in /mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/freetype/armeabi-v7a__ndk_target_21/freetype/builds/unix': configure: error: C compiler cannot create executables See config.log' for more details
    make: *** [builds/unix/detect.mk:91: setup] Error 77

    STDERR:

Command failed: ['/usr/bin/python3', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=artiTogo', '--bootstrap=sdl2', '--requirements=python3,kivy==2.1.0,kivymd==1.1.1,pillow', '--arch=arm64-v8a', '--arch=armeabi-v7a', '--copy-libs', '--color=always', '--storage-dir=/mnt/c/Users/NABLI/Documents/andro/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=21', '--ignore-setup-py', '--debug']

ENVIRONMENT:

SHELL = '/bin/bash'

WSL_DISTRO_NAME = 'Ubuntu'

NAME = 'DESKTOP-CHKMVA1'

PWD = '/mnt/c/Users/NABLI/Documents/andro'

LOGNAME = 'victor'

HOME = '/home/victor'

LANG = 'C.UTF-8'

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:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=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:'

LESSCLOSE = '/usr/bin/lesspipe %s %s'

TERM = 'xterm-256color'

LESSOPEN = '| /usr/bin/lesspipe %s'

USER = 'victor'

SHLVL = '1'

WSLENV = ''

XDG_DATA_DIRS = '/usr/local/share:/usr/share:/var/lib/snapd/desktop'

PATH = ('/home/victor/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/victor/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program '

'Files/WindowsApps/CanonicalGroupLimited.Ubuntu_2204.2.33.0_x64__79rhkp1fndgsc:/mnt/c/Program '
'Files/Microsoft/jdk-11.0.16.101-hotspot/bin:/mnt/c/Program Files/Common '
'Files/Oracle/Java/javapath:/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/Java/jdk-19/bin:/mnt/c/Program '
"Files/dotnet/:/mnt/c/Users/NABLI/PycharmProjects/buildozer:/mnt/e/DEVELOPER'S "
'LIFE/FirstProjet:/mnt/c/Users/NABLI/AppData/Local/Programs/Python/Python310/Scripts:/mnt/c/Users/NABLI/AppData/Local/Android/Sdk/platform-tools:/mnt/c/Program '
'Files/Git/cmd:/mnt/c/Users/NABLI/AppData/Local/Programs/Python/Python310/Scripts/:/mnt/c/Users/NABLI/AppData/Local/Programs/Python/Python310/:/mnt/c/Users/NABLI/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/NABLI/AppData/Local/Programs/Microsoft '
'VS Code/bin:/mnt/c/Program Files/JetBrains/PyCharm Community Edition '
'2022.3.2/bin:/mnt/c/Users/NABLI/.dotnet/tools:/snap/bin')

HOSTTYPE = 'x86_64'

_ = '/usr/local/bin/buildozer'

OLDPWD = '/home/victor'

PACKAGES_PATH = '/home/victor/.buildozer/android/packages'

ANDROIDSDK = '/home/victor/.buildozer/android/platform/android-sdk'

ANDROIDNDK = '/home/victor/.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

@misl6 misl6 added the support label May 31, 2023
@github-actions
Copy link

👋 @kivyApp, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants