You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Keith Hughitt (Jira)" <ji...@apache.org> on 2020/09/01 14:33:00 UTC
[jira] [Created] (ARROW-9894) Arrow 1.0.1 fails to build on Arch
Linux (gtest.cc:4388:13: error: ignoring return value of 'size_t
fwrite(const void*, size_t, size_t, FILE*)'...
Keith Hughitt created ARROW-9894:
------------------------------------
Summary: Arrow 1.0.1 fails to build on Arch Linux (gtest.cc:4388:13: error: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)'...
Key: ARROW-9894
URL: https://issues.apache.org/jira/browse/ARROW-9894
Project: Apache Arrow
Issue Type: Bug
Affects Versions: 1.0.1
Environment:
- Arch Linux 5.8.3
- Arrow 1.0.1
- CMake 3.18.2
Reporter: Keith Hughitt
When attempting to build Arrow 1.0.1 for Arch Linux, an error is encountered that appears to be related to a warning generated in a test:
```
[ 0%] Performing build step for 'googletest_ep'
CMake Error at /mnt/storage/software/arrow/src/build/googletest_ep-prefix/src/googletest_ep-stamp/googletest_ep-build-RELEASE.cmake:37 (message):
Command failed: 2
'make'
See also
/mnt/storage/software/arrow/src/build/googletest_ep-prefix/src/googletest_ep-stamp/googletest_ep-build-*.log
-- stdout output is:
[ 12%] Building CXX object googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
-- stderr output is:
In file included from /mnt/storage/software/arrow/src/build/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest-all.cc:41:0:
/mnt/storage/software/arrow/src/build/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc: In constructor 'testing::internal::ScopedPrematureExitFile::ScopedPrematureExitFile(const char*)':
/mnt/storage/software/arrow/src/build/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:4388:13: error: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Werror=unused-result]
fwrite("0", 1, 1, pfile);
~~~~~~^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[5]: *** [googlemock/gtest/CMakeFiles/gtest.dir/build.make:82: googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:219: googlemock/gtest/CMakeFiles/gtest.dir/all] Error 2
make[3]: *** [Makefile:160: all] Error 2
CMake Error at /mnt/storage/software/arrow/src/build/googletest_ep-prefix/src/googletest_ep-stamp/googletest_ep-build-RELEASE.cmake:47 (message):
Stopping after outputting logs.
make[2]: *** [CMakeFiles/googletest_ep.dir/build.make:131: googletest_ep-prefix/src/googletest_ep-stamp/googletest_ep-build] Error 1
make[1]: *** [CMakeFiles/Makefile2:1035: CMakeFiles/googletest_ep.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
```
Attempted installation via PKGBUILD: https://aur.archlinux.org/packages/arrow/
--
This message was sent by Atlassian Jira
(v8.3.4#803005)