-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Build with make fails on Linux #8225
Comments
Besides, install of ninja-build is missing in the CentOS instructions, so if one follows them, build is going to fail. |
@andrei-mart can you make a pull request for the docs ? Or provide the exact steps needed to be added here ? |
This seems to have been introduced with commit 2b3be7f. |
The earlier change moved cql_message.cc from the ql_parser library to the ql_util library. Apparently ninja can figure out a build order that works, but when using cmake, there is an unsatisfied dependency on a header file built by bison in the parser library. Adding a dependency at the library level so that ql_parser will get built before ql_util, creates a circular dependency, since ql_parser already has a dependency (two actually) on ql_util. Instead, a lower-level dependency needs to be added so that bison is run before cql_message is built. Will put up a change shortly. |
@ddorian for the docs, line "sudo yum install -y cmake3 ctest3" should be changed to be "sudo yum install -y cmake3 ctest3 ninja-build". |
Summary: Earlier move of file between libraries (2b3be7f) left an unsatisfied dependency that does not show up with ninja. Test Plan: yb_build.sh --make Jenkins: compile only Reviewers: alex, dmitry, amartsinchyk, mbautin Reviewed By: mbautin Subscribers: yql Differential Revision: https://phabricator.dev.yugabyte.com/D11428
Summary: Earlier move of file between libraries (2b3be7f) left an unsatisfied dependency that does not show up with ninja. Test Plan: yb_build.sh --make Jenkins: compile only Reviewers: alex, dmitry, amartsinchyk, mbautin Reviewed By: mbautin Subscribers: yql Differential Revision: https://phabricator.dev.yugabyte.com/D11428
Summary: See title Test Plan: ybd --cxx-test integration-tests_tablet-split-itest --gtest_filter TabletSplitYedisTableTest.BlockSplittingYedisTablet Reviewers: timur, bogdan Reviewed By: bogdan Subscribers: ybase, bogdan Differential Revision: https://phabricator.dev.yugabyte.com/D11689
Reproduced on CentOS 7 and CentOS 8
If either ninja-build package is missing or make build is explicitly specified with
./yb_build.sh --make
compilation fails with message
The yb/yql/cql/ql/parser/location.hh is supposed to be generated by Bison, so presumably the grammar file is not processed by make.
The text was updated successfully, but these errors were encountered: