Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6
-
None
-
-
2af494c93 (dev), e2d1c5d13 (6.5)
Description
CMake command line:
[ 89s] + cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:STRING=/usr -DCMAKE_MESSAGE_LOG_LEVEL:STRING=STATUS -S . -B build -GNinja -DQT_DISABLE_RPATH:BOOL=ON '-DCMAKE_C_FLAGS:STRING=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g' '-DCMAKE_CXX_FLAGS:STRING=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g' '-DCMAKE_EXE_LINKER_FLAGS:STRING=-Wl,--as-needed -Wl,--no-undefined' '-DCMAKE_MODULE_LINKER_FLAGS:STRING=-Wl,--as-needed -Wl,--no-undefined' '-DCMAKE_SHARED_LINKER_FLAGS:STRING=-Wl,--as-needed -Wl,--no-undefined'
CMake log (although unrelated, the Qt6QmlMacros warnings may be worth noting):
[ 89s] -- The CXX compiler identification is GNU 12.2.1 [ 89s] -- The C compiler identification is GNU 12.2.1 [ 90s] -- Detecting CXX compiler ABI info [ 90s] -- Detecting CXX compiler ABI info - done [ 90s] -- Check for working CXX compiler: /usr/bin/c++ - skipped [ 90s] -- Detecting CXX compile features [ 90s] -- Detecting CXX compile features - done [ 90s] -- Detecting C compiler ABI info [ 90s] -- Detecting C compiler ABI info - done [ 90s] -- Check for working C compiler: /usr/bin/cc - skipped [ 90s] -- Detecting C compile features [ 90s] -- Detecting C compile features - done [ 90s] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [ 90s] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success [ 90s] -- Found Threads: TRUE [ 90s] -- Performing Test HAVE_STDATOMIC [ 91s] -- Performing Test HAVE_STDATOMIC - Success [ 91s] -- Found WrapAtomic: TRUE [ 91s] -- Found OpenGL: /usr/lib64/libOpenGL.so [ 91s] -- CMAKE_BUILD_TYPE was set to: 'RelWithDebInfo' [ 91s] -- Check for feature set changes [ 91s] -- CMAKE_STRIP (original): /usr/bin/strip [ 91s] -- Performing Test strip --keep-section [ 91s] -- Performing Test strip --keep-section - TRUE [ 91s] -- CMAKE_STRIP (used by Qt): /home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/lib64/qt6/libexec/qt-internal-strip [ 91s] -- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS [ 92s] -- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS - Success [ 92s] -- Performing Test HAVE_DASH_DASH_NO_UNDEFINED [ 92s] -- Performing Test HAVE_DASH_DASH_NO_UNDEFINED - Success [ 92s] -- Running syncqt.cpp for module: QtQmlTypeRegistrar [ 92s] -- Running syncqt.cpp for module: QtQmlIntegration [ 92s] -- Could NOT find LTTngUST (missing: LTTNGUST_LIBRARIES LTTNGUST_INCLUDE_DIRS) [ 92s] -- Found Python: /usr/bin/python3.10 (found version "3.10.9") found components: Interpreter [ 92s] -- Performing Test HAVE_pointer_32bit [ 92s] -- Performing Test HAVE_pointer_32bit - Failed [ 92s] -- Performing Test HAVE_pointer_64bit [ 92s] -- Performing Test HAVE_pointer_64bit - Success [ 92s] -- Performing Test HAVE_arm_thumb [ 93s] -- Performing Test HAVE_arm_thumb - Failed [ 93s] -- Performing Test HAVE_arm_fp [ 93s] -- Performing Test HAVE_arm_fp - Success [ 93s] -- Could NOT find LTTngUST (missing: LTTNGUST_LIBRARIES LTTNGUST_INCLUDE_DIRS) [ 93s] -- Running syncqt.cpp for module: QtQml [ 94s] -- Running syncqt.cpp for module: QtQmlModels [ 94s] -- Running syncqt.cpp for module: QtQmlCore [ 94s] -- Running syncqt.cpp for module: QtQmlWorkerScript [ 94s] -- Running syncqt.cpp for module: QtQmlLocalStorage [ 94s] -- Running syncqt.cpp for module: QtQmlXmlListModel [ 94s] -- Could NOT find LTTngUST (missing: LTTNGUST_LIBRARIES LTTNGUST_INCLUDE_DIRS) [ 94s] -- Running syncqt.cpp for module: QtQuick [ 95s] -- Running syncqt.cpp for module: QtQuickLayouts [ 95s] -- Running syncqt.cpp for module: QtQuickTest [ 95s] -- Running syncqt.cpp for module: QtQuickTestUtils [ 95s] -- Running syncqt.cpp for module: QtQuickParticles [ 95s] -- Running syncqt.cpp for module: QtQuickEffects [ 95s] -- Running syncqt.cpp for module: QtQuickShapes [ 95s] -- Running syncqt.cpp for module: QtQuickWidgets [ 95s] -- Running syncqt.cpp for module: QtQuickTemplates2 [ 95s] -- Running syncqt.cpp for module: QtQuickControls2Impl [ 102s] -- Running syncqt.cpp for module: QtQuickControls2 [ 102s] -- Running syncqt.cpp for module: QtQuickDialogs2Utils [ 102s] -- Running syncqt.cpp for module: QtQuickDialogs2QuickImpl [ 102s] -- Running syncqt.cpp for module: QtQuickDialogs2 [ 103s] -- Running syncqt.cpp for module: QtQuickControlsTestUtils [ 103s] -- Running syncqt.cpp for module: QtLabsSettings [ 103s] -- Running syncqt.cpp for module: QtLabsQmlModels [ 103s] -- Running syncqt.cpp for module: QtLabsFolderListModel [ 103s] -- Running syncqt.cpp for module: QtLabsAnimation [ 103s] -- Running syncqt.cpp for module: QtLabsWavefrontMesh [ 103s] -- Running syncqt.cpp for module: QtLabsSharedImage [ 103s] -- Running syncqt.cpp for module: QtQmlCompiler [ 103s] -- Running syncqt.cpp for module: QtQmlDom [ 103s] -- Tool 'Qt6::qmlcachegen' will be built from source. [ 103s] -- Running syncqt.cpp for module: QtPacketProtocol [ 103s] -- Running syncqt.cpp for module: QtQmlDebug [ 103s] -- Tool 'Qt6::qmldom' will be built from source. [ 103s] -- Tool 'Qt6::qmllint' will be built from source. [ 103s] -- Tool 'Qt6::qmltc' will be built from source. [ 103s] -- Tool 'Qt6::qmltyperegistrar' will be built from source. [ 103s] -- Tool 'Qt6::qmlimportscanner' will be built from source. [ 103s] -- Tool 'Qt6::qmlformat' will be built from source. [ 103s] -- Tool 'Qt6::qmlprofiler' will be built from source. [ 103s] -- Tool 'Qt6::qmltime' will be built from source. [ 103s] -- Tool 'Qt6::qmlplugindump' will be built from source. [ 103s] -- Tool 'Qt6::qmltestrunner' will be built from source. [ 104s] -- Generated QtModulePlugins.cmake files for the following modules: Qml;QmlCompilerPrivate [ 104s] -- The following packages have been found: [ 104s] [ 104s] * Qt6BuildInternals (required version >= 6.6.0) [ 104s] * Qt6CoreTools (required version >= 6.6.0) [ 104s] * Qt6Core (required version >= 6.6.0) [ 104s] * OpenGL [ 104s] * PkgConfig [ 104s] * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org> [ 104s] * Vulkan [ 104s] * Qt6GuiTools (required version >= 6.6.0) [ 104s] * Qt6DBusTools (required version >= 6.6.0) [ 104s] * Qt6Gui (required version >= 6.6.0) [ 104s] * Qt6Network (required version >= 6.6.0) [ 104s] * Qt6WidgetsTools (required version >= 6.6.0) [ 104s] * Qt6Widgets (required version >= 6.6.0) [ 104s] * WrapVulkanHeaders [ 104s] * Qt6OpenGL (required version >= 6.6.0) [ 104s] * Qt6OpenGLWidgets (required version >= 6.6.0) [ 104s] * Qt6Sql (required version >= 6.6.0) [ 104s] * Qt6Concurrent (required version >= 6.6.0) [ 104s] * Qt6Test (required version >= 6.6.0) [ 104s] * Qt6LanguageServerPrivate (required version >= 6.6.0) [ 104s] * Qt6ShaderToolsTools (required version >= 6.6.0) [ 104s] * Qt6ShaderTools (required version >= 6.6.0) [ 104s] * Python [ 104s] * Qt6 (required version >= 6.6.0) [ 104s] [ 104s] -- The following OPTIONAL packages have not been found: [ 104s] [ 104s] * Qt6LinguistTools (required version >= 6.6.0) [ 104s] * LTTngUST [ 104s] [ 104s] [ 104s] -- Configuration summary shown below. It has also been written to /home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/config.summary [ 104s] -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations. [ 104s] [ 104s] -- Configure summary: [ 104s] [ 104s] Qt QML: [ 104s] QML network support .................... yes [ 104s] QML debugging and profiling support .... yes [ 104s] QML just-in-time compiler .............. yes [ 104s] QML XML http request ................... yes [ 104s] QML Locale ............................. yes [ 104s] Qt QML Models: [ 104s] QML list model ......................... yes [ 104s] QML delegate model ..................... yes [ 104s] Qt Quick: [ 104s] AnimatedImage item ..................... yes [ 104s] Canvas item ............................ yes [ 104s] Support for Qt Quick Designer .......... yes [ 104s] Flipable item .......................... yes [ 104s] GridView item .......................... yes [ 104s] ListView item .......................... yes [ 104s] TableView item ......................... yes [ 104s] TreeView item .......................... yes [ 104s] Path support ........................... yes [ 104s] PathView item .......................... yes [ 104s] Positioner items ....................... yes [ 104s] Repeater item .......................... yes [ 104s] ShaderEffect item ...................... yes [ 104s] Sprite item ............................ yes [ 104s] Qt Quick Templates 2: [ 104s] Hover support .......................... yes [ 104s] Multi-touch support .................... yes [ 104s] Calendar support ....................... yes [ 104s] Qt Quick Controls 2: [ 104s] Styles ................................. Basic Fusion Imagine iOS Material Universal macOS Windows [ 104s] [ 104s] [ 105s] CMake Warning at build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:440 (message): [ 105s] Neither RESOURCE_PREFIX nor AUTO_RESOURCE_PREFIX are specified for [ 105s] chartsplugin. The resource root directory, ':/', is used as prefix. If [ 105s] this is what you want, specify '/' as RESOURCE_PREFIX. The recommended [ 105s] resource directory to be used as prefix is ':/qt/qml/'. Specify [ 105s] AUTO_RESOURCE_PREFIX to use it. [ 105s] Call Stack (most recent call first): [ 105s] examples/qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt:4 (qt6_add_qml_module) [ 105s] [ 105s] [ 110s] shaders/mandelbrot.vert -> shaders/mandelbrot.vert.qsb exposed as :/scenegraph/custommaterial/shaders/mandelbrot.vert.qsb [ 110s] shaders/mandelbrot.frag -> shaders/mandelbrot.frag.qsb exposed as :/scenegraph/custommaterial/shaders/mandelbrot.frag.qsb [ 110s] shaders/xorblender.vert -> shaders/xorblender.vert.qsb exposed as :/scenegraph/twotextureproviders/shaders/xorblender.vert.qsb [ 110s] shaders/xorblender.frag -> shaders/xorblender.frag.qsb exposed as :/scenegraph/twotextureproviders/shaders/xorblender.frag.qsb [ 110s] shaders/checker.frag -> shaders/checker.frag.qsb exposed as :/scenegraph/twotextureproviders/shaders/checker.frag.qsb [ 110s] shaders/customrender.vert -> shaders/customrender.vert.qsb exposed as :/scenegraph/customrendernode/shaders/customrender.vert.qsb [ 110s] shaders/customrender.frag -> shaders/customrender.frag.qsb exposed as :/scenegraph/customrendernode/shaders/customrender.frag.qsb [ 110s] content/shaders/genie.vert -> content/shaders/genie.vert.qsb exposed as :/qt/qml/shadereffects/content/shaders/genie.vert.qsb [ 110s] content/shaders/blur.frag -> content/shaders/blur.frag.qsb exposed as :/qt/qml/shadereffects/content/shaders/blur.frag.qsb [ 110s] content/shaders/colorize.frag -> content/shaders/colorize.frag.qsb exposed as :/qt/qml/shadereffects/content/shaders/colorize.frag.qsb [ 110s] content/shaders/outline.frag -> content/shaders/outline.frag.qsb exposed as :/qt/qml/shadereffects/content/shaders/outline.frag.qsb [ 110s] content/shaders/shadow.frag -> content/shaders/shadow.frag.qsb exposed as :/qt/qml/shadereffects/content/shaders/shadow.frag.qsb [ 110s] content/shaders/wobble.frag -> content/shaders/wobble.frag.qsb exposed as :/qt/qml/shadereffects/content/shaders/wobble.frag.qsb [ 118s] wobble.frag -> wobble.frag.qsb exposed as :/qquickwidgetversuswindow_opengl/wobble.frag.qsb [ 118s] CMake Warning at build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:440 (message): [ 118s] Neither RESOURCE_PREFIX nor AUTO_RESOURCE_PREFIX are specified for MyStyle. [ 118s] The resource root directory, ':/', is used as prefix. If this is what you [ 118s] want, specify '/' as RESOURCE_PREFIX. The recommended resource directory [ 118s] to be used as prefix is ':/qt/qml/'. Specify AUTO_RESOURCE_PREFIX to use [ 118s] it. [ 118s] Call Stack (most recent call first): [ 118s] build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:681 (qt6_add_qml_module) [ 118s] examples/quickcontrols/attachedstyleproperties/MyStyle/CMakeLists.txt:7 (qt_add_qml_module) [ 118s] [ 118s] [ 118s] -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY [ 119s] -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success [ 119s] -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY [ 119s] -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success [ 119s] -- Performing Test COMPILER_HAS_DEPRECATED_ATTR [ 119s] -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success [ 120s] CMake Warning at build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:440 (message): [ 120s] Neither RESOURCE_PREFIX nor AUTO_RESOURCE_PREFIX are specified for [ 120s] chattutorial-chapter1. The resource root directory, ':/', is used as [ 120s] prefix. If this is what you want, specify '/' as RESOURCE_PREFIX. The [ 120s] recommended resource directory to be used as prefix is ':/qt/qml/'. [ 120s] Specify AUTO_RESOURCE_PREFIX to use it. [ 120s] Call Stack (most recent call first): [ 120s] build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:681 (qt6_add_qml_module) [ 120s] examples/quickcontrols/chattutorial/chapter1/CMakeLists.txt:28 (qt_add_qml_module) [ 120s] [ 120s] [ 120s] CMake Warning at build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:440 (message): [ 120s] Neither RESOURCE_PREFIX nor AUTO_RESOURCE_PREFIX are specified for [ 120s] chattutorial-chapter2. The resource root directory, ':/', is used as [ 120s] prefix. If this is what you want, specify '/' as RESOURCE_PREFIX. The [ 120s] recommended resource directory to be used as prefix is ':/qt/qml/'. [ 120s] Specify AUTO_RESOURCE_PREFIX to use it. [ 120s] Call Stack (most recent call first): [ 120s] build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:681 (qt6_add_qml_module) [ 120s] examples/quickcontrols/chattutorial/chapter2/CMakeLists.txt:28 (qt_add_qml_module) [ 120s] [ 120s] [ 120s] CMake Warning at build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:440 (message): [ 120s] Neither RESOURCE_PREFIX nor AUTO_RESOURCE_PREFIX are specified for [ 120s] chattutorial-chapter3. The resource root directory, ':/', is used as [ 120s] prefix. If this is what you want, specify '/' as RESOURCE_PREFIX. The [ 120s] recommended resource directory to be used as prefix is ':/qt/qml/'. [ 120s] Specify AUTO_RESOURCE_PREFIX to use it. [ 120s] Call Stack (most recent call first): [ 120s] build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:681 (qt6_add_qml_module) [ 120s] examples/quickcontrols/chattutorial/chapter3/CMakeLists.txt:29 (qt_add_qml_module) [ 120s] [ 120s] [ 120s] CMake Warning at build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:440 (message): [ 120s] Neither RESOURCE_PREFIX nor AUTO_RESOURCE_PREFIX are specified for [ 120s] chattutorial-chapter4. The resource root directory, ':/', is used as [ 120s] prefix. If this is what you want, specify '/' as RESOURCE_PREFIX. The [ 120s] recommended resource directory to be used as prefix is ':/qt/qml/'. [ 120s] Specify AUTO_RESOURCE_PREFIX to use it. [ 120s] Call Stack (most recent call first): [ 120s] build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:681 (qt6_add_qml_module) [ 120s] examples/quickcontrols/chattutorial/chapter4/CMakeLists.txt:32 (qt_add_qml_module) [ 120s] [ 120s] [ 121s] CMake Warning at build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:440 (message): [ 121s] Neither RESOURCE_PREFIX nor AUTO_RESOURCE_PREFIX are specified for [ 121s] chattutorial-chapter5. The resource root directory, ':/', is used as [ 121s] prefix. If this is what you want, specify '/' as RESOURCE_PREFIX. The [ 121s] recommended resource directory to be used as prefix is ':/qt/qml/'. [ 121s] Specify AUTO_RESOURCE_PREFIX to use it. [ 121s] Call Stack (most recent call first): [ 121s] build/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:681 (qt6_add_qml_module) [ 121s] examples/quickcontrols/chattutorial/chapter5/CMakeLists.txt:32 (qt_add_qml_module)
qmlcachegen fails to find libQt6QmlCompiler.so.6 :
[ 598s] [2911/7094] cd "/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/src/qmltest" && "/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/lib64/qt6/libexec/qmlcachegen" --resource-name qmlcache_QuickTest --resource "/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/src/qmltest/.rcc/qmake_QtTest.qrc" --resource "/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/src/qmltest/.rcc/QuickTest_raw_qml_0.qrc" -o "/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/src/qmltest/.rcc/qmlcache/QuickTest_qmlcache_loader.cpp" "@/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/src/qmltest/.rcc/qmlcache/QuickTest_qml_loader_file_list.rsp" [ 598s] FAILED: src/qmltest/.rcc/qmlcache/QuickTest_qmlcache_loader.cpp /home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/src/qmltest/.rcc/qmlcache/QuickTest_qmlcache_loader.cpp [ 598s] cd "/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/src/qmltest" && "/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/lib64/qt6/libexec/qmlcachegen" --resource-name qmlcache_QuickTest --resource "/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/src/qmltest/.rcc/qmake_QtTest.qrc" --resource "/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/src/qmltest/.rcc/QuickTest_raw_qml_0.qrc" -o "/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/src/qmltest/.rcc/qmlcache/QuickTest_qmlcache_loader.cpp" "@/home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/src/qmltest/.rcc/qmlcache/QuickTest_qml_loader_file_list.rsp" [ 598s] /home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-6.6.0~git/build/lib64/qt6/libexec/qmlcachegen: error while loading shared libraries: libQt6QmlCompiler.so.6: cannot open shared object file: No such file or directory
Our package builds always start in a fresh VM. When the error occurs, libQt6QmlCompiler.so.6 is already created.
Attachments
Issue Links
- resulted in
-
QTBUG-111156 configure -no-rpath doesn't turn off rpaths
- Open
-
QTBUG-111759 Re-evaluate what -no-rpath should do
- Closed