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

‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction oldAction’ has incomplete type and cannot be defined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 6.8.4
    • 6.8.4
    • Wayland Compositor
    • None
    • ae4850e52 (tqtc/lts-6.8)

    Description

      The qt/tqtc-qtwayland dependency update round fails for tqtc/lts-6.8, fails to build sources, see  https://codereview.qt-project.org/c/qt/tqtc-qtwayland/+/654993:

      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp: In member function ‘virtual void QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)’:
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:26: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction action’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                          ^~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:34: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction oldAction’ has incomplete type and cannot be defined
      
      1256: [374/945] sccache /usr/bin/g++ -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_WAYLANDCLIENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_USE_QSTRINGBUILDER -DQT_WAYLANDGLOBAL_LIB -DWaylandClient_EXPORTS -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/qt/work/qt/qtwayland_build/src/client/WaylandClient_autogen/include -I/home/qt/work/qt/qtwayland_build/include -I/home/qt/work/qt/qtwayland_build/include/QtWaylandClient -I/home/qt/work/qt/qtwayland/src/client -I/home/qt/work/qt/qtwayland_build/src/client -I/home/qt/work/qt/qtwayland/src/client/../shared -I/home/qt/work/qt/qtwayland/src/client/global -I/home/qt/work/qt/qtwayland/src/client/hardwareintegration -I/home/qt/work/qt/qtwayland/src/client/inputdeviceintegration -I/home/qt/work/qt/qtwayland/src/client/shellintegration -I/home/qt/work/qt/qtwayland_build/include/QtWaylandClient/6.8.4 -I/home/qt/work/qt/qtwayland_build/include/QtWaylandClient/6.8.4/QtWaylandClient -I/home/qt/work/qt/qtwayland_build/include/QtWaylandGlobal -I/home/qt/work/qt/qtwayland/src -I/home/qt/work/qt/qtwayland_build/src -I/home/qt/work/qt/qtwayland_build/include/QtWaylandGlobal/6.8.4 -I/home/qt/work/qt/qtwayland_build/include/QtWaylandGlobal/6.8.4/QtWaylandGlobal -isystem /home/qt/work/install/include/QtCore -isystem /home/qt/work/install/include -isystem /home/qt/work/install/mkspecs/linux-g++ -isystem /home/qt/work/install/include/QtGui -isystem /home/qt/work/install/include/QtCore/6.8.4 -isystem /home/qt/work/install/include/QtCore/6.8.4/QtCore -isystem /home/qt/work/install/include/QtGui/6.8.4 -isystem /home/qt/work/install/include/QtGui/6.8.4/QtGui -g -DNDEBUG -O2 -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -U_FORTIFY_SOURCE -Wsuggest-override -fcf-protection=full -D_FORTIFY_SOURCE=3 -fstack-protector-strong -fstack-clash-protection -MD -MT src/client/CMakeFiles/WaylandClient.dir/qwaylandprimaryselectionv1.cpp.o -MF src/client/CMakeFiles/WaylandClient.dir/qwaylandprimaryselectionv1.cpp.o.d -o src/client/CMakeFiles/WaylandClient.dir/qwaylandprimaryselectionv1.cpp.o -c /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp
      FAILED: src/client/CMakeFiles/WaylandClient.dir/qwaylandprimaryselectionv1.cpp.o
      sccache /usr/bin/g++ -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_WAYLANDCLIENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_USE_QSTRINGBUILDER -DQT_WAYLANDGLOBAL_LIB -DWaylandClient_EXPORTS -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/qt/work/qt/qtwayland_build/src/client/WaylandClient_autogen/include -I/home/qt/work/qt/qtwayland_build/include -I/home/qt/work/qt/qtwayland_build/include/QtWaylandClient -I/home/qt/work/qt/qtwayland/src/client -I/home/qt/work/qt/qtwayland_build/src/client -I/home/qt/work/qt/qtwayland/src/client/../shared -I/home/qt/work/qt/qtwayland/src/client/global -I/home/qt/work/qt/qtwayland/src/client/hardwareintegration -I/home/qt/work/qt/qtwayland/src/client/inputdeviceintegration -I/home/qt/work/qt/qtwayland/src/client/shellintegration -I/home/qt/work/qt/qtwayland_build/include/QtWaylandClient/6.8.4 -I/home/qt/work/qt/qtwayland_build/include/QtWaylandClient/6.8.4/QtWaylandClient -I/home/qt/work/qt/qtwayland_build/include/QtWaylandGlobal -I/home/qt/work/qt/qtwayland/src -I/home/qt/work/qt/qtwayland_build/src -I/home/qt/work/qt/qtwayland_build/include/QtWaylandGlobal/6.8.4 -I/home/qt/work/qt/qtwayland_build/include/QtWaylandGlobal/6.8.4/QtWaylandGlobal -isystem /home/qt/work/install/include/QtCore -isystem /home/qt/work/install/include -isystem /home/qt/work/install/mkspecs/linux-g++ -isystem /home/qt/work/install/include/QtGui -isystem /home/qt/work/install/include/QtCore/6.8.4 -isystem /home/qt/work/install/include/QtCore/6.8.4/QtCore -isystem /home/qt/work/install/include/QtGui/6.8.4 -isystem /home/qt/work/install/include/QtGui/6.8.4/QtGui -g -DNDEBUG -O2 -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -U_FORTIFY_SOURCE -Wsuggest-override -fcf-protection=full -D_FORTIFY_SOURCE=3 -fstack-protector-strong -fstack-clash-protection -MD -MT src/client/CMakeFiles/WaylandClient.dir/qwaylandprimaryselectionv1.cpp.o -MF src/client/CMakeFiles/WaylandClient.dir/qwaylandprimaryselectionv1.cpp.o.d -o src/client/CMakeFiles/WaylandClient.dir/qwaylandprimaryselectionv1.cpp.o -c /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp: In member function ‘virtual void QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)’:
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:26: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction action’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                          ^~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:34: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction oldAction’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                                  ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:122:29: error: ‘SIG_IGN’ was not declared in this scope
      
      1259: /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp: In member function ‘virtual void QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)’:
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:26: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction action’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                          ^~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:34: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction oldAction’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                                  ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:122:29: error: ‘SIG_IGN’ was not declared in this scope
        122 |         action.sa_handler = SIG_IGN;
            |                             ^~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:123:9: error: ‘sigemptyset’ was not declared in this scope
      
      1262:       |                          ^~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:34: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction oldAction’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                                  ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:122:29: error: ‘SIG_IGN’ was not declared in this scope
        122 |         action.sa_handler = SIG_IGN;
            |                             ^~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:123:9: error: ‘sigemptyset’ was not declared in this scope
        123 |         sigemptyset (&action.sa_mask);
            |         ^~~~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:19: error: ‘SIGPIPE’ was not declared in this scope; did you mean ‘EPIPE’?
      
      1266: /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:122:29: error: ‘SIG_IGN’ was not declared in this scope
        122 |         action.sa_handler = SIG_IGN;
            |                             ^~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:123:9: error: ‘sigemptyset’ was not declared in this scope
        123 |         sigemptyset (&action.sa_mask);
            |         ^~~~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:19: error: ‘SIGPIPE’ was not declared in this scope; did you mean ‘EPIPE’?
        126 |         sigaction(SIGPIPE, &action, &oldAction);
            |                   ^~~~~~~
            |                   EPIPE
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
      
      1272: /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:19: error: ‘SIGPIPE’ was not declared in this scope; did you mean ‘EPIPE’?
        126 |         sigaction(SIGPIPE, &action, &oldAction);
            |                   ^~~~~~~
            |                   EPIPE
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        126 |         sigaction(SIGPIPE, &action, &oldAction);
            |                                               ^
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:16: note: forward declaration of ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        121 |         struct sigaction action, oldAction;
            |                ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:127:26: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
      
      1276: /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        126 |         sigaction(SIGPIPE, &action, &oldAction);
            |                                               ^
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:16: note: forward declaration of ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        121 |         struct sigaction action, oldAction;
            |                ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:127:26: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
        127 |         ssize_t unused = write(fd, content.constData(), size_t(content.size()));
            |                          ^~~~~
            |                          fwrite
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:129:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
      
      1282: /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:127:26: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
        127 |         ssize_t unused = write(fd, content.constData(), size_t(content.size()));
            |                          ^~~~~
            |                          fwrite
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:129:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        129 |         sigaction(SIGPIPE, &oldAction, nullptr);
            |                                               ^
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:16: note: forward declaration of ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        121 |         struct sigaction action, oldAction;
            |                ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:131:5: error: ‘close’ was not declared in this scope; did you mean ‘pclose’?
      
      1288:       |                                               ^
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:16: note: forward declaration of ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        121 |         struct sigaction action, oldAction;
            |                ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:131:5: error: ‘close’ was not declared in this scope; did you mean ‘pclose’?
        131 |     close(fd);
            |     ^~~~~
            |     pclose
      Sccache command failed, re-try calling build tool directly
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp: In member function ‘virtual void QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)’:
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:26: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction action’ has incomplete type and cannot be defined
      
      1291:       |                ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:131:5: error: ‘close’ was not declared in this scope; did you mean ‘pclose’?
        131 |     close(fd);
            |     ^~~~~
            |     pclose
      Sccache command failed, re-try calling build tool directly
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp: In member function ‘virtual void QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)’:
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:26: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction action’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                          ^~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:34: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction oldAction’ has incomplete type and cannot be defined
      
      1294:       |     ^~~~~
            |     pclose
      Sccache command failed, re-try calling build tool directly
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp: In member function ‘virtual void QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)’:
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:26: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction action’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                          ^~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:34: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction oldAction’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                                  ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:122:29: error: ‘SIG_IGN’ was not declared in this scope
      
      1297: /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp: In member function ‘virtual void QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)’:
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:26: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction action’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                          ^~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:34: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction oldAction’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                                  ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:122:29: error: ‘SIG_IGN’ was not declared in this scope
        122 |         action.sa_handler = SIG_IGN;
            |                             ^~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:123:9: error: ‘sigemptyset’ was not declared in this scope
      
      1300:       |                          ^~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:34: error: aggregate ‘QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction oldAction’ has incomplete type and cannot be defined
        121 |         struct sigaction action, oldAction;
            |                                  ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:122:29: error: ‘SIG_IGN’ was not declared in this scope
        122 |         action.sa_handler = SIG_IGN;
            |                             ^~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:123:9: error: ‘sigemptyset’ was not declared in this scope
        123 |         sigemptyset (&action.sa_mask);
            |         ^~~~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:19: error: ‘SIGPIPE’ was not declared in this scope; did you mean ‘EPIPE’?
      
      1304: /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:122:29: error: ‘SIG_IGN’ was not declared in this scope
        122 |         action.sa_handler = SIG_IGN;
            |                             ^~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:123:9: error: ‘sigemptyset’ was not declared in this scope
        123 |         sigemptyset (&action.sa_mask);
            |         ^~~~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:19: error: ‘SIGPIPE’ was not declared in this scope; did you mean ‘EPIPE’?
        126 |         sigaction(SIGPIPE, &action, &oldAction);
            |                   ^~~~~~~
            |                   EPIPE
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
      
      1310: /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:19: error: ‘SIGPIPE’ was not declared in this scope; did you mean ‘EPIPE’?
        126 |         sigaction(SIGPIPE, &action, &oldAction);
            |                   ^~~~~~~
            |                   EPIPE
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        126 |         sigaction(SIGPIPE, &action, &oldAction);
            |                                               ^
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:16: note: forward declaration of ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        121 |         struct sigaction action, oldAction;
            |                ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:127:26: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
      
      1314: /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:126:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        126 |         sigaction(SIGPIPE, &action, &oldAction);
            |                                               ^
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:16: note: forward declaration of ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        121 |         struct sigaction action, oldAction;
            |                ^~~~~~~~~
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:127:26: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
        127 |         ssize_t unused = write(fd, content.constData(), size_t(content.size()));
            |                          ^~~~~
            |                          fwrite
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:129:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
      
      1320: /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:127:26: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
        127 |         ssize_t unused = write(fd, content.constData(), size_t(content.size()));
            |                          ^~~~~
            |                          fwrite
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:129:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        129 |         sigaction(SIGPIPE, &oldAction, nullptr);
            |                                               ^
      /home/qt/work/qt/qtwayland/src/client/qwaylandprimaryselectionv1.cpp:121:16: note: forward declaration of ‘struct QtWaylandClient::QWaylandPrimarySelectionSourceV1::zwp_primary_selection_source_v1_send(const QString&, int32_t)::sigaction’
        121 |         struct sigaction action, oldAction;

      Build log: https://ci-files01-hki.ci.qt.io/cilogs/qt/qtwayland/2496297da77e024609761ff917a86b17c0642234/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-51-1e78d5GenerateSBOM_Sccache_UseConfigure_VerifySBOM/7cc30bdcd0a7a6f62b7305dca6ff534d63bc171c/build_1750635507/log.txt.gz

      Details: https://ci-files01-hki.ci.qt.io:8081/coin/integration/qt/tqtc-qtwayland/tasks/1750634702

      Tested changes (refs/builds/qtci/tqtc/lts-6.8/1750631468):
      https://codereview.qt-project.org/c/qt/tqtc-qtwayland/+/654993/2 Update dependencies on 'tqtc/lts-6.8' in qt/tqtc-qtwayland

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            tarjasundqvist Tarja Sundqvist
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes