Re: Error building Android sysroot with 5.14
Phil Thompson <[email protected]> Tue, 05 May 2020 08:53:55 +0100
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
On 04/05/2020 23:28, Kálmán Viktor wrote: > Hello, > > I run into this error while trying to build android-64 sysroot with Qt > 5.14.2 > > Running '/myhome/Qt/5.14.2/android/bin/qmake > SYSROOT=/myhome/pyqt-android-build/build/sysroot-android-64' > Info: creating stash file > /myhome/pyqt-android-build/build/sysroot-android-64/build/Python-3.7.7/.qmake.stash > WARNING: Targets of builds 'Armeabi-v7a' and 'Arm64-v8a' conflict: > libpython3.7.a. > Running 'make' > make -f Makefile.Armeabi-v7a all > make[1]: Entering directory > '/myhome/pyqt-android-build/build/sysroot-android-64/build/Python-3.7.7' > /myhome/Android/android-ndk-r20b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang > -c -target armv7a-linux-androideabi28 -fno-limit-debug-info -fPIC > -fstack-protector-strong -DANDROID -fwrapv -std=c99 -O3 -Oz -fPIC > -DNDEBUG > -DPy_BUILD_CORE -DVERSION=\"3.7\" -DVPATH=\".\" -DPREFIX=\"/\" > -DEXEC_PREFIX=\"/\" -DPYTHONPATH=\"/lib/python3.7\" > -DPLATFORM=\"linux\" > -DMULTIARCH=\"android\" -DABIFLAGS=\"m\" -I. -I. -IInclude > -I/myhome/Qt/5.14.2/android/mkspecs/android-clang -o > .obj/getbuildinfo.o > Modules/getbuildinfo.c > In file included from Modules/getbuildinfo.c:1: > In file included from Include/Python.h:63: > Include/pyport.h:699:2: error: "LONG_BIT definition appears wrong for > platform (bad gcc/glibc config?)." > #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc > config?)." > ^ > 1 error generated. > make[1]: *** [Makefile.Armeabi-v7a:776: .obj/getbuildinfo.o] Error 1 > > > 5.13.2 Qt with the same Android NDK and SDK worked okay (well, it built > properly but crashed upon start). > > What I noticed is that on Qt 5.14.2, there is no android_arm64-v8a > folder > in the Qt dir only an android one, might be related? > > My versions: > pyqtdeploy==2.5.1 > Python 3.7.7 > android-ndk-r20b > android-28 platform pyqtdeploy doesn't support Qt v5.14 yet. Phil