[1/33] Compiling C++ object test-libXi.p/tests_lib_libXi.cpp.o FAILED: test-libXi.p/tests_lib_libXi.cpp.o ccache c++ -Itest-libXi.p -I. -I.. -I../gtest/gtest/include -I../gtest/gtest -I../gtest/include -I/usr/local/include -I../tests/common -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O0 -g -DHAVE_XI24=1 '-DRECORDINGS_DIR="/home/ptoret/xorg-integration-tests/recordings/"' -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -D_THREAD_SAFE -MD -MQ test-libXi.p/tests_lib_libXi.cpp.o -MF test-libXi.p/tests_lib_libXi.cpp.o.d -o test-libXi.p/tests_lib_libXi.cpp.o -c ../tests/lib/libXi.cpp ../tests/lib/libXi.cpp:25:10: fatal error: linux/input.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. [2/33] Compiling C++ object test-libX11.p/tests_lib_libX11.cpp.o FAILED: test-libX11.p/tests_lib_libX11.cpp.o ccache c++ -Itest-libX11.p -I. -I.. -I../gtest/gtest/include -I../gtest/gtest -I../gtest/include -I/usr/local/include -I../tests/common -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O0 -g -DHAVE_XI24=1 '-DRECORDINGS_DIR="/home/ptoret/xorg-integration-tests/recordings/"' -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -D_THREAD_SAFE -MD -MQ test-libX11.p/tests_lib_libX11.cpp.o -MF test-libX11.p/tests_lib_libX11.cpp.o.d -o test-libX11.p/tests_lib_libX11.cpp.o -c ../tests/lib/libX11.cpp ../tests/lib/libX11.cpp:25:10: fatal error: linux/input.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. [3/33] Compiling C++ object libxorg-gtest.a.p/gtest_src_process.cpp.o FAILED: libxorg-gtest.a.p/gtest_src_process.cpp.o ccache c++ -Ilibxorg-gtest.a.p -I. -I.. -I../gtest/gtest/include -I../gtest/gtest -I../gtest/include -I/usr/local/include -I/usr/local/include/libevdev-1.0/ -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O0 -g -DHAVE_XI24=1 '-DRECORDINGS_DIR="/home/ptoret/xorg-integration-tests/recordings/"' -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-missing-field-initializers -fPIC -fvisibility=hidden -D_THREAD_SAFE '-DDUMMY_CONF_PATH="/home/ptoret/xorg-integration-tests/gtest/data/xorg/gtest/dummy.conf"' '-DLOGFILE_DIR="/tmp"' -MD -MQ libxorg-gtest.a.p/gtest_src_process.cpp.o -MF libxorg-gtest.a.p/gtest_src_process.cpp.o.d -o libxorg-gtest.a.p/gtest_src_process.cpp.o -c ../gtest/src/process.cpp ../gtest/src/process.cpp:30:10: fatal error: sys/prctl.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. [4/33] Compiling C++ object libxorg-gtest.a.p/gtest_src_xserver.cpp.o FAILED: libxorg-gtest.a.p/gtest_src_xserver.cpp.o ccache c++ -Ilibxorg-gtest.a.p -I. -I.. -I../gtest/gtest/include -I../gtest/gtest -I../gtest/include -I/usr/local/include -I/usr/local/include/libevdev-1.0/ -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O0 -g -DHAVE_XI24=1 '-DRECORDINGS_DIR="/home/ptoret/xorg-integration-tests/recordings/"' -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-missing-field-initializers -fPIC -fvisibility=hidden -D_THREAD_SAFE '-DDUMMY_CONF_PATH="/home/ptoret/xorg-integration-tests/gtest/data/xorg/gtest/dummy.conf"' '-DLOGFILE_DIR="/tmp"' -MD -MQ libxorg-gtest.a.p/gtest_src_xserver.cpp.o -MF libxorg-gtest.a.p/gtest_src_xserver.cpp.o.d -o libxorg-gtest.a.p/gtest_src_xserver.cpp.o -c ../gtest/src/xserver.cpp ../gtest/src/xserver.cpp:32:10: fatal error: sys/prctl.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. [5/33] Compiling C++ object test-xserver.p/tests_server_grab.cpp.o FAILED: test-xserver.p/tests_server_grab.cpp.o ccache c++ -Itest-xserver.p -I. -I.. -I../gtest/gtest/include -I../gtest/gtest -I../gtest/include -I/usr/local/include -I../tests/common -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O0 -g -DHAVE_XI24=1 '-DRECORDINGS_DIR="/home/ptoret/xorg-integration-tests/recordings/"' -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -D_THREAD_SAFE -MD -MQ test-xserver.p/tests_server_grab.cpp.o -MF test-xserver.p/tests_server_grab.cpp.o.d -o test-xserver.p/tests_server_grab.cpp.o -c ../tests/server/grab.cpp ../tests/server/grab.cpp:34:10: fatal error: linux/input-event-codes.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. [6/33] Compiling C++ object libxorg-gtest.a.p/gtest_src_xorg-gtest_main.cpp.o FAILED: libxorg-gtest.a.p/gtest_src_xorg-gtest_main.cpp.o ccache c++ -Ilibxorg-gtest.a.p -I. -I.. -I../gtest/gtest/include -I../gtest/gtest -I../gtest/include -I/usr/local/include -I/usr/local/include/libevdev-1.0/ -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O0 -g -DHAVE_XI24=1 '-DRECORDINGS_DIR="/home/ptoret/xorg-integration-tests/recordings/"' -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-missing-field-initializers -fPIC -fvisibility=hidden -D_THREAD_SAFE '-DDUMMY_CONF_PATH="/home/ptoret/xorg-integration-tests/gtest/data/xorg/gtest/dummy.conf"' '-DLOGFILE_DIR="/tmp"' -MD -MQ libxorg-gtest.a.p/gtest_src_xorg-gtest_main.cpp.o -MF libxorg-gtest.a.p/gtest_src_xorg-gtest_main.cpp.o.d -o libxorg-gtest.a.p/gtest_src_xorg-gtest_main.cpp.o -c ../gtest/src/xorg-gtest_main.cpp ../gtest/src/xorg-gtest_main.cpp: In function 'void setup_signal_handlers()': ../gtest/src/xorg-gtest_main.cpp:83:5: error: 'SIGPOLL' was not declared in this scope SIGPOLL, ^~~~~~~ ../gtest/src/xorg-gtest_main.cpp:83:5: note: suggested alternative: 'SIGILL' SIGPOLL, ^~~~~~~ SIGILL ../gtest/src/xorg-gtest_main.cpp:91:5: error: 'SIGSTKFLT' was not declared in this scope SIGSTKFLT, ^~~~~~~~~ ../gtest/src/xorg-gtest_main.cpp:91:5: note: suggested alternative: 'T_STKFLT' SIGSTKFLT, ^~~~~~~~~ T_STKFLT ../gtest/src/xorg-gtest_main.cpp:93:5: error: 'SIGPWR' was not declared in this scope SIGPWR, ^~~~~~ ../gtest/src/xorg-gtest_main.cpp:93:5: note: suggested alternative: 'SIGTHR' SIGPWR, ^~~~~~ SIGTHR [7/33] Compiling C++ object libxit.a.p/tests_common_xit-server-test.cpp.o FAILED: libxit.a.p/tests_common_xit-server-test.cpp.o ccache c++ -Ilibxit.a.p -I. -I.. -I../gtest/gtest/include -I../gtest/gtest -I../gtest/include -I/usr/local/include -I../tests/common -I/usr/local/include/pixman-1 -I/usr/local/include/libevdev-1.0/ -I/usr/local/include/xorg -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O0 -g -DHAVE_XI24=1 '-DRECORDINGS_DIR="/home/ptoret/xorg-integration-tests/recordings/"' -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-missing-field-initializers -fPIC -fvisibility=hidden -D_THREAD_SAFE '-DLOG_BASE_PATH="/tmp"' -MD -MQ libxit.a.p/tests_common_xit-server-test.cpp.o -MF libxit.a.p/tests_common_xit-server-test.cpp.o.d -o libxit.a.p/tests_common_xit-server-test.cpp.o -c ../tests/common/xit-server-test.cpp ../tests/common/xit-server-test.cpp: In member function 'virtual void XITServerTest::StartServer()': ../tests/common/xit-server-test.cpp:130:16: error: 'SIGALRM' was not declared in this scope signal(SIGALRM, sighandler_alarm); ^~~~~~~ ../tests/common/xit-server-test.cpp:130:9: error: 'signal' was not declared in this scope signal(SIGALRM, sighandler_alarm); ^~~~~~ ../tests/common/xit-server-test.cpp:130:9: note: suggested alternative: 'signed' signal(SIGALRM, sighandler_alarm); ^~~~~~ signed [8/33] Compiling C++ object test-process.p/gtest_test_process-test.cpp.o FAILED: test-process.p/gtest_test_process-test.cpp.o ccache c++ -Itest-process.p -I. -I.. -I../gtest/gtest/include -I../gtest/gtest -I../gtest/include -I/usr/local/include -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O0 -g -DHAVE_XI24=1 '-DRECORDINGS_DIR="/home/ptoret/xorg-integration-tests/recordings/"' -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden '-DTEST_BUILD_DIR="/home/ptoret/xorg-integration-tests/_build/"' -MD -MQ test-process.p/gtest_test_process-test.cpp.o -MF test-process.p/gtest_test_process-test.cpp.o.d -o test-process.p/gtest_test_process-test.cpp.o -c ../gtest/test/process-test.cpp ../gtest/test/process-test.cpp: In member function 'virtual void Process_ChildTearDown_Test::TestBody()': ../gtest/test/process-test.cpp:97:11: error: 'SIGKILL' was not declared in this scope raise(SIGKILL); ^~~~~~~ ../gtest/test/process-test.cpp:97:5: error: 'raise' was not declared in this scope raise(SIGKILL); ^~~~~ ../gtest/test/process-test.cpp:97:5: note: suggested alternative: 'pause' raise(SIGKILL); ^~~~~ pause ../gtest/test/process-test.cpp:107:11: error: 'kill' was not declared in this scope if (kill(child_pid, 0) != -1) ^~~~ In file included from ../gtest/gtest/include/gtest/gtest.h:382, from ../gtest/test/process-test.cpp:9: ../gtest/test/process-test.cpp:111:15: error: 'kill' was not declared in this scope ASSERT_EQ(kill(child_pid, 0), -1); ^~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:32: note: in expansion of macro 'GTEST_IS_NULL_LITERAL_' EqHelper::Compare, \ ^~~~~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/process-test.cpp:111:5: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(kill(child_pid, 0), -1); ^~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:60: error: template argument 1 is invalid EqHelper::Compare, \ ^ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/process-test.cpp:111:5: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(kill(child_pid, 0), -1); ^~~~~~~~~ ../gtest/test/process-test.cpp: In member function 'virtual void Process_TerminationFailure_Test::TestBody()': ../gtest/test/process-test.cpp:124:3: error: 'sigemptyset' was not declared in this scope sigemptyset(&sig_mask); ^~~~~~~~~~~ ../gtest/test/process-test.cpp:124:3: note: suggested alternative: 'cgetset' sigemptyset(&sig_mask); ^~~~~~~~~~~ cgetset ../gtest/test/process-test.cpp:125:24: error: 'SIGUSR1' was not declared in this scope sigaddset(&sig_mask, SIGUSR1); ^~~~~~~ ../gtest/test/process-test.cpp:125:24: note: suggested alternative: 'SI_USER' sigaddset(&sig_mask, SIGUSR1); ^~~~~~~ SI_USER ../gtest/test/process-test.cpp:125:3: error: 'sigaddset' was not declared in this scope sigaddset(&sig_mask, SIGUSR1); ^~~~~~~~~ ../gtest/test/process-test.cpp:131:3: error: 'sigtimedwait' was not declared in this scope sigtimedwait(&sig_mask, nullptr, &sig_timeout); ^~~~~~~~~~~~ ../gtest/test/process-test.cpp:131:3: note: suggested alternative: 'sig_timeout' sigtimedwait(&sig_mask, nullptr, &sig_timeout); ^~~~~~~~~~~~ sig_timeout ../gtest/test/process-test.cpp:134:17: error: 'SIGSTOP' was not declared in this scope kill(p.Pid(), SIGSTOP); ^~~~~~~ ../gtest/test/process-test.cpp:134:3: error: 'kill' was not declared in this scope kill(p.Pid(), SIGSTOP); ^~~~ ../gtest/test/process-test.cpp: In member function 'virtual void Process_DoubleStart_Test::TestBody()': ../gtest/test/process-test.cpp:171:3: error: 'sigemptyset' was not declared in this scope sigemptyset(&sig_mask); ^~~~~~~~~~~ ../gtest/test/process-test.cpp:171:3: note: suggested alternative: 'cgetset' sigemptyset(&sig_mask); ^~~~~~~~~~~ cgetset ../gtest/test/process-test.cpp:172:24: error: 'SIGCHLD' was not declared in this scope sigaddset(&sig_mask, SIGCHLD); ^~~~~~~ ../gtest/test/process-test.cpp:172:3: error: 'sigaddset' was not declared in this scope sigaddset(&sig_mask, SIGCHLD); ^~~~~~~~~ ../gtest/test/process-test.cpp:173:24: error: 'SIGUSR1' was not declared in this scope sigaddset(&sig_mask, SIGUSR1); ^~~~~~~ ../gtest/test/process-test.cpp:173:24: note: suggested alternative: 'SI_USER' sigaddset(&sig_mask, SIGUSR1); ^~~~~~~ SI_USER ../gtest/test/process-test.cpp:174:15: error: 'SIG_BLOCK' was not declared in this scope sigprocmask(SIG_BLOCK, &sig_mask, 0); ^~~~~~~~~ ../gtest/test/process-test.cpp:174:15: note: suggested alternative: 'F_LOCK' sigprocmask(SIG_BLOCK, &sig_mask, 0); ^~~~~~~~~ F_LOCK ../gtest/test/process-test.cpp:174:3: error: 'sigprocmask' was not declared in this scope sigprocmask(SIG_BLOCK, &sig_mask, 0); ^~~~~~~~~~~ ../gtest/test/process-test.cpp:174:3: note: suggested alternative: 'sig_mask' sigprocmask(SIG_BLOCK, &sig_mask, 0); ^~~~~~~~~~~ sig_mask In file included from ../gtest/gtest/include/gtest/gtest.h:382, from ../gtest/test/process-test.cpp:9: ../gtest/test/process-test.cpp:183:13: error: 'sigtimedwait' was not declared in this scope ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &sig_timeout), SIGCHLD); ^~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:32: note: in expansion of macro 'GTEST_IS_NULL_LITERAL_' EqHelper::Compare, \ ^~~~~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/process-test.cpp:183:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &sig_timeout), SIGCHLD); ^~~~~~~~~ ../gtest/test/process-test.cpp:183:13: note: suggested alternative: 'sig_timeout' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &sig_timeout), SIGCHLD); ^~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:32: note: in expansion of macro 'GTEST_IS_NULL_LITERAL_' EqHelper::Compare, \ ^~~~~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/process-test.cpp:183:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &sig_timeout), SIGCHLD); ^~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:60: error: template argument 1 is invalid EqHelper::Compare, \ ^ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/process-test.cpp:183:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &sig_timeout), SIGCHLD); ^~~~~~~~~ ../gtest/test/process-test.cpp:192:13: error: 'sigtimedwait' was not declared in this scope ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &sig_timeout), SIGCHLD); ^~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:32: note: in expansion of macro 'GTEST_IS_NULL_LITERAL_' EqHelper::Compare, \ ^~~~~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/process-test.cpp:192:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &sig_timeout), SIGCHLD); ^~~~~~~~~ ../gtest/test/process-test.cpp:192:13: note: suggested alternative: 'sig_timeout' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &sig_timeout), SIGCHLD); ^~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:32: note: in expansion of macro 'GTEST_IS_NULL_LITERAL_' EqHelper::Compare, \ ^~~~~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/process-test.cpp:192:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &sig_timeout), SIGCHLD); ^~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:60: error: template argument 1 is invalid EqHelper::Compare, \ ^ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/process-test.cpp:192:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &sig_timeout), SIGCHLD); ^~~~~~~~~ ../gtest/test/process-test.cpp:199:3: error: 'sigtimedwait' was not declared in this scope sigtimedwait(&sig_mask, nullptr, &sig_timeout); ^~~~~~~~~~~~ ../gtest/test/process-test.cpp:199:3: note: suggested alternative: 'sig_timeout' sigtimedwait(&sig_mask, nullptr, &sig_timeout); ^~~~~~~~~~~~ sig_timeout In file included from ../gtest/gtest/include/gtest/gtest.h:382, from ../gtest/test/process-test.cpp:9: ../gtest/gtest/include/gtest/gtest.h:1983:60: error: template argument 1 is invalid EqHelper::Compare, \ ^ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/process-test.cpp:212:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &sig_timeout), SIGCHLD); ^~~~~~~~~ ../gtest/test/process-test.cpp:232:15: error: 'SIG_UNBLOCK' was not declared in this scope sigprocmask(SIG_UNBLOCK, &sig_mask, 0); ^~~~~~~~~~~ ../gtest/test/process-test.cpp:232:15: note: suggested alternative: 'F_ULOCK' sigprocmask(SIG_UNBLOCK, &sig_mask, 0); ^~~~~~~~~~~ F_ULOCK ../gtest/test/process-test.cpp: In member function 'virtual void ProcessValgrindWrapper_ValgrindWrapper_Test::TestBody()': ../gtest/test/process-test.cpp:314:24: error: 'program_invocation_short_name' was not declared in this scope } while(strstr(buff, program_invocation_short_name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gtest/test/process-test.cpp: In member function 'virtual void ProcessValgrindArgsWrapper_ValgrindWrapperWithArgs_Test::TestBody()': ../gtest/test/process-test.cpp:355:24: error: 'program_invocation_short_name' was not declared in this scope } while(strstr(buff, program_invocation_short_name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [9/33] Compiling C++ object test-gtest-xserver.p/gtest_test_xserver-test.cpp.o FAILED: test-gtest-xserver.p/gtest_test_xserver-test.cpp.o ccache c++ -Itest-gtest-xserver.p -I. -I.. -I../gtest/gtest/include -I../gtest/gtest -I../gtest/include -I/usr/local/include -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O0 -g -DHAVE_XI24=1 '-DRECORDINGS_DIR="/home/ptoret/xorg-integration-tests/recordings/"' -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden '-DTEST_BUILD_DIR="/home/ptoret/xorg-integration-tests/_build/"' '-DDUMMY_CONF_PATH="/home/ptoret/xorg-integration-tests/gtest/data/xorg/gtest/dummy.conf"' '-DLOGFILE_DIR="/tmp"' -MD -MQ test-gtest-xserver.p/gtest_test_xserver-test.cpp.o -MF test-gtest-xserver.p/gtest_test_xserver-test.cpp.o.d -o test-gtest-xserver.p/gtest_test_xserver-test.cpp.o -c ../gtest/test/xserver-test.cpp ../gtest/test/xserver-test.cpp: In member function 'virtual void XServer_KeepAlive_Test::TestBody()': ../gtest/test/xserver-test.cpp:299:3: error: 'sigemptyset' was not declared in this scope sigemptyset(&sig_mask); ^~~~~~~~~~~ ../gtest/test/xserver-test.cpp:299:3: note: suggested alternative: 'cgetset' sigemptyset(&sig_mask); ^~~~~~~~~~~ cgetset ../gtest/test/xserver-test.cpp:300:24: error: 'SIGCHLD' was not declared in this scope sigaddset(&sig_mask, SIGCHLD); ^~~~~~~ ../gtest/test/xserver-test.cpp:300:3: error: 'sigaddset' was not declared in this scope sigaddset(&sig_mask, SIGCHLD); ^~~~~~~~~ ../gtest/test/xserver-test.cpp:302:15: error: 'SIG_BLOCK' was not declared in this scope sigprocmask(SIG_BLOCK, &sig_mask, nullptr); ^~~~~~~~~ ../gtest/test/xserver-test.cpp:302:15: note: suggested alternative: 'F_LOCK' sigprocmask(SIG_BLOCK, &sig_mask, nullptr); ^~~~~~~~~ F_LOCK ../gtest/test/xserver-test.cpp:302:3: error: 'sigprocmask' was not declared in this scope sigprocmask(SIG_BLOCK, &sig_mask, nullptr); ^~~~~~~~~~~ ../gtest/test/xserver-test.cpp:302:3: note: suggested alternative: 'sig_mask' sigprocmask(SIG_BLOCK, &sig_mask, nullptr); ^~~~~~~~~~~ sig_mask In file included from ../gtest/gtest/include/gtest/gtest.h:382, from ../gtest/include/xorg/gtest/xorg-gtest-environment.h:35, from ../gtest/include/xorg/gtest/xorg-gtest.h:31, from ../gtest/test/xserver-test.cpp:8: ../gtest/test/xserver-test.cpp:312:13: error: 'sigtimedwait' was not declared in this scope ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &tv), SIGCHLD); ^~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:32: note: in expansion of macro 'GTEST_IS_NULL_LITERAL_' EqHelper::Compare, \ ^~~~~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/xserver-test.cpp:312:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &tv), SIGCHLD); ^~~~~~~~~ ../gtest/test/xserver-test.cpp:312:13: note: suggested alternative: 'utimensat' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &tv), SIGCHLD); ^~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:32: note: in expansion of macro 'GTEST_IS_NULL_LITERAL_' EqHelper::Compare, \ ^~~~~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/xserver-test.cpp:312:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &tv), SIGCHLD); ^~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:60: error: template argument 1 is invalid EqHelper::Compare, \ ^ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/xserver-test.cpp:312:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(sigtimedwait(&sig_mask, nullptr, &tv), SIGCHLD); ^~~~~~~~~ ../gtest/test/xserver-test.cpp:317:13: error: 'kill' was not declared in this scope ASSERT_EQ(kill(server_pid, 0), 0); ^~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:32: note: in expansion of macro 'GTEST_IS_NULL_LITERAL_' EqHelper::Compare, \ ^~~~~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/xserver-test.cpp:317:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(kill(server_pid, 0), 0); ^~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1983:60: error: template argument 1 is invalid EqHelper::Compare, \ ^ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/xserver-test.cpp:317:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(kill(server_pid, 0), 0); ^~~~~~~~~ ../gtest/test/xserver-test.cpp:318:20: error: 'SIGTERM' was not declared in this scope kill(server_pid, SIGTERM); ^~~~~~~ ../gtest/test/xserver-test.cpp:318:3: error: 'kill' was not declared in this scope kill(server_pid, SIGTERM); ^~~~ In file included from ../gtest/gtest/include/gtest/gtest.h:382, from ../gtest/include/xorg/gtest/xorg-gtest-environment.h:35, from ../gtest/include/xorg/gtest/xorg-gtest.h:31, from ../gtest/test/xserver-test.cpp:8: ../gtest/gtest/include/gtest/gtest.h:1983:60: error: template argument 1 is invalid EqHelper::Compare, \ ^ ../gtest/gtest/include/gtest/gtest_pred_impl.h:76:52: note: in definition of macro 'GTEST_ASSERT_' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ ../gtest/gtest/include/gtest/gtest_pred_impl.h:165:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_' GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:1982:3: note: in expansion of macro 'ASSERT_PRED_FORMAT2' ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ ../gtest/gtest/include/gtest/gtest.h:2000:32: note: in expansion of macro 'GTEST_ASSERT_EQ' # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ ../gtest/test/xserver-test.cpp:325:3: note: in expansion of macro 'ASSERT_EQ' ASSERT_EQ(kill(server_pid, 0), -1); ^~~~~~~~~ [10/33] Compiling C++ object test-xserver.p/tests_server_gestures.cpp.o ninja: build stopped: subcommand failed.