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

[REG 6.8.0->6.9.0] top-level static build fails on linux x64, assistant

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 6.9.0 FF
    • Coin Configuration
    • linux-g++-Rhel9.2-x64
      linux-g++-SLES15_SP5-x64
      linux-g++-Ubuntu22.04-x64
      branch dev
    • Linux/X11
    • 01256c68c (dev)

    Description

      Have Qt 6.9.0 sources available, configure static top-level build:

      cmake -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_MESSAGE_LOG_LEVEL=STATUS -DINPUT_bundled_xcb_xinput=yes -DINPUT_doubleconversion=qt -DINPUT_harfbuzz=qt -DINPUT_headersclean=yes -DINPUT_libjpeg=qt -DINPUT_libpng=qt -DINPUT_libudev=no -DINPUT_pcre=qt -DOpenGL_GL_PREFERENCE=LEGACY -DQT_BUILD_EXAMPLES=FALSE -DQT_BUILD_TESTS=OFF -G Ninja -DBUILD_SHARED_LIBS=OFF /home/qt/RTA/src-6.9.0 -DCMAKE_INSTALL_PREFIX:PATH=/home/qt/RTA/src-6.9.0/qtbase -DBUILD_qtwebengine=FALSE 

      build: cmake --build . --parallel

      -> fails:

      FAILED: qtbase/bin/assistant 
      : && /usr/bin/g++ -DNDEBUG -O2 -Wl,--gc-sections -Wl,-z,relro,-z,now -Wl,--enable-new-dtags -fPIE -pie qtbase/src/plugins/platforms/xcb/CMakeFiles/QXcbIntegrationPlugin_init.dir/QXcbIntegrationPlugin_init.cpp.o qtbase/src/plugins/platforms/xcb/gl_integrations/xcb_egl/CMakeFiles/QXcbEglIntegrationPlugin_init.dir/QXcbEglIntegrationPlugin_init.cpp.o qtbase/src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeFiles/QXcbGlxIntegrationPlugin_init.dir/QXcbGlxIntegrationPlugin_init.cpp.o qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/CMakeFiles/QEglFSX11IntegrationPlugin_init.dir/QEglFSX11IntegrationPlugin_init.cpp.o qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/CMakeFiles/QEglFSKmsGbmIntegrationPlugin_init.dir/QEglFSKmsGbmIntegrationPlugin_init.cpp.o qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/CMakeFiles/QEglFSKmsEglDeviceIntegrationPlugin_init.dir/QEglFSKmsEglDeviceIntegrationPlugin_init.cpp.o qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_emu/CMakeFiles/QEglFSEmulatorIntegrationPlugin_init.dir/QEglFSEmulatorIntegrationPlugin_init.cpp.o qtbase/src/plugins/imageformats/ico/CMakeFiles/QICOPlugin_init.dir/QICOPlugin_init.cpp.o qtbase/src/plugins/imageformats/jpeg/CMakeFiles/QJpegPlugin_init.dir/QJpegPlugin_init.cpp.o qtbase/src/plugins/imageformats/gif/CMakeFiles/QGifPlugin_init.dir/QGifPlugin_init.cpp.o qtimageformats/src/plugins/imageformats/tga/CMakeFiles/QTgaPlugin_init.dir/QTgaPlugin_init.cpp.o qtimageformats/src/plugins/imageformats/wbmp/CMakeFiles/QWbmpPlugin_init.dir/QWbmpPlugin_init.cpp.o qtimageformats/src/plugins/imageformats/tiff/CMakeFiles/QTiffPlugin_init.dir/QTiffPlugin_init.cpp.o qtimageformats/src/plugins/imageformats/webp/CMakeFiles/QWebpPlugin_init.dir/QWebpPlugin_init.cpp.o qtimageformats/src/plugins/imageformats/icns/CMakeFiles/QICNSPlugin_init.dir/QICNSPlugin_init.cpp.o qtsvg/src/plugins/iconengines/svgiconengine/CMakeFiles/QSvgIconPlugin_init.dir/QSvgIconPlugin_init.cpp.o qtsvg/src/plugins/imageformats/svg/CMakeFiles/QSvgPlugin_init.dir/QSvgPlugin_init.cpp.o qtbase/src/plugins/networkinformation/networkmanager/CMakeFiles/QNetworkManagerNetworkInformationPlugin_init.dir/QNetworkManagerNetworkInformationPlugin_init.cpp.o qtbase/src/plugins/networkinformation/glib/CMakeFiles/QGlibNetworkInformationPlugin_init.dir/QGlibNetworkInformationPlugin_init.cpp.o qtbase/src/plugins/tls/openssl/CMakeFiles/QTlsBackendOpenSSLPlugin_init.dir/QTlsBackendOpenSSLPlugin_init.cpp.o qtbase/src/plugins/sqldrivers/psql/CMakeFiles/QPSQLDriverPlugin_init.dir/QPSQLDriverPlugin_init.cpp.o qtbase/src/plugins/sqldrivers/mysql/CMakeFiles/QMYSQLDriverPlugin_init.dir/QMYSQLDriverPlugin_init.cpp.o qtbase/src/plugins/sqldrivers/odbc/CMakeFiles/QODBCDriverPlugin_init.dir/QODBCDriverPlugin_init.cpp.o qtbase/src/plugins/sqldrivers/sqlite/CMakeFiles/QSQLiteDriverPlugin_init.dir/QSQLiteDriverPlugin_init.cpp.o qtbase/src/plugins/sqldrivers/ibase/CMakeFiles/QIBaseDriverPlugin_init.dir/QIBaseDriverPlugin_init.cpp.o qtbase/src/plugins/sqldrivers/mimer/CMakeFiles/QMimerSQLDriverPlugin_init.dir/QMimerSQLDriverPlugin_init.cpp.o qtbase/src/plugins/printsupport/cups/CMakeFiles/QCupsPrinterSupportPlugin_init.dir/QCupsPrinterSupportPlugin_init.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/assistant_autogen/mocs_compilation.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/__/__/shared/fontpanel/fontpanel.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/__/shared/collectionconfiguration.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/aboutdialog.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/bookmarkdialog.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/bookmarkfiltermodel.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/bookmarkitem.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/bookmarkmanager.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/bookmarkmanagerwidget.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/bookmarkmodel.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/centralwidget.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/cmdlineparser.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/contentwindow.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/findwidget.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/globalactions.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/helpbrowsersupport.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/helpdocsettings.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/helpdocsettingswidget.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/helpenginewrapper.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/helpviewer.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/helpviewerimpl.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/indexwindow.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/main.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/mainwindow.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/openpagesmanager.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/openpagesmodel.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/openpagesswitcher.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/openpageswidget.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/preferencesdialog.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/qtdocinstaller.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/remotecontrol.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/searchwidget.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/topicchooser.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/xbelsupport.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/.qt/rcc/qrc_assistant_images.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/helpviewerimpl_qtb.cpp.o qttools/src/assistant/assistant/CMakeFiles/assistant.dir/stdinlistener.cpp.o -o qtbase/bin/assistant  -Wl,-rpath,/opt/Firebird/opt/firebird/lib:  qtbase/src/gui/CMakeFiles/Gui_resources_1.dir/./.qt/rcc/qrc_qpdf_init.cpp.o  qtbase/src/gui/CMakeFiles/Gui_resources_2.dir/./.qt/rcc/qrc_gui_shaders_init.cpp.o  qttools/src/assistant/help/CMakeFiles/Help_resources_1.dir/./.qt/rcc/qrc_helpsystem_init.cpp.o  qtbase/src/widgets/CMakeFiles/Widgets_resources_1.dir/./.qt/rcc/qrc_qstyle_init.cpp.o  qtbase/src/widgets/CMakeFiles/Widgets_resources_2.dir/./.qt/rcc/qrc_qstyle1_init.cpp.o  qtbase/src/widgets/CMakeFiles/Widgets_resources_3.dir/./.qt/rcc/qrc_qstyle_fusion_init.cpp.o  qtbase/src/widgets/CMakeFiles/Widgets_resources_4.dir/./.qt/rcc/qrc_qmessagebox_init.cpp.o  qtbase/src/printsupport/CMakeFiles/PrintSupport_resources_1.dir/./.qt/rcc/qrc_qprintdialog_init.cpp.o  qtbase/src/printsupport/CMakeFiles/PrintSupport_resources_2.dir/./.qt/rcc/qrc_qprintdialog1_init.cpp.o  qtbase/src/plugins/platforms/eglfs/CMakeFiles/EglFSDeviceIntegrationPrivate_resources_1.dir/./.qt/rcc/qrc_cursor_init.cpp.o  qtbase/lib/libQt6Gui.a  qtbase/lib/libQt6Help.a  qtbase/lib/libQt6Network.a  qtbase/lib/libQt6Sql.a  qtbase/lib/libQt6Widgets.a  qtbase/lib/libQt6PrintSupport.a  qtbase/lib/libqlitehtml.a  qtbase/lib/libQt6Core.a  qtbase/plugins/platforms/libqxcb.a  qtbase/plugins/xcbglintegrations/libqxcb-egl-integration.a  qtbase/plugins/xcbglintegrations/libqxcb-glx-integration.a  qtbase/plugins/egldeviceintegrations/libqeglfs-x11-integration.a  qtbase/plugins/egldeviceintegrations/libqeglfs-kms-integration.a  qtbase/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.a  qtbase/plugins/egldeviceintegrations/libqeglfs-emu-integration.a  qtbase/plugins/imageformats/libqico.a  qtbase/plugins/imageformats/libqjpeg.a  qtbase/plugins/imageformats/libqgif.a  qtbase/plugins/imageformats/libqtga.a  qtbase/plugins/imageformats/libqwbmp.a  qtbase/plugins/imageformats/libqtiff.a  qtbase/plugins/imageformats/libqwebp.a  qtbase/plugins/imageformats/libqicns.a  qtbase/plugins/iconengines/libqsvgicon.a  qtbase/plugins/imageformats/libqsvg.a  qtbase/plugins/networkinformation/libqnetworkmanager.a  qtbase/plugins/networkinformation/libqglib.a  qtbase/plugins/tls/libqopensslbackend.a  qtbase/plugins/sqldrivers/libqsqlpsql.a  qtbase/plugins/sqldrivers/libqsqlmysql.a  qtbase/plugins/sqldrivers/libqsqlodbc.a  qtbase/plugins/sqldrivers/libqsqlite.a  qtbase/plugins/sqldrivers/libqsqlibase.a  qtbase/plugins/sqldrivers/libqsqlmimer.a  qtbase/plugins/printsupport/libcupsprintersupport.a  qtbase/lib/libQt6PrintSupport.a  qtbase/plugins/printsupport/libcupsprintersupport.a  qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/liblitehtml.a  qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/src/gumbo/libgumbo.a  qtbase/lib/libQt6XcbQpa.a  /usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so  /usr/lib/x86_64-linux-gnu/libxkbcommon.so  /usr/lib/x86_64-linux-gnu/libxcb-cursor.so  /usr/lib/x86_64-linux-gnu/libxcb-icccm.so  /usr/lib/x86_64-linux-gnu/libxcb-image.so  /usr/lib/x86_64-linux-gnu/libxcb-keysyms.so  /usr/lib/x86_64-linux-gnu/libxcb-randr.so  /usr/lib/x86_64-linux-gnu/libxcb-render-util.so  /usr/lib/x86_64-linux-gnu/libxcb-shm.so  /usr/lib/x86_64-linux-gnu/libxcb-sync.so  /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so  /usr/lib/x86_64-linux-gnu/libxcb-render.so  /usr/lib/x86_64-linux-gnu/libxcb-shape.so  /usr/lib/x86_64-linux-gnu/libxcb-xkb.so  /usr/lib/x86_64-linux-gnu/libSM.so  /usr/lib/x86_64-linux-gnu/libICE.so  /usr/lib/x86_64-linux-gnu/libxcb-glx.so  /usr/lib/x86_64-linux-gnu/libX11-xcb.so  /usr/lib/x86_64-linux-gnu/libxcb.so  qtbase/lib/libQt6EglFsKmsGbmSupport.a  /usr/lib/x86_64-linux-gnu/libgbm.so  qtbase/lib/libQt6EglFsKmsSupport.a  qtbase/lib/libQt6KmsSupport.a  /usr/lib/x86_64-linux-gnu/libdrm.so  qtbase/lib/libQt6EglFSDeviceIntegration.a  qtbase/lib/libQt6FbSupport.a  qtbase/lib/libQt6InputSupport.a  qtbase/lib/libQt6DeviceDiscoverySupport.a  /usr/lib/x86_64-linux-gnu/libudev.so  qtbase/lib/libQt6OpenGL.a  qtbase/lib/libQt6BundledLibjpeg.a  /usr/lib/x86_64-linux-gnu/libtiff.so  /usr/lib/x86_64-linux-gnu/libwebp.so  /usr/lib/x86_64-linux-gnu/libwebpdemux.so  /usr/lib/x86_64-linux-gnu/libwebpmux.so  qtbase/lib/libQt6Svg.a  /usr/lib/x86_64-linux-gnu/libgobject-2.0.so  /usr/lib/x86_64-linux-gnu/libgio-2.0.so  qtbase/lib/libQt6Network.a  /usr/lib/x86_64-linux-gnu/libbrotlidec.so  /usr/lib/x86_64-linux-gnu/libresolv.so  /usr/lib/x86_64-linux-gnu/libpq.so  /usr/lib/x86_64-linux-gnu/libmysqlclient.so  /usr/lib/x86_64-linux-gnu/libodbc.so  /opt/Firebird/opt/firebird/lib/libfbclient.so  qtbase/lib/libQt6Sql.a  /usr/lib/libmimerapi.so  /usr/lib/x86_64-linux-gnu/libcups.so  qtbase/lib/libQt6PrintSupport.a  qtbase/lib/libQt6Widgets.a  qtbase/lib/libQt6Gui.a  /usr/lib/x86_64-linux-gnu/libGL.so  /usr/lib/x86_64-linux-gnu/libEGL.so  qtbase/lib/libQt6BundledLibpng.a  qtbase/lib/libQt6BundledHarfbuzz.a  /usr/lib/x86_64-linux-gnu/libfreetype.so  /usr/lib/x86_64-linux-gnu/libfontconfig.so  /usr/lib/x86_64-linux-gnu/libX11.so  qtbase/lib/libQt6DBus.a  /usr/lib/x86_64-linux-gnu/libdbus-1.so  /usr/lib/x86_64-linux-gnu/libxkbcommon.so  qtbase/lib/libQt6Core.a  /usr/lib/x86_64-linux-gnu/libz.so  /usr/lib/x86_64-linux-gnu/libglib-2.0.so  /usr/lib/x86_64-linux-gnu/libgthread-2.0.so  /usr/lib/x86_64-linux-gnu/libzstd.so  -lm  /usr/lib/x86_64-linux-gnu/libicui18n.so  /usr/lib/x86_64-linux-gnu/libicuuc.so  -ldl  /usr/lib/x86_64-linux-gnu/libicudata.so  qtbase/lib/libQt6BundledPcre2.a  /usr/lib/x86_64-linux-gnu/librt.a && :
      /usr/bin/ld: warning: libtommath.so.1, needed by /opt/Firebird/opt/firebird/lib/libfbclient.so, not found (try using -rpath or -rpath-link)
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_add'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_clear'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_init'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_mod'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_radix_size'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_mul'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_cmp'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_copy'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_div'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_read_unsigned_bin'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_exptmod'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_init_copy'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_unsigned_bin_size'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_toradix'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_to_unsigned_bin'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_read_radix'
      /usr/bin/ld: /opt/Firebird/opt/firebird/lib/libfbclient.so: undefined reference to `mp_sub'
      collect2: error: ld returned 1 exit status
      [12500/16056] Building CXX object qttools 

      PATH:  /opt/SquishCoco/bin/:/opt/upx-4.2.4-amd64_linux:/opt/go1.22.4.linux-amd64/bin:/opt/cmake-3.27.7/bin:/home/qt/.local/bin:/home/qt/sccache_wrapper:/usr/local/sccache:/opt/node-v18.16.0-linux-x64/bin:/home/qt/.local/bin:/home/qt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin

      Fails on linux x64, works on linux arm64, macOS and windows x64 and arm64.

      Build passed last time with qt5 SHA1 963d72200853a808e7f84815056bb422dde2e5cf, first failing build qt5 SHA1 e3d11f3547dfc71bd57c6dc4b4dc740170538e30.

      Attachments

        1. 690_linux_static_build_log_tail.txt
          475 kB
          Johanna Äijälä
        2. 690_linux_static_configure.txt
          22 kB
          Johanna Äijälä
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            teheikki Tero Heikkinen
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes