Yuri created ARROW-12625: ---------------------------- Summary: Tests fail to compile: error: use of undeclared identifier 'WEXITSTATUS' Key: ARROW-12625 URL: https://issues.apache.org/jira/browse/ARROW-12625 Project: Apache Arrow Issue Type: Bug Environment: OS: FreeBSD 12.2 Reporter: Yuri
{code:java} /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test/client_tests.cc:66:5: error: use of undeclared identifier 'WIFEXITED' PLASMA_CHECK_SYSTEM(system(plasma_command.c_str())); ^ /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test_util.h:42:17: note: expanded from macro 'PLASMA_CHECK_SYSTEM' EXPECT_TRUE(WIFEXITED(status__)); \ ^ /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test/client_tests.cc:66:5: error: use of undeclared identifier 'WEXITSTATUS' /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test_util.h:43:15: note: expanded from macro 'PLASMA_CHECK_SYSTEM' EXPECT_EQ(WEXITSTATUS(status__), 0); \ ^ /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test/client_tests.cc:85:5: error: use of undeclared identifier 'WIFEXITED' PLASMA_CHECK_SYSTEM(system(plasma_kill_command.c_str())); ^ /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test_util.h:42:17: note: expanded from macro 'PLASMA_CHECK_SYSTEM' EXPECT_TRUE(WIFEXITED(status__)); \ ^ /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test/client_tests.cc:85:5: error: use of undeclared identifier 'WEXITSTATUS' /disk-samsung/freebsd-ports/databases/arrow/work/apache-arrow-4.0.0/cpp/src/plasma/test_util.h:43:15: note: expanded from macro 'PLASMA_CHECK_SYSTEM' EXPECT_EQ(WEXITSTATUS(status__), 0); \ ^ 4 errors generated. {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)