Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.5, 6.3.1, 6.4.0 Beta1, 6.4
-
6.4
-
162f9cce43 (qt/tqtc-qmlcompilerplus/dev) b08dba441f (qt/tqtc-qmlcompilerplus/6.2) a102f69c18 (qt/tqtc-qmlcompilerplus/6.3) 638475b4f2 (qt/tqtc-qmlcompilerplus/6.2) a102f69c18 (qt/tqtc-qmlcompilerplus/6.3.1) 162f9cce43 (qt/tqtc-qmlcompilerplus/6.4)
Description
See https://codereview.qt-project.org/c/qt/tqtc-qmlcompilerplus/+/403243
test 1 Start 1: tst_codegen_indirect Test command: /opt/cmake-3.21.3/bin/cmake "-P" "/home/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/codegen/tst_codegen_indirectWrapperRelWithDebInfo.cmake" Test timeout computed to be: 1500 qt-testrunner.py INFO: Will write XML test logs to directory COIN_CTEST_RESULTSDIR=/home/qt/work/testresults qt-testrunner.py DEBUG: Running test command line: ['/home/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/codegen/tst_codegen_indirect', '-o', '/home/qt/work/testresults/tst_codegen_indirect-1649312052082.xml,xml', '-o', '-,txt'] /home/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/codegen/tst_codegen_indirect: /usr/lib/libQt6Core.so.6: version `Qt_6.4' not found (required by /home/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/codegen/tst_codegen_indirect) qt-testrunner.py INFO: Test process exited with code: 1 qt-testrunner.py ERROR: XML log file not found: /home/qt/work/testresults/tst_codegen_indirect-1649312052082.xml
This is because of an rpath mixup in CMake. The install directory is passed as -rpath-link and discarded at run time. The build directory is passed as -rpath, but it doesn't exist anymore when the test runs. The test then picks up some random other Qt version from the sysroot, that happens to not be 6.4.
Attachments
Issue Links
- relates to
-
QTBUG-102180 tst_codegen_indirect failed
-
- Closed
-
- resulted in
-
QTBUG-102592 Setting a common CMAKE_STAGING_PREFIX breaks build rpaths of non-qtbase repositories
-
- Closed
-