kivy / buildozer

Generic Python packager for Android and iOS
https://buildozer.readthedocs.io
MIT License
1.75k stars 503 forks source link

buildozer 1.5 stops at harfbuzz #1772

Closed RadoslawGlebicki closed 9 months ago

RadoslawGlebicki commented 9 months ago

Versions

Description

error:

/vmDisk/forBuildozer/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_ttf/external/harfbuzz/src/hb-ft.cc:759:73: error: cast from 'void ()(FT_Face)' (aka 'void ()(FTFaceRec )') to 'FT_Generic_Finalizer' (aka 'void ()(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] if (unlikely (!ft_face->generic.data || ft_face->generic.finalizer != (FT_Generic_Finalizer) hb_ft_face_finalize)) ^~~~~~~~~~ /vmDisk/forBuildozer/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_ttf/external/harfbuzz/src/hb.hh:263:25: note: expanded from macro 'unlikely'

define unlikely(expr) (expr)

                    ^~~~

/vmDisk/forBuildozer/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_ttf/external/harfbuzz/src/hb-ft.cc:765:34: error: cast from 'void ()(FT_Face)' (aka 'void ()(FTFaceRec )') to 'FT_Generic_Finalizer' (aka 'void ()(void )') converts to incompatible function type [-Werror,-Wcast-function-type-strict] ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize; ^~~~~~~~~~ /vmDisk/forBuildozer/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_ttf/external/harfbuzz/src/hb-ft.cc:1035:32: error: cast from 'void ()(FT_Face)' (aka 'void ()(FTFaceRec )') to 'FT_Generic_Finalizer' (aka 'void ()(void )') converts to incompatible function type [-Werror,-Wcast-function-type-strict] ft_face->generic.finalizer = (FT_Generic_Finalizer) _release_blob; ^~~~~~~~ 3 errors generated. make: *** [/vmDisk/.buildozer/android/platform/android-ndk-r26b/build/core/build-binary.mk:415: /vmDisk/forBuildozer/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/obj/local/armeabi-v7a/objs-debug/harfbuzz/src/hb-ft.o] Error 1

github-actions[bot] commented 9 months ago

👋 @RadoslawGlebicki, Sorry to hear you are having difficulties with Kivy's Buildozer; Kivy unites a number of different technologies, so building apps can be temperamental. We try to use GitHub issues only to track work for developers to do to fix bugs and add new features to Buildozer. This issue has been closed, because it doesn't describe a bug or new feature request for Buildozer. There is a mailing list and a Discord channel to support Kivy users debugging their own systems, which should be able to help. They are linked in the ReadMe. Of course, if it turns out you have stumbled over a bug in Buildozer, we do want to hear about it here. The support channels should be able to help you craft an appropriate bug report.