Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26435

6.0.0 beta 1 build failure

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      ea1655881d078d051049ec40c2562db90056a931 (qt-creator/qt-creator/6.0)

      Description

      Building 6.0.0 beta 1 fails with this error when built using Qt 6.2 :

       

       

      [ 3366s] FAILED: lib64/qtcreator/plugins/libHelp.so 
      [ 3366s] : && /usr/bin/c++ -fPIC -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -O2 -g -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -shared -Wl,-soname,libHelp.so -o lib64/qtcreator/plugins/libHelp.so src/plugins/help/CMakeFiles/Help.dir/Help_autogen/mocs_compilation.cpp.o src/plugins/help/CMakeFiles/Help.dir/docsettingspage.cpp.o src/plugins/help/CMakeFiles/Help.dir/filtersettingspage.cpp.o src/plugins/help/CMakeFiles/Help.dir/generalsettingspage.cpp.o src/plugins/help/CMakeFiles/Help.dir/helpfindsupport.cpp.o src/plugins/help/CMakeFiles/Help.dir/helpindexfilter.cpp.o src/plugins/help/CMakeFiles/Help.dir/helpmanager.cpp.o src/plugins/help/CMakeFiles/Help.dir/helpmode.cpp.o src/plugins/help/CMakeFiles/Help.dir/helpplugin.cpp.o src/plugins/help/CMakeFiles/Help.dir/helpviewer.cpp.o src/plugins/help/CMakeFiles/Help.dir/helpwidget.cpp.o src/plugins/help/CMakeFiles/Help.dir/localhelpmanager.cpp.o src/plugins/help/CMakeFiles/Help.dir/openpagesmanager.cpp.o src/plugins/help/CMakeFiles/Help.dir/openpagesswitcher.cpp.o src/plugins/help/CMakeFiles/Help.dir/openpageswidget.cpp.o src/plugins/help/CMakeFiles/Help.dir/searchtaskhandler.cpp.o src/plugins/help/CMakeFiles/Help.dir/searchwidget.cpp.o src/plugins/help/CMakeFiles/Help.dir/textbrowserhelpviewer.cpp.o src/plugins/help/CMakeFiles/Help.dir/xbelsupport.cpp.o src/plugins/help/CMakeFiles/Help.dir/litehtmlhelpviewer.cpp.o src/plugins/help/CMakeFiles/Help.dir/Help_autogen/EWIEGA46WW/qrc_help.cpp.o -Wl,-rpath,"\$ORIGIN:\$ORIGIN/../:\$ORIGIN/../../Qt/lib:/home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-6.0.0-beta1/build/lib64/qtcreator/plugins:/home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-6.0.0-beta1/build/lib64/qtcreator:" lib64/qtcreator/libshared_help.a lib64/qtcreator/plugins/libProjectExplorer.so lib64/qtcreator/plugins/libTextEditor.so lib64/qtcreator/libqlitehtml.so.5.82.0 /usr/lib64/libQt6Help.so.6.2.0 lib64/qtcreator/plugins/libCore.so lib64/qtcreator/libExtensionSystem.so.5.82.0 lib64/qtcreator/libAggregation.so.5.82.0 /usr/lib64/libQt6Sql.so.6.2.0 /usr/lib64/libQt6PrintSupport.so.6.2.0 lib64/qtcreator/libKSyntaxHighlighting.so.5.82.0 lib64/qtcreator/libUtils.so.5.82.0 /usr/lib64/libQt6Concurrent.so.6.2.0 /usr/lib64/libQt6Core5Compat.so.6.2.0 /usr/lib64/libQt6Network.so.6.2.0 /usr/lib64/libQt6Widgets.so.6.2.0 /usr/lib64/libQt6Gui.so.6.2.0 /usr/lib64/libQt6Core.so.6.2.0 /usr/lib64/libGLX.so /usr/lib64/libOpenGL.so -Wl,-rpath-link,/home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-6.0.0-beta1/build/lib64/qtcreator && :
      [ 3366s] /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: lib64/qtcreator/libshared_help.a(bookmarkmanager.cpp.o): warning: relocation against `_ZN19QItemSelectionModel16staticMetaObjectE@@Qt_6' in read-only section `.text'
      [ 3366s] /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: lib64/qtcreator/libshared_help.a(bookmarkmanager.cpp.o): relocation R_X86_64_PC32 against symbol `_ZN5Utils5Icons8BOOKMARKE' can not be used when making a shared object; recompile with -fPIC
      [ 3366s] /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: final link failed: bad value
      [ 3366s] collect2: error: ld returned 1 exit status

       

       

      CMake command used:

       

      [ 199s] + cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:STRING=/usr -S . -B build -GNinja -DQT_DISABLE_RPATH:BOOL=ON '-DCMAKE_C_FLAGS:STRING=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g' '-DCMAKE_CXX_FLAGS:STRING=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -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' -DCMAKE_INSTALL_LIBDIR:STRING=lib64 -DCMAKE_INSTALL_LIBEXECDIR:STRING=libexec -DCLANGTOOLING_LINK_CLANG_DYLIB:BOOL=ON -DBUILD_WITH_PCH:BOOL=OFF -DWITH_DOCS:BOOL=ON -DBUILD_LIBRARY_QLITEHTML:BOOL=ON -DBUILD_HELPVIEWERBACKEND_QTWEBENGINE:BOOL=OFF

       

      CMake log:

       

       
      [ 200s] -- The C compiler identification is GNU 11.2.1
      
      [ 200s] -- The CXX compiler identification is GNU 11.2.1
      [ 200s] -- Detecting C compiler ABI info
      [ 200s] -- Detecting C compiler ABI info - done
      [ 200s] -- Check for working C compiler: /usr/bin/cc - skipped
      [ 200s] -- Detecting C compile features
      [ 200s] -- Detecting C compile features - done
      [ 200s] -- Detecting CXX compiler ABI info
      [ 200s] -- Detecting CXX compiler ABI info - done
      [ 200s] -- Check for working CXX compiler: /usr/bin/c++ - skipped
      [ 200s] -- Detecting CXX compile features
      [ 200s] -- Detecting CXX compile features - done
      [ 201s] -- Performing Test HAVE_STDATOMIC
      [ 202s] -- Performing Test HAVE_STDATOMIC - Success
      [ 202s] -- Found Threads: TRUE 
      [ 202s] -- Found OpenGL: /usr/lib64/libOpenGL.so 
      [ 202s] -- Found WrapOpenGL: TRUE 
      [ 202s] -- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.3.1", minimum required is "0.5.0") 
      [ 202s] -- Found WrapVulkanHeaders: /usr/include 
      [ 202s] -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) 
      [ 202s] -- Could NOT find WrapOpenSSLHeaders (missing: OPENSSL_INCLUDE_DIR) 
      [ 202s] -- Could NOT find WrapOpenSSL (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) 
      [ 203s] -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 
      [ 203s] -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) 
      [ 204s] qml/notes_qt6.vert -> notes_qt6.vert.qsb exposed as :/QtCreator/Tracing/notes_qt6.vert.qsb
      [ 204s] qml/notes_qt6.frag -> notes_qt6.frag.qsb exposed as :/QtCreator/Tracing/notes_qt6.frag.qsb
      [ 204s] qml/timelineitems_qt6.vert -> timelineitems_qt6.vert.qsb exposed as :/QtCreator/Tracing/timelineitems_qt6.vert.qsb
      [ 204s] qml/timelineitems_qt6.frag -> timelineitems_qt6.frag.qsb exposed as :/QtCreator/Tracing/timelineitems_qt6.frag.qsb
      [ 206s] qml/bindingloops_qt6.frag -> bindingloops_qt6.frag.qsb exposed as :/QtCreator/QmlProfiler/bindingloops_qt6.frag.qsb
      [ 206s] qml/bindingloops_qt6.vert -> bindingloops_qt6.vert.qsb exposed as :/QtCreator/QmlProfiler/bindingloops_qt6.vert.qsb
      [ 208s] -- Found elfutils: /usr/include 
      [ 208s] -- Found Zstd: /usr/lib64/libzstd.so 
      [ 208s] -- Could NOT find LibRustcDemangle (missing: LIBRUSTC_DEMANGLE_LIBRARIES) 
      [ 208s] -- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.12") 
      [ 218s] -- The following packages have been found:
      [ 218s] 
      [ 218s] * Qt6Concurrent
      [ 218s] * OpenGL
      [ 218s] * Vulkan
      [ 218s] * Qt6Gui
      [ 218s] * Qt6Network
      [ 218s] * Qt6PrintSupport
      [ 218s] * Qt6QmlTools (required version >= 6.2.0)
      [ 218s] * Qt6Qml
      [ 218s] * Qt6Quick
      [ 218s] * Qt6QuickWidgets
      [ 218s] * Qt6Sql
      [ 218s] * Qt6Widgets
      [ 218s] * Qt6Xml
      [ 218s] * Qt6Core5Compat
      [ 218s] * Qt6LinguistTools
      [ 218s] * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
      [ 218s] * WrapVulkanHeaders
      [ 218s] * Qt6GuiTools (required version >= 6.2.0)
      [ 218s] * Qt6WidgetsTools (required version >= 6.2.0)
      [ 218s] * Qt6DesignerComponentsPrivate
      [ 218s] * Qt6Designer
      [ 218s] * Qt6Help
      [ 218s] * Qt6SerialPort
      [ 218s] * Qt6Svg
      [ 218s] * Qt6ToolsTools (required version >= 6.2.0)
      [ 218s] * Qt6Tools
      [ 218s] * ZLIB
      [ 218s] * PkgConfig
      [ 218s] * LLVM
      [ 218s] * Clang
      [ 218s] * Qt6SvgWidgets
      [ 218s] * yaml-cpp
      [ 218s] * Qt6ShaderToolsTools (required version >= 6.2.0)
      [ 218s] * Qt6ShaderTools
      [ 218s] * Threads
      [ 218s] * Qt6CoreTools (required version >= 6.2.0)
      [ 218s] * Qt6Core
      [ 218s] * Qt6
      [ 218s] * Qt5
      [ 218s] * elfutils, a collection of utilities and libraries to read, create and modify ELF binary files, <https://sourceware.org/elfutils/>
      [ 218s] * Zstd
      [ 218s] * PythonInterp
      [ 218s] 
      [ 218s] -- The following packages have not been found:
      [ 218s] 
      [ 218s] * OpenSSL
      [ 218s] * WrapOpenSSLHeaders
      [ 218s] * WrapOpenSSL
      [ 218s] * Qt6QmlCompilerPlus
      [ 218s] * LibXml2
      [ 218s] * KF5SyntaxHighlighting
      [ 218s] * Qt6Test
      [ 218s] * litehtml
      [ 218s] * Qt6WebEngineWidgets
      [ 218s] * Qt6Quick3D
      [ 218s] * Qt6Quick3DAssetImport
      [ 218s] * Qt6Quick3DParticles
      [ 218s] * LibRustcDemangle, Demangling for Rust symbols, written in Rust., <https://github.com/alexcrichton/rustc-demangle>
      [ 218s] Demangling of Rust symbols
      [ 218s] 
      [ 218s] -- The following features have been enabled:
      [ 218s] 
      [ 218s] * Build documentation
      [ 218s] * Library 3rd_cplusplus
      [ 218s] * Library KSyntaxHighlighting
      [ 218s] * Library AdvancedDockingSystem
      [ 218s] * Library Aggregation
      [ 218s] * Library ExtensionSystem
      [ 218s] * Library Utils
      [ 218s] * Library LanguageUtils
      [ 218s] * Library CPlusPlus
      [ 218s] * Library Modeling
      [ 218s] * Library QmlJS
      [ 218s] * Library QmlDebug
      [ 218s] * Library QmlEditorWidgets
      [ 218s] * Library GLSL
      [ 218s] * Library LanguageServerProtocol
      [ 218s] * Library QtcSsh
      [ 218s] * Library Sqlite
      [ 218s] * Library ClangSupport
      [ 218s] * Library Tracing, with CONDITION TARGET Qt6::ShaderTools
      [ 218s] * Library designerintegrationv2
      [ 218s] * Library ProParser
      [ 218s] * Library shared_help
      [ 218s] * Plugin Core
      [ 218s] * Plugin TextEditor
      [ 218s] * Plugin SerialTerminal, with CONDITION TARGET Qt5::SerialPort
      [ 218s] * Plugin HelloWorld
      [ 218s] * Plugin ImageViewer
      [ 218s] * Plugin Marketplace
      [ 218s] * Plugin Welcome
      [ 218s] * Plugin BinEditor
      [ 218s] * Plugin CodePaster
      [ 218s] * Plugin DiffEditor
      [ 218s] * Plugin EmacsKeys
      [ 218s] * Plugin Macros
      [ 218s] * Plugin ProjectExplorer
      [ 218s] * Plugin SilverSearcher
      [ 218s] * Plugin Bookmarks
      [ 218s] * Plugin CppEditor
      [ 218s] * Plugin Help, with CONDITION TARGET Qt5::Help
      [ 218s] * litehtml help viewer, with CONDITION TARGET qlitehtml
      [ 218s] * Plugin ResourceEditor
      [ 218s] * Plugin TaskList
      [ 218s] * Plugin Nim
      [ 218s] * Plugin Conan
      [ 218s] * Plugin ClassView
      [ 218s] * Plugin GLSLEditor
      [ 218s] * Plugin ModelEditor
      [ 218s] * Plugin QtSupport
      [ 218s] * Plugin Todo
      [ 218s] * Plugin VcsBase
      [ 218s] * Plugin Bazaar
      [ 218s] * Plugin Beautifier
      [ 218s] * Plugin ClearCase
      [ 218s] * Plugin CVS
      [ 218s] * Plugin Designer, with CONDITION TARGET Qt5::DesignerComponents AND TARGET Qt5::Designer
      [ 218s] * Plugin Docker
      [ 218s] * Plugin FakeVim
      [ 218s] * Plugin GenericProjectManager
      [ 218s] * Plugin Git
      [ 218s] * Plugin Mercurial
      [ 218s] * Plugin MesonProjectManager
      [ 218s] * Plugin Perforce
      [ 218s] * Plugin QmakeProjectManager
      [ 218s] * Plugin QmlJSTools
      [ 218s] * Plugin QmlProjectManager
      [ 218s] * Plugin ScxmlEditor
      [ 218s] * Plugin Subversion
      [ 218s] * Plugin CompilationDatabaseProjectManager
      [ 218s] * Plugin LanguageClient
      [ 218s] * Plugin StudioWelcome
      [ 218s] * Plugin CMakeProjectManager
      [ 218s] * Plugin Debugger
      [ 218s] * Plugin Android
      [ 218s] * Plugin AutoTest
      [ 218s] * Plugin AutotoolsProjectManager
      [ 218s] * Plugin BareMetal
      [ 218s] * Plugin ClangCodeModel, with CONDITION TARGET libclang
      [ 218s] * Plugin ClangTools, with CONDITION TARGET yaml-cpp
      [ 218s] * Plugin Cppcheck
      [ 218s] * Plugin IncrediBuild
      [ 218s] * Plugin Ios
      [ 218s] * Plugin Python
      [ 218s] * Plugin QmlJSEditor
      [ 218s] * Plugin QmlPreview
      [ 218s] * Plugin QmlProfiler, with CONDITION TARGET Tracing AND TARGET Qt6::ShaderTools
      [ 218s] * Plugin RemoteLinux
      [ 218s] * Plugin Valgrind
      [ 218s] * Plugin WinRt
      [ 218s] * Plugin PerfProfiler, with CONDITION TARGET Tracing
      [ 218s] * Plugin QbsProjectManager
      [ 218s] * Plugin CtfVisualizer, with CONDITION TARGET Tracing
      [ 218s] * Plugin Boot2Qt
      [ 218s] * Plugin QmlDesigner
      [ 218s] * Plugin assetexporterplugin, with CONDITION TARGET QmlDesigner
      [ 218s] * Plugin componentsplugin, with CONDITION TARGET QmlDesigner
      [ 218s] * Plugin qmlpreviewplugin, with CONDITION TARGET QmlDesigner
      [ 218s] * Plugin qtquickplugin, with CONDITION TARGET QmlDesigner
      [ 218s] * Plugin Qnx
      [ 218s] * Plugin WebAssembly
      [ 218s] * Plugin McuSupport
      [ 218s] * Library clangbackend_lib
      [ 218s] * Library qml2puppet_static
      [ 218s] * Library perfparser_lib
      [ 218s] 
      [ 218s] -- The following features have been disabled:
      [ 218s] 
      [ 218s] * Build online documentation
      [ 218s] * Build tests
      [ 218s] * Build with Crashpad
      [ 218s] * Library Minitrace
      [ 218s] * Build Qbs
      [ 218s] * Native WebKit help viewer, with CONDITION FWWebKit AND FWAppKit AND Qt5_VERSION VERSION_LESS 6.0.0
      [ 218s] * QtWebEngine help viewer, with CONDITION BUILD_HELPVIEWERBACKEND_QTWEBENGINE AND TARGET Qt5::WebEngineWidgets
      [ 218s] * Qt Quick 3D support, with CONDITION TARGET Qt5::Quick3D
      [ 218s] * Qt Quick 3D asset import, with CONDITION TARGET Qt5::Quick3DAssetImport
      [ 218s] * Qt Quick 3D particles, with CONDITION TARGET Qt5::Quick3DParticles
      [ 218s] * multilanguage-support in qml2puppet, with CONDITION TARGET QtCreator::multilanguage-support
      [ 218s] * Include developer documentation
      

       

       

        Attachments

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

          Activity

            People

            Assignee:
            con Eike Ziller
            Reporter:
            cgiboudeaux Christophe Giboudeaux
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes