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

[REG 6.5.0 snapshot->6.5.0 current] Qt source build fails on linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • None
    • 6.5.0 FF
    • Wayland Compositor
    • Linux/X11

      Have Qt 6.5.0 sources (sha1 da78e8832df2304adb6312805a6cc6d2fa5995f) on linux, Ubuntu used in this report. Configure:

      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 /home/qt/RTA/src-6.5.0 -DCMAKE_INSTALL_PREFIX:PATH=/home/qt/RTA/src-6.5.0/qtbase
      

      Finishes fine, compile: cmake --build . --parallel, fails:

      [10541/12680] Building CXX object qtwayland/src/plugins/hardwareintegration/client/drm-egl-server/CMakeFiles/DrmEglServerBufferPlugin.dir/main.cpp.o
      FAILED: qtwayland/src/plugins/hardwareintegration/client/drm-egl-server/CMakeFiles/DrmEglServerBufferPlugin.dir/main.cpp.o 
      /usr/bin/g++ -DDrmEglServerBufferPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DQT_WAYLANDCLIENT_LIB -DQT_WAYLANDGLOBAL_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/qt/RTA/src-6.5.0/qtwayland/src/plugins/hardwareintegration/client/drm-egl-server/DrmEglServerBufferPlugin_autogen/include -I/home/qt/RTA/src-6.5.0/qtwayland/src/plugins/hardwareintegration/client/drm-egl-server -I/home/qt/RTA/src-6.5.0/qtbase/include -I/home/qt/RTA/src-6.5.0/qtwayland/src/plugins/hardwareintegration/client/drm-egl-server/../../../../hardwareintegration/client/drm-egl-server -I/home/qt/RTA/src-6.5.0/qtbase/include/QtCore -I/home/qt/RTA/src-6.5.0/qtbase/mkspecs/linux-g++ -I/home/qt/RTA/src-6.5.0/qtbase/include/QtGui -I/home/qt/RTA/src-6.5.0/qtbase/include/QtOpenGL -I/home/qt/RTA/src-6.5.0/qtwayland/src/client -I/home/qt/RTA/src-6.5.0/qtbase/include/QtWaylandClient/6.5.0 -I/home/qt/RTA/src-6.5.0/qtbase/include/QtWaylandClient/6.5.0/QtWaylandClient -I/home/qt/RTA/src-6.5.0/qtbase/src/corelib -I/home/qt/RTA/src-6.5.0/qtbase/include/QtCore/6.5.0 -I/home/qt/RTA/src-6.5.0/qtbase/include/QtCore/6.5.0/QtCore -I/home/qt/RTA/src-6.5.0/qtbase/src/gui -I/home/qt/RTA/src-6.5.0/qtbase/include/QtGui/6.5.0 -I/home/qt/RTA/src-6.5.0/qtbase/include/QtGui/6.5.0/QtGui -I/home/qt/RTA/src-6.5.0/qtbase/include/QtWaylandGlobal -I/home/qt/RTA/src-6.5.0/qtwayland/src -I/home/qt/RTA/src-6.5.0/qtbase/include/QtWaylandGlobal/6.5.0 -I/home/qt/RTA/src-6.5.0/qtbase/include/QtWaylandGlobal/6.5.0/QtWaylandGlobal -I/home/qt/RTA/src-6.5.0/qtbase/include/QtWaylandClient -DNDEBUG -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -Wsuggest-override -std=c++17 -MD -MT qtwayland/src/plugins/hardwareintegration/client/drm-egl-server/CMakeFiles/DrmEglServerBufferPlugin.dir/main.cpp.o -MF qtwayland/src/plugins/hardwareintegration/client/drm-egl-server/CMakeFiles/DrmEglServerBufferPlugin.dir/main.cpp.o.d -o qtwayland/src/plugins/hardwareintegration/client/drm-egl-server/CMakeFiles/DrmEglServerBufferPlugin.dir/main.cpp.o -c /home/qt/RTA/src-6.5.0/qtwayland/src/plugins/hardwareintegration/client/drm-egl-server/main.cpp
      In file included from /home/qt/RTA/src-6.5.0/qtwayland/src/plugins/hardwareintegration/client/drm-egl-server/main.cpp:5:
      /home/qt/RTA/src-6.5.0/qtwayland/src/plugins/hardwareintegration/client/drm-egl-server/../../../../hardwareintegration/client/drm-egl-server/drmeglserverbufferintegration.h:7:10: fatal error: QtWaylandClient/private/qwayland-wayland.h: No such file or directory
      

      Configure summary and longer log attached.

      Reproduces also on RHEL and SLES.

      Was working with sha1 982b8ddb3d7812a3acb60d60a1fc41f4ee442fc0 on 20.9.2022.

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

            esabraha Eskil Abrahamsen Blomfeldt
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes