-
Notifications
You must be signed in to change notification settings - Fork 3.7k
include header file for ‘preadv' which caused break build on ubuntu 18.04 #1602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update fork from source
update code
synchronize with base
merge from original branch.
sync from master main branch.
[ 38%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/scalar.cc.o
/media/lenmom/新加卷/workspace/open-source/incubator-doris-0.10.0-rc01/thirdparty/src/arrow-apache-arrow-0.13.0/cpp/src/arrow/util/compression_snappy.cc:24:10: fatal error: snappy.h: No such file or directory
#include <snappy.h>
^~~~~~~~~~
compilation terminated.
src/arrow/CMakeFiles/arrow_objlib.dir/build.make:110: recipe for target 'src/arrow/CMakeFiles/arrow_objlib.dir/util/compression_snappy.cc.o' failed
make[2]: *** [src/arrow/CMakeFiles/arrow_objlib.dir/util/compression_snappy.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 38%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/tensor.cc.o
CMakeFiles/Makefile2:860: recipe for target 'src/arrow/CMakeFiles/arrow_objlib.dir/all' failed
make[1]: *** [src/arrow/CMakeFiles/arrow_objlib.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
cp: cannot stat './zstd_ep-install/lib64/libzstd.a': No such file or directory
syncronize
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:99:27: error: ‘preadv’ was not declared in this scope
RETRY_ON_EINTR(r, preadv(fd, iov + completed_iov, iov_count, cur_offset));
^
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
(err) = (expr); \
^~~~
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:99:27: note: suggested alternative: ‘pread’
RETRY_ON_EINTR(r, preadv(fd, iov + completed_iov, iov_count, cur_offset));
^
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
(err) = (expr); \
^~~~
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp: In function ‘doris::Status doris::do_writev_at(int, const string&, uint64_t, const doris::Slice*, size_t, size_t*)’:
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:156:27: error: ‘pwritev’ was not declared in this scope
RETRY_ON_EINTR(w, pwritev(fd, iov + completed_iov, iov_count, cur_offset));
^
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
(err) = (expr); \
^~~~
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:156:27: note: suggested alternative: ‘pwrite’
RETRY_ON_EINTR(w, pwritev(fd, iov + completed_iov, iov_count, cur_offset));
^
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
(err) = (expr); \
^~~~
src/env/CMakeFiles/Env.dir/build.make:62: recipe for target 'src/env/CMakeFiles/Env.dir/env_posix.cpp.o' failed
make[2]: *** [src/env/CMakeFiles/Env.dir/env_posix.cpp.o] Error 1
CMakeFiles/Makefile2:361: recipe for target 'src/env/CMakeFiles/Env.dir/all' failed
make[1]: *** [src/env/CMakeFiles/Env.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 4%] Building CXX object src/exprs/CMakeFiles/Exprs.dir/conditional_functions.cpp.o
imay
approved these changes
Aug 7, 2019
swjtu-zhanglei
pushed a commit
to swjtu-zhanglei/incubator-doris
that referenced
this pull request
Jul 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:99:27: error: ‘preadv’ was not declared in this scope
RETRY_ON_EINTR(r, preadv(fd, iov + completed_iov, iov_count, cur_offset));
^
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
(err) = (expr);
^~~~
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:99:27: note: suggested alternative: ‘pread’
RETRY_ON_EINTR(r, preadv(fd, iov + completed_iov, iov_count, cur_offset));
^
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
(err) = (expr);
^~~~
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp: In function ‘doris::Status doris::do_writev_at(int, const string&, uint64_t, const doris::Slice*, size_t, size_t*)’:
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:156:27: error: ‘pwritev’ was not declared in this scope
RETRY_ON_EINTR(w, pwritev(fd, iov + completed_iov, iov_count, cur_offset));
^
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
(err) = (expr);
^~~~
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:156:27: note: suggested alternative: ‘pwrite’
RETRY_ON_EINTR(w, pwritev(fd, iov + completed_iov, iov_count, cur_offset));
^
/media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
(err) = (expr);
^~~~
src/env/CMakeFiles/Env.dir/build.make:62: recipe for target 'src/env/CMakeFiles/Env.dir/env_posix.cpp.o' failed
make[2]: *** [src/env/CMakeFiles/Env.dir/env_posix.cpp.o] Error 1
CMakeFiles/Makefile2:361: recipe for target 'src/env/CMakeFiles/Env.dir/all' failed
make[1]: *** [src/env/CMakeFiles/Env.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....