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

[REG prev online snapshot-> current] RTA CMake test fails on desktop targets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • 6.8.0 FF
    • 6.8.0 FF
    • Build System: CMake

    Description

      Running CMake with attached CMakeLists.txt fails on desktop targets from online installer (SHA1 92969b10f5e08dbf2ede355b0d0bd3061f50fc8e).

      cmake CMakeLists.txt:

      -- Detecting CXX compile features - done
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed 
      -- Looking for pthread_create in pthreads
      -- Looking for pthread_create in pthreads - not found
      -- Looking for pthread_create in pthread
      -- Looking for pthread_create in pthread - not found
      -- Found Threads: TRUE  
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE  
      -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
      -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
      -- Using Qt bundled PNG.
      -- Found WrapPNG: TRUE  
      -- Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR) 
      CMake Warning at C:/Users/joaijala/RTA/Qt_6.7.1/6.7.1/msvc2019_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:65 (find_package):
        Found package configuration file:
          C:/Users/joaijala/RTA/Qt_6.7.1/6.7.1/msvc2019_64/lib/cmake/Qt6GrpcTools/Qt6GrpcToolsConfig.cmake
        but it set Qt6GrpcTools_FOUND to FALSE so package "Qt6GrpcTools" is
        considered to be NOT FOUND.  Reason given by package:
        Qt6GrpcTools could not be found because dependency WrapProtoc could not be
        found.
      Call Stack (most recent call first):
        C:/Users/joaijala/RTA/Qt_6.7.1/6.7.1/msvc2019_64/lib/cmake/Qt6Grpc/Qt6GrpcDependencies.cmake:37 (_qt_internal_find_tool_dependencies)
        C:/Users/joaijala/RTA/Qt_6.7.1/6.7.1/msvc2019_64/lib/cmake/Qt6Grpc/Qt6GrpcConfig.cmake:43 (include)
        C:/Users/joaijala/RTA/Qt_6.7.1/6.7.1/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
        CMakeLists.txt:14 (find_package)
      CMake Warning at C:/Users/joaijala/RTA/Qt_6.7.1/6.7.1/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package):
        Found package configuration file:
          C:/Users/joaijala/RTA/Qt_6.7.1/6.7.1/msvc2019_64/lib/cmake/Qt6Grpc/Qt6GrpcConfig.cmake
        but it set Qt6Grpc_FOUND to FALSE so package "Qt6Grpc" is considered to be
        NOT FOUND.  Reason given by package:
        Qt6Grpc could not be found because dependency Qt6GrpcTools could not be
        found.
        Configuring with --debug-find-pkg=Qt6GrpcTools 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.
      Call Stack (most recent call first):
        CMakeLists.txt:14 (find_package)
      CMake Error at CMakeLists.txt:14 (find_package):
        Found package configuration file:
          C:/Users/joaijala/RTA/Qt_6.7.1/6.7.1/msvc2019_64/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 "Grpc".
        Expected Config file at
        "C:/Users/joaijala/RTA/Qt_6.7.1/6.7.1/msvc2019_64/lib/cmake/Qt6Grpc/Qt6GrpcConfig.cmake"
        exists
        Configuring with --debug-find-pkg=Qt6Grpc 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.
      -- Configuring incomplete, errors occurred! 

      Test was run last time on 10.4.24 with SHA1 b67103423cc9060441796102341dd02a33a57b55 and it didn't fail then.

       

      Attachments

        1. CMakeLists.txt
          4 kB
          Johanna Äijälä

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              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