-
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)
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.
- 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
-
For Gerrit Dashboard: QTBUG-102369 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
404464,5 | Disable tests for cross-compiled targets for now | dev | qt/tqtc-qmlcompilerplus | Status: MERGED | +2 | 0 |
405122,2 | Do not build tools when cross-compiling | dev | qt/qt5 | Status: ABANDONED | -1 | 0 |
405981,2 | CMake: Fix rpaths embedded into tests | dev | qt/tqtc-qmlcompilerplus | Status: MERGED | +2 | 0 |
406043,2 | CMake: Fix rpaths embedded into tests | 6.3 | qt/tqtc-qmlcompilerplus | Status: MERGED | +2 | 0 |
406044,2 | CMake: Fix rpaths embedded into tests | 6.2 | qt/tqtc-qmlcompilerplus | Status: MERGED | +2 | 0 |
407486,2 | CMake: Fix rpaths embedded into tests | tqtc/lts-6.2 | qt/tqtc-qmlcompilerplus | Status: MERGED | +2 | 0 |