Long bit error, I need to use 64bit version? I don't know how

69 views
Skip to first unread message

Webber Kei

unread,
Apr 10, 2023, 5:34:55 PM4/10/23
to Kivy users support
I am trying to use buildozer to build a package including pydantic using the attached buildozer.spec file, but I get the same error as in issue 'building pydantic failed' #2661

#error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
 ^
pydantic/__init__.c:223:39: error: expression is not an integer constant expression
    enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pydantic/__init__.c:223:41: note: division by zero
    enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };

The people in the issue on github claim you can get it to build anyway by removing the 32 bit builds, but I don't know how to do that.
buildozer.spec

Robert

unread,
Apr 10, 2023, 7:52:09 PM4/10/23
to Kivy users support
I can only guess what somebody else means, but perhaps it is only build for 64 bit devices?

android.archs = arm64-v8a

Reply all
Reply to author
Forward
0 new messages