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

buildozer 1.5 stops at harfbuzz #1772

Closed
RadoslawGlebicki opened this issue Feb 8, 2024 · 2 comments · Fixed by kivy/python-for-android#3096
Closed

buildozer 1.5 stops at harfbuzz #1772

RadoslawGlebicki opened this issue Feb 8, 2024 · 2 comments · Fixed by kivy/python-for-android#3096
Labels

Comments

@RadoslawGlebicki
Copy link

Versions

  • Python: 3.8
  • OS: fedora 39 server in VM qemu
  • Buildozer: 1.5
  • harfbuzz: 8.2.1

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 ()(FT_FaceRec_ )') 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 ()(FT_FaceRec_ )') 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 (
)(FT_FaceRec_ )') 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

Copy link

github-actions bot commented Feb 8, 2024

👋 @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.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2024
Fak3 added a commit to Fak3/python-for-android that referenced this issue Dec 14, 2024
Fak3 added a commit to Fak3/python-for-android that referenced this issue Dec 14, 2024
@Fak3
Copy link

Fak3 commented Dec 14, 2024

Fixed in kivy/python-for-android#3096

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