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

test_standalone_test test failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 6.6.3
    • Build System: CMake
    • None
    • GNU Guix
    • Linux/X11

    Description

      Hi,

       

      Building qtbase 6.6.3 with GNU Guix, I see:

      234/510 Test #249: test_standalone_test ..................................***Failed    0.72 sec
      Internal cmake changing into directory: /tmp/guix-build-qtbase-6.6.3.drv-0/build/tests/auto/cmake/test_standalone_test
      Error: cmake execution failed
      The CXX compiler identification is GNU 11.3.0
      Detecting CXX compiler ABI info
      Detecting CXX compiler ABI info - done
      Check for working CXX compiler: /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/c++ - skipped
      Detecting CXX compile features
      Detecting CXX compile features - done
      CMake Error at /tmp/guix-build-qtbase-6.6.3.drv-0/qtbase-everywhere-src-6.6.3/cmake/QtBuildRepoHelpers.cmake:864 (include):
        include could not find requested file:
      
          /tmp/guix-build-qtbase-6.6.3.drv-0/build/lib/cmake/Qt6BuildInternals/QtStandaloneTestTemplateProject/Main.cmake
      Call Stack (most recent call first):
        /tmp/guix-build-qtbase-6.6.3.drv-0/qtbase-everywhere-src-6.6.3/cmake/QtBuildRepoHelpers.cmake:881 (qt_internal_setup_standalone_test_when_called_as_a_find_package_component)
        /tmp/guix-build-qtbase-6.6.3.drv-0/build/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfig.cmake:68 (qt_internal_setup_build_internals)
        CMakeLists.txt:6 (find_package)
      
      
      CMake Error at /tmp/guix-build-qtbase-6.6.3.drv-0/qtbase-everywhere-src-6.6.3/cmake/QtBuildRepoHelpers.cmake:866 (get_property):
        get_property could not find TARGET Qt6::Core.  Perhaps it has not yet been
        created.
      Call Stack (most recent call first):
        /tmp/guix-build-qtbase-6.6.3.drv-0/qtbase-everywhere-src-6.6.3/cmake/QtBuildRepoHelpers.cmake:881 (qt_internal_setup_standalone_test_when_called_as_a_find_package_component)
        /tmp/guix-build-qtbase-6.6.3.drv-0/build/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfig.cmake:68 (qt_internal_setup_build_internals)
        CMakeLists.txt:6 (find_package)
      
      
      CMake Error at /tmp/guix-build-qtbase-6.6.3.drv-0/qtbase-everywhere-src-6.6.3/cmake/QtBuildRepoHelpers.cmake:869 (string):
        string sub-command REPLACE requires at least four arguments.
      Call Stack (most recent call first):
        /tmp/guix-build-qtbase-6.6.3.drv-0/qtbase-everywhere-src-6.6.3/cmake/QtBuildRepoHelpers.cmake:881 (qt_internal_setup_standalone_test_when_called_as_a_find_package_component)
        /tmp/guix-build-qtbase-6.6.3.drv-0/build/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfig.cmake:68 (qt_internal_setup_build_internals)
        CMakeLists.txt:6 (find_package)
      
      
      CMake Error at /tmp/guix-build-qtbase-6.6.3.drv-0/qtbase-everywhere-src-6.6.3/cmake/QtCMakeHelpers.cmake:68 (message):
        Unknown arguments: (SOURCES;tst_standalone_test.cpp;LIBRARIES;Qt::Gui)
      Call Stack (most recent call first):
        /tmp/guix-build-qtbase-6.6.3.drv-0/qtbase-everywhere-src-6.6.3/cmake/QtTestHelpers.cmake:432 (_qt_internal_validate_all_args_are_parsed)
        CMakeLists.txt:8 (qt_internal_add_test)
      
      
      Configuring incomplete, errors occurred!
      See also "/tmp/guix-build-qtbase-6.6.3.drv-0/build/tests/auto/cmake/test_standalone_test/CMakeFiles/CMakeOutput.log".
      

      This didn't affect 6.5.2, so either that is a regression or a new test.

      Attachments

        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
              apteryx Maxim Cournoyer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes