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

[REG 6.9.1-6.10.0 beta1] grpc/vehicle fails on configure on iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • 6.10.0 RC
    • 6.10.0 Beta1
    • GRPC
    • macOS13 x64
      macOS15 arm64
    • iOS/tvOS/watchOS

    Description

      Install Qt 6.10.0 beta1 iOS binaries including all additional modules.

      Configure example grpc/vehicle:

      /Users/qt/RTA/Qt_6.10.0/6.10.0/ios/bin/qt-cmake -S /Users/qt/RTA/Qt_6.10.0/Examples/Qt-6.10.0/grpc/vehicle -B /Users/qt/RTA/Qt_6.10.0/Examples/Qt-6.10.0/grpc/vehicle/bld_ios -DCMAKE_OSX_SYSROOT=iphonesimulator 

      ->fails:

      -- Check for working CXX compiler: /Applications/Xcode14.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      -- Found Threads: TRUE
      -- Found ZLIB: /Applications/Xcode14.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/lib/libz.tbd (found version "1.2.11")
      -- Found WrapSystemZLIB: TRUE (found version "1.2.11")
      -- Using system ZLIB.
      -- Found WrapZLIB: TRUE (found version "1.2.11")
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE
      -- Looking for backtrace
      -- Looking for backtrace - found
      -- backtrace facility detected in default set of libraries
      -- Found Backtrace: /Applications/Xcode14.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include
      -- Using Qt bundled PCRE2.
      -- Found WrapPCRE2: TRUE (found version "6.10.0")
      -- Performing Test HAVE_GETTIME
      -- Performing Test HAVE_GETTIME - Success
      -- Performing Test HAVE_SHM_OPEN_SHM_UNLINK
      -- Performing Test HAVE_SHM_OPEN_SHM_UNLINK - Success
      -- Found WrapRt: TRUE
      CMake Warning at /Users/qt/RTA/Qt_6.10.0/6.10.0/ios/lib/cmake/Qt6/Qt6Config.cmake:233 (find_package):
        Found package configuration file:    /Users/qt/RTA/Qt_6.10.0/6.10.0/ios/lib/cmake/Qt6ProtobufWellKnownTypes/Qt6ProtobufWellKnownTypesConfig.cmake  but it set Qt6ProtobufWellKnownTypes_FOUND to FALSE so package
        "Qt6ProtobufWellKnownTypes" is considered to be NOT FOUND.  Reason given by
        package:  Qt6ProtobufWellKnownTypes lacks the following protobuf schemas:      google/protobuf/any.proto
            google/protobuf/api.proto
            google/protobuf/duration.proto
            google/protobuf/empty.proto
            google/protobuf/field_mask.proto
            google/protobuf/source_context.proto
            google/protobuf/struct.proto
            google/protobuf/timestamp.proto
            google/protobuf/type.proto
            google/protobuf/wrappers.proto  Please check your protobuf installation and ensure the missing schemas are
        in the CMake find paths.  If you use a custom protobuf installation point
        to its location in protobuf_ROOT, Protobuf_ROOT, protobuf_DIR or
        Protobuf_DIR environment or cache variables.Call Stack (most recent call first):
        CMakeLists.txt:13 (find_package)
      CMake Error at CMakeLists.txt:13 (find_package):
        Found package configuration file:    /Users/qt/RTA/Qt_6.10.0/6.10.0/ios/lib/cmake/Qt6/Qt6Config.cmake  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
        FOUND.  Reason given by package:  Failed to find required Qt component "ProtobufWellKnownTypes".  Expected Config file at
        "/Users/qt/RTA/Qt_6.10.0/6.10.0/ios/lib/cmake/Qt6ProtobufWellKnownTypes/Qt6ProtobufWellKnownTypesConfig.cmake"
        exists  Configuring with --debug-find-pkg=Qt6ProtobufWellKnownTypes might reveal
        details why the package was not found.  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
        of the path variables that find_package uses to try and find the package. 

      Fails on macOS x64 and arm64.
      Worked with Qt 6.9.1.

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes