build: Building qt package fails for HOST=i686-linux-android #23488

issue hebasto opened this issue on November 11, 2021
  1. hebasto commented at 6:27 PM on November 11, 2021: member
    $ printenv | grep -i android | sort
    ANDROID_API_LEVEL=28
    ANDROID_HOME=/home/hebasto/Android/Sdk
    ANDROID_NDK=/home/hebasto/Android/Sdk/ndk/22.1.7171670
    ANDROID_NDK_HOME=/home/hebasto/Android/Sdk/ndk/22.1.7171670
    ANDROID_SDK=/home/hebasto/Android/Sdk
    ANDROID_TOOLCHAIN_BIN=/home/hebasto/Android/Sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/linux-x86_64/bin
    
    $ make -j 9 -C depends qt_configured HOST=i686-linux-android
    make: Entering directory '/home/hebasto/GitHub/bitcoin/depends'
    Configuring qt...
    Creating qmake...
    make[1]: Entering directory '/home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/qtbase/qmake'
    make[1]: Nothing to be done for 'first'.
    make[1]: Leaving directory '/home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/qtbase/qmake'
    Command line: -bindir /home/hebasto/GitHub/bitcoin/depends/i686-linux-android/native/bin -c++std c++1z -confirm-license -hostprefix /home/hebasto/GitHub/bitcoin/depends/i686-linux-android/native -no-compile-examples -no-cups -no-egl -no-eglfs -no-freetype -no-gif -no-glib -no-icu -no-ico -no-iconv -no-kms -no-linuxfb -no-libjpeg -no-libproxy -no-libudev -no-mtdev -no-openssl -no-openvg -no-reduce-relocations -no-sctp -no-securetransport -no-sql-db2 -no-sql-ibase -no-sql-oci -no-sql-tds -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-system-proxies -no-use-gold-linker -nomake examples -nomake tests -nomake tools -opensource -pkg-config -prefix /home/hebasto/GitHub/bitcoin/depends/i686-linux-android -qt-libpng -qt-pcre -qt-harfbuzz -qt-zlib -static -v -no-feature-bearermanagement -no-feature-colordialog -no-feature-commandlineparser -no-feature-concurrent -no-feature-dial -no-feature-fontcombobox -no-feature-ftp -no-feature-http -no-feature-image_heuristic_mask -no-feature-keysequenceedit -no-feature-lcdnumber -no-feature-networkdiskcache -no-feature-networkproxy -no-feature-pdf -no-feature-printdialog -no-feature-printer -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-sessionmanager -no-feature-socks5 -no-feature-sql -no-feature-sqlmodel -no-feature-statemachine -no-feature-syntaxhighlighter -no-feature-textbrowser -no-feature-textodfwriter -no-feature-topleveldomain -no-feature-udpsocket -no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-undoview -no-feature-vnc -no-feature-wizard -no-feature-xml -release -silent -xplatform android-clang -android-sdk /home/hebasto/Android/Sdk -android-ndk /home/hebasto/Android/Sdk/ndk/22.1.7171670 -android-ndk-platform android-28 -device-option CROSS_COMPILE=i686-linux-android- -egl -qpa xcb -no-eglfs -no-dbus -opengl es2 -qt-freetype -no-fontconfig -L /home/hebasto/GitHub/bitcoin/depends/i686-linux-android/lib -I /home/hebasto/GitHub/bitcoin/depends/i686-linux-android/include -pch -no-feature-vulkan -android-arch i686
    
    This is the Qt Open Source Edition.
    
    You have already accepted the terms of the Open Source license.
    
    Running configuration tests...
    Checking for valid makespec... 
    + cd /home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/config.tests/verifyspec && /home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += static warn_off console single_arch" 'QMAKE_LIBDIR += /home/hebasto/GitHub/bitcoin/depends/i686-linux-android/lib' 'INCLUDEPATH += /home/hebasto/GitHub/bitcoin/depends/i686-linux-android/include' -early "CONFIG += cross_compile" /home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/qtbase/config.tests/verifyspec
    + cd /home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/config.tests/verifyspec && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
    > make[1]: Entering directory '/home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/config.tests/verifyspec'
    > rm -f verifyspec.o
    > rm -f *~ core *.core
    > make[1]: Leaving directory '/home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/config.tests/verifyspec'
    > make[1]: Entering directory '/home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/config.tests/verifyspec'
    > /home/hebasto/Android/Sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -c -pipe -I/home/hebasto/GitHub/bitcoin/depends/i686-linux-android/include -fno-limit-debug-info -fstack-protector-strong -DANDROID -O2 -O2 -fPIC  -I/home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/qtbase/config.tests/verifyspec -I. -I/home/hebasto/GitHub/bitcoin/depends/i686-linux-android/include -I/home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/qtbase/mkspecs/android-clang -o verifyspec.o /home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/qtbase/config.tests/verifyspec/verifyspec.cpp
    > /home/hebasto/Android/Sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -pipe -I/home/hebasto/GitHub/bitcoin/depends/i686-linux-android/include -fno-limit-debug-info -Wl,-soname,libverifyspec.so -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libverifyspec.so verifyspec.o   -L/home/hebasto/GitHub/bitcoin/depends/i686-linux-android/lib   -llog -lz -lm -ldl -lc
    > ld: error: unable to find library -llog
    > clang++: error: linker command failed with exit code 1 (use -v to see invocation)
    > make[1]: *** [Makefile:68: libverifyspec.so] Error 1
    > make[1]: Leaving directory '/home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/config.tests/verifyspec'
    Note: Also available for Linux: linux-clang linux-icc
    
    ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
    make: *** [funcs.mk:282: /home/hebasto/GitHub/bitcoin/depends/work/build/i686-linux-android/qt/5.12.11-6a7da014a45/./.stamp_configured] Error 3
    make: Leaving directory '/home/hebasto/GitHub/bitcoin/depends'
    
  2. hebasto added the label Bug on Nov 11, 2021
  3. hebasto added the label Build system on Nov 11, 2021
  4. hebasto added the label Android on Nov 11, 2021
  5. fanquake commented at 5:05 AM on December 21, 2021: member

    Closing this given we have dropped support for this host in #23744.

  6. fanquake closed this on Dec 21, 2021

  7. DrahtBot locked this on Dec 21, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-01 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me