Details
-
Bug
-
Resolution: Fixed
-
P0: Blocker
-
None
-
6.9.1
-
None
Description
/home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp: In member function ‘virtual void QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)’: /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:148:26: error: aggregate ‘QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction action’ has incomplete type and cannot be defined 148 | struct sigaction action, oldAction; | ^~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:148:34: error: aggregate ‘QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction oldAction’ has incomplete type and cannot be defined 148 | struct sigaction action, oldAction; | ^~~~~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:149:29: error: ‘SIG_IGN’ was not declared in this scope 149 | action.sa_handler = SIG_IGN; | ^~~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:150:9: error: ‘sigemptyset’ was not declared in this scope 150 | sigemptyset (&action.sa_mask); | ^~~~~~~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:153:19: error: ‘SIGPIPE’ was not declared in this scope; did you mean ‘EPIPE’? 153 | sigaction(SIGPIPE, &action, &oldAction); | ^~~~~~~ | EPIPE /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:153:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction’ 153 | sigaction(SIGPIPE, &action, &oldAction); | ^ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:148:16: note: forward declaration of ‘struct QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction’ 148 | struct sigaction action, oldAction; | ^~~~~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:154:26: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’? 154 | ssize_t unused = write(fd, content.constData(), size_t(content.size())); | ^~~~~ | fwrite /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:156:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction’ 156 | sigaction(SIGPIPE, &oldAction, nullptr); | ^ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:148:16: note: forward declaration of ‘struct QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction’ 148 | struct sigaction action, oldAction; | ^~~~~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:158:5: error: ‘close’ was not declared in this scope; did you mean ‘pclose’? 158 | close(fd); | ^~~~~ | pclose Sccache command failed, re-try calling build tool directly /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp: In member function ‘virtual void QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)’: /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:148:26: error: aggregate ‘QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction action’ has incomplete type and cannot be defined 148 | struct sigaction action, oldAction; | ^~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:148:34: error: aggregate ‘QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction oldAction’ has incomplete type and cannot be defined 148 | struct sigaction action, oldAction; | ^~~~~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:149:29: error: ‘SIG_IGN’ was not declared in this scope 149 | action.sa_handler = SIG_IGN; | ^~~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:150:9: error: ‘sigemptyset’ was not declared in this scope 150 | sigemptyset (&action.sa_mask); | ^~~~~~~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:153:19: error: ‘SIGPIPE’ was not declared in this scope; did you mean ‘EPIPE’? 153 | sigaction(SIGPIPE, &action, &oldAction); | ^~~~~~~ | EPIPE /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:153:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction’ 153 | sigaction(SIGPIPE, &action, &oldAction); | ^ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:148:16: note: forward declaration of ‘struct QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction’ 148 | struct sigaction action, oldAction; | ^~~~~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:154:26: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’? 154 | ssize_t unused = write(fd, content.constData(), size_t(content.size())); | ^~~~~ | fwrite /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:156:47: error: invalid use of incomplete type ‘struct QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction’ 156 | sigaction(SIGPIPE, &oldAction, nullptr); | ^ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:148:16: note: forward declaration of ‘struct QtWaylandClient::QWaylandDataControlSourceV1::zwlr_data_control_source_v1_send(const QString&, int32_t)::sigaction’ 148 | struct sigaction action, oldAction; | ^~~~~~~~~ /home/qt/work/qt/qtwayland/src/client/qwaylanddatacontrolv1.cpp:158:5: error: ‘close’ was not declared in this scope; did you mean ‘pclose’? 158 | close(fd); | ^~~~~ | pclose
Details: https://testresults.qt.io/coin/integration/qt/qtwayland/tasks/1744751415
Tested changes (refs/builds/qtci/6.9/1744750396):
https://codereview.qt-project.org/c/qt/qtwayland/+/636994/1 Bump version to 6.9.1
https://codereview.qt-project.org/c/qt/qtwayland/+/640163/2 Update dependencies on '6.9' in qt/qtwayland