Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-118492

SSL problem when configuring for Android

    XMLWordPrintable

Details

    • Android

    Description

      $ ../qt6/configure -developer-build -no-warnings-are-errors -platform android-clang -qt-host-path ../qt6-dbg/qtbase -android-sdk ~/Android/Sdk -android-ndk ~/Android/Sdk/ndk/25.1.8937393 -submodules qtbase,qtshadertools,qtdeclarative
      
      + mkdir -p qtbase
      + cd qtbase
      + exec /home/rutledge/dev/qt6/qtbase/configure -top-level -developer-build -no-warnings-are-errors -platform android-clang -qt-host-path ../qt6-dbg/qtbase -android-sdk /home/rutledge/Android/Sdk -android-ndk /home/rutledge/Android/Sdk/ndk/25.1.8937393 -submodules qtbase,qtshadertools,qtdeclarative
      '/usr/bin/cmake' '-DQT_HOST_PATH=../qt6-dbg/qtbase' '-DQT_BUILD_SUBMODULES=qtbase;qtshadertools;qtdeclarative' '-DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE' '-DWARNINGS_ARE_ERRORS=OFF' '-DQT_QMAKE_TARGET_MKSPEC=android-clang' '-DANDROID_SDK_ROOT=/home/rutledge/Android/Sdk' '-DANDROID_NDK_ROOT=/home/rutledge/Android/Sdk/ndk/25.1.8937393' '-DINPUT_developer_build=yes' '-G' 'Ninja' '/home/rutledge/dev/qt6'
      -- Android build detected
      -- Checking dependencies of submodule 'qtbase'
      -- Checking dependencies of submodule 'qtshadertools'
      -- Checking dependencies of submodule 'qtimageformats'
      -- Checking dependencies of submodule 'qtlanguageserver'
      -- Checking dependencies of submodule 'qtsvg'
      -- Checking dependencies of submodule 'qtdeclarative'
      -- Configuring submodule 'qtbase'
      -- [QtBase] CMAKE_BUILD_TYPE was set to: 'Debug'
      -- [QtBase] Using Android SDK API android-34 from /home/rutledge/Android/Sdk/platforms
      -- [QtBase] Checking for feature set changes
      -- [QtBase] CMAKE_STRIP (original): /home/rutledge/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip
      -- [QtBase] Building architecture extraction project with the following CMake arguments:
                  -DANDROID_ABI=armeabi-v7a
                  -DANDROID_ARM_MODE=thumb
                  -DANDROID_ARM_NEON=TRUE
                  -DANDROID_PIE=TRUE
                  -DANDROID_PLATFORM=android-23
                  -DANDROID_STL=c++_shared
                  -DANDROID_TOOLCHAIN=clang
                  -DCMAKE_C_FLAGS=-g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security 
                  -DCMAKE_C_FLAGS_DEBUG=-fno-limit-debug-info 
                  -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -Oz
                  -DCMAKE_C_FLAGS_RELWITHDEBINFO=-g -DNDEBUG -Oz
                  -DCMAKE_CXX_FLAGS=-g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  
                  -DCMAKE_CXX_FLAGS_DEBUG=-fno-limit-debug-info 
                  -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -Oz
                  -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-g -DNDEBUG -Oz
                  -DCMAKE_OBJCOPY=/home/rutledge/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-objcopy
                  -DCMAKE_EXE_LINKER_FLAGS=-Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Wl,--gc-sections -Wl,--no-undefined -Qunused-arguments -Wl,--gc-sections 
                  -DCMAKE_TOOLCHAIN_FILE=/home/rutledge/Android/Sdk/ndk/25.1.8937393/build/cmake/android.toolchain.cmake
                  -DCMAKE_C_STANDARD=11
                  -DCMAKE_C_STANDARD_REQUIRED=ON
                  -DCMAKE_CXX_STANDARD=17
                  -DCMAKE_CXX_STANDARD_REQUIRED=ON
                  -DCMAKE_MODULE_PATH:STRING=/home/rutledge/dev/qt6/qtbase/cmake/platforms
      -- [QtBase] Extracting architecture info from /home/rutledge/dev/qt6-android/qtbase/config.tests/arch/architecture_test.
      -- [QtBase] CMAKE_VERSION: "3.27.7"
      -- [QtBase] CMAKE_HOST_SYSTEM: "Linux-6.5.6-arch2-1"
      -- [QtBase] CMAKE_HOST_SYSTEM_NAME: "Linux"
      -- [QtBase] CMAKE_HOST_SYSTEM_VERSION: "6.5.6-arch2-1"
      -- [QtBase] CMAKE_HOST_SYSTEM_PROCESSOR: "x86_64"
      -- [QtBase] CMAKE_SYSTEM: "Android"
      -- [QtBase] CMAKE_SYSTEM_NAME: "Android"
      -- [QtBase] CMAKE_SYSTEM_VERSION: "1"
      -- [QtBase] CMAKE_SYSTEM_PROCESSOR: "armv7-a"
      -- [QtBase] CMAKE_CROSSCOMPILING: "TRUE"
      -- [QtBase] CMAKE_INSTALL_PREFIX: "/home/rutledge/dev/qt6-android/qtbase"
      -- [QtBase] CMAKE_STAGING_PREFIX: ""
      -- [QtBase] QT_BUILD_DIR: "/home/rutledge/dev/qt6-android/qtbase"
      -- [QtBase] QT_INSTALL_DIR: "/home/rutledge/dev/qt6-android/qtbase"
      -- [QtBase] QT_WILL_INSTALL: "OFF"
      -- [QtBase] CMAKE_C_COMPILER: "/home/rutledge/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/clang" (14.0.6)
      -- [QtBase] CMAKE_CXX_COMPILER: "/home/rutledge/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++" (14.0.6)
      -- [QtBase] ANDROID_TOOLCHAIN: "clang"
      -- [QtBase] ANDROID_NDK: "/home/rutledge/Android/Sdk/ndk/25.1.8937393"
      -- [QtBase] ANDROID_ABI: "armeabi-v7a"
      -- [QtBase] ANDROID_PLATFORM: "android-23"
      -- [QtBase] ANDROID_NATIVE_API_LEVEL: "23"
      -- [QtBase] ANDROID_STL: "c++_shared"
      -- [QtBase] ANDROID_PIE: "TRUE"
      -- [QtBase] ANDROID_CPP_FEATURES: ""
      -- [QtBase] ANDROID_ALLOW_UNDEFINED_SYMBOLS: ""
      -- [QtBase] ANDROID_ARM_MODE: "thumb"
      -- [QtBase] ANDROID_ARM_NEON: "TRUE"
      -- [QtBase] ANDROID_DISABLE_FORMAT_STRING_CHECKS: ""
      -- [QtBase] ANDROID_LLVM_TRIPLE: "armv7-none-linux-androideabi23"
      -- [QtBase] Searching for tool 'Qt6::syncqt' in package Qt6CoreTools.
      -- [QtBase] Qt6::syncqt was found at /home/rutledge/dev/qt6-dbg/qtbase/./libexec/syncqt using package Qt6CoreTools.
      -- [QtBase] Tool 'Qt6::moc' was found at /home/rutledge/dev/qt6-dbg/qtbase/libexec/moc.
      -- [QtBase] Tool 'Qt6::rcc' was found at /home/rutledge/dev/qt6-dbg/qtbase/libexec/rcc.
      -- [QtBase] Tool 'Qt6::tracepointgen' was found at /home/rutledge/dev/qt6-dbg/qtbase/libexec/tracepointgen.
      -- [QtBase] Tool 'Qt6::tracegen' was found at /home/rutledge/dev/qt6-dbg/qtbase/libexec/tracegen.
      -- [QtBase] Tool 'Qt6::cmake_automoc_parser' was found at /home/rutledge/dev/qt6-dbg/qtbase/libexec/cmake_automoc_parser.
      -- [QtBase] Using Qt bundled PCRE2.
      -- [QtBase] Using system ZLIB.
      -- [QtBase] Searching for tool 'Qt6::uic' in package Qt6WidgetsTools.
      -- [QtBase] Qt6::uic was found at /home/rutledge/dev/qt6-dbg/qtbase/libexec/uic using package Qt6WidgetsTools.
      -- [QtBase] Tool 'Qt6::qlalr' was found at /home/rutledge/dev/qt6-dbg/qtbase/libexec/qlalr.
      -- [QtBase] Tool 'Qt6::qvkgen' was found at /home/rutledge/dev/qt6-dbg/qtbase/libexec/qvkgen.
      -- [QtBase] Tool 'Qt6::qtpaths' was found at /home/rutledge/dev/qt6-dbg/qtbase/bin/qtpaths.
      -- [QtBase] Using Qt bundled Harfbuzz.
      -- [QtBase] Using Qt bundled PNG.
      -- [QtBase] Using Qt bundled Freetype.
      -- [QtBase] Using Qt bundled Jpeg.
      -- [QtBase] Generated QtModulePlugins.cmake files for the following modules: Sql;Network;Gui;Widgets
      -- Configuring submodule 'qtshadertools'
      -- [QtShaderTools] CMAKE_BUILD_TYPE was set to: 'Debug'
      -- [QtShaderTools] Using Android SDK API android-34 from /home/rutledge/Android/Sdk/platforms
      -- [QtShaderTools] CMAKE_STRIP (original): /home/rutledge/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip
      -- [QtShaderTools] Searching for tool 'Qt6::qsb' in package Qt6ShaderToolsTools.
      -- [QtShaderTools] Qt6::qsb was found at /home/rutledge/dev/qt6-dbg/qtbase/bin/qsb using package Qt6ShaderToolsTools.
      -- Configuring submodule 'qtimageformats'
      -- [QtImageFormats] CMAKE_BUILD_TYPE was set to: 'Debug'
      -- [QtImageFormats] Using Android SDK API android-34 from /home/rutledge/Android/Sdk/platforms
      -- [QtImageFormats] CMAKE_STRIP (original): /home/rutledge/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip
      -- Configuring submodule 'qtlanguageserver'
      -- [QtLanguageServer] CMAKE_BUILD_TYPE was set to: 'Debug'
      -- [QtLanguageServer] Using Android SDK API android-34 from /home/rutledge/Android/Sdk/platforms
      -- [QtLanguageServer] CMAKE_STRIP (original): /home/rutledge/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip
      -- Configuring submodule 'qtsvg'
      -- [QtSvg] CMAKE_BUILD_TYPE was set to: 'Debug'
      -- [QtSvg] Using Android SDK API android-34 from /home/rutledge/Android/Sdk/platforms
      -- [QtSvg] CMAKE_STRIP (original): /home/rutledge/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip
      -- Configuring submodule 'qtdeclarative'
      -- [QtDeclarative] CMAKE_BUILD_TYPE was set to: 'Debug'
      -- [QtDeclarative] Using Android SDK API android-34 from /home/rutledge/Android/Sdk/platforms
      -- [QtDeclarative] CMAKE_STRIP (original): /home/rutledge/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip
      CMake Error at qtbase/cmake/QtBuildInformation.cmake:515 (message):
        Feature "qml_ssl": Forcing to "ON" breaks its condition:
      
            QT_FEATURE_ssl
      
        Condition values dump:
      
            QT_FEATURE_ssl = "OFF"
      
      Call Stack (most recent call first):
        qtbase/cmake/QtFeature.cmake:323 (qt_configure_add_report_error)
        qtbase/cmake/QtFeature.cmake:443 (qt_feature_check_and_save_internal_value)
        qtbase/cmake/QtFeature.cmake:712 (qt_evaluate_feature)
        qtbase/cmake/QtFeature.cmake:681 (qt_feature_module_end)
        qtdeclarative/src/qml/CMakeLists.txt:13 (qt_feature_evaluate_features)
      
      
      -- [QtDeclarative] Searching for tool 'Qt6::qmlcachegen' in package Qt6QmlTools.
      -- [QtDeclarative] Qt6::qmlcachegen was found at /home/rutledge/dev/qt6-dbg/qtbase/libexec/qmlcachegen using package Qt6QmlTools.
      -- [QtDeclarative] Tool 'Qt6::qmldom' was found at /home/rutledge/dev/qt6-dbg/qtbase/bin/qmldom.
      -- [QtDeclarative] Tool 'Qt6::qmllint' was found at /home/rutledge/dev/qt6-dbg/qtbase/bin/qmllint.
      -- [QtDeclarative] Tool 'Qt6::qmltc' was found at /home/rutledge/dev/qt6-dbg/qtbase/bin/qmltc.
      -- [QtDeclarative] Tool 'Qt6::qmltyperegistrar' was found at /home/rutledge/dev/qt6-dbg/qtbase/libexec/qmltyperegistrar.
      -- [QtDeclarative] Tool 'Qt6::qmlimportscanner' was found at /home/rutledge/dev/qt6-dbg/qtbase/libexec/qmlimportscanner.
      -- [QtDeclarative] Tool 'Qt6::qmlformat' was found at /home/rutledge/dev/qt6-dbg/qtbase/bin/qmlformat.
      -- [QtDeclarative] Generated QtModulePlugins.cmake files for the following modules: Qml;QmlCompiler
      -- The following packages have been found:
      
       * QtBuildInternals
       * ZLIB (required version >= 1.0.8)
       * WrapSystemZLIB (required version >= 1.0.8)
       * WrapPCRE2
       * WrapZLIB
       * WrapRt
       * WrapHarfbuzz
       * WrapPNG
       * WrapFreetype
       * WrapJpeg
       * Qt6Xml (required version >= 6.7.0)
       * Threads
       * Qt6BuildInternals (required version >= 6.7.0)
       * WrapAtomic
       * Qt6CoreTools (required version >= 6.7.0)
       * Qt6Core (required version >= 6.7.0)
       * EGL, A platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG., <https://www.khronos.org/egl/>
       * GLESv2
       * Qt6Gui (required version >= 6.7.0)
       * Qt6Network (required version >= 6.7.0)
       * Qt6WidgetsTools (required version >= 6.7.0)
       * Qt6Widgets (required version >= 6.7.0)
       * WrapVulkanHeaders
       * Qt6OpenGL (required version >= 6.7.0)
       * Qt6OpenGLWidgets (required version >= 6.7.0)
       * Qt6Sql (required version >= 6.7.0)
       * Qt6Concurrent (required version >= 6.7.0)
       * Qt6Test (required version >= 6.7.0)
       * Qt6LanguageServerPrivate (required version >= 6.7.0)
       * Qt6LinguistTools (required version >= 6.7.0)
       * Qt6Svg (required version >= 6.7.0)
       * Qt6ShaderToolsTools (required version >= 6.7.0)
       * Qt6ShaderTools (required version >= 6.7.0)
       * Java (required version >= 1.8)
       * Python
       * Qt6HostInfo
       * Qt6 (required version >= 6.7.0)
       * Qt6QmlTools (required version >= 6.7.0)
      
      -- The following OPTIONAL packages have not been found:
      
       * Vulkan
       * PkgConfig
      
      
      -- Configuration summary has been written to /home/rutledge/dev/qt6-android/config.summary
      
      ERROR: Feature "qml_ssl": Forcing to "ON" breaks its condition:
          QT_FEATURE_ssl
      Condition values dump:
          QT_FEATURE_ssl = "OFF"
      
      
      CMake Error at qtbase/cmake/QtBuildInformation.cmake:201 (message):
        Check the configuration messages for an error that has occurred.
      Call Stack (most recent call first):
        qtbase/cmake/QtBuildInformation.cmake:24 (qt_configure_print_summary)
        qtbase/cmake/QtBaseTopLevelHelpers.cmake:73 (qt_print_feature_summary)
        qtbase/cmake/QtBaseTopLevelHelpers.cmake:61 (qt_internal_print_top_level_info)
        CMakeLists.txt:102 (qt_internal_top_level_end)
      
      
      -- Configuring incomplete, errors occurred!
      CMake Error at /home/rutledge/dev/qt6/qtbase/cmake/QtProcessConfigureArgs.cmake:1063 (message):
        CMake exited with code 1.
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tatiana.borisova Tatiana Borisova
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change