Skip to content
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

location.hh might not be found during the build, potential missing dependency #10061

Open
mbautin opened this issue Sep 21, 2021 · 0 comments
Open
Assignees
Labels
area/ycql Yugabyte CQL (YCQL) kind/bug This issue is a bug priority/medium Medium priority issue

Comments

@mbautin
Copy link
Collaborator

mbautin commented Sep 21, 2021

Jira Link: DB-4878
Saw this on the 2.6 branch when trying to build yb-admin by itself:
./yb_build.sh release --target yb-admin --save-log --sccl

The error is as follows and it is fully repeatable:

( cd "/mnt/ramdisk/yugabyte-db/build/release-gcc-dynamic-ninja" && PATH=/opt/yb-build/brew/linuxbrew-20181203T161736v9/bin:$PATH YB_THIRDPARTY_DIR=/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v2.6-20210916160338-07ec4592b1-centos7-linuxbrew /opt/yb-build/brew/linuxbrew-20181203T161736v9/bin/g++ -Dql_util_EXPORTS -Isrc -I../../ent/src -I../../src -Ipostgres/include -isystem /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v2.6-20210916160338-07ec4592b1-centos7-linuxbrew/installed/common/include -isystem /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v2.6-20210916160338-07ec4592b1-centos7-linuxbrew/installed/uninstrumented/include -Werror -fno-strict-aliasing -msse4.2 -Wall -Wno-sign-compare -Wno-deprecated -Winvalid-pch -pthread -DBOOST_BIND_NO_PLACEHOLDERS -DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX -DROCKSDB_PLATFORM_POSIX -DBOOST_ERROR_CODE_HEADER_ONLY -march=ivybridge -mcx16 -DYB_COMPILER_TYPE=gcc -DYB_COMPILER_VERSION=5.5.0 -DROCKSDB_LIB_IO_POSIX -DSNAPPY -DZLIB -mno-avx -mno-bmi -mno-bmi2 -mno-fma -D__STDC_FORMAT_MACROS -Wno-deprecated-declarations -DGFLAGS=gflags -Wnon-virtual-dtor -Werror=enum-compare -Werror=reorder -Werror=switch -Werror=return-type -Werror=non-virtual-dtor -DYB_HEADERS_NO_STUBS=1 -O3 -g -DNDEBUG -fno-omit-frame-pointer -mno-abm -mno-movbe -fPIC -DTCMALLOC_ENABLED -fPIC -std=gnu++14 -MD -MT src/yb/yql/cql/ql/util/CMakeFiles/ql_util.dir/cql_message.cc.o -MF src/yb/yql/cql/ql/util/CMakeFiles/ql_util.dir/cql_message.cc.o.d -o src/yb/yql/cql/ql/util/CMakeFiles/ql_util.dir/cql_message.cc.o -c ../../src/yb/yql/cql/ql/util/cql_message.cc )  # Compiler exit code: 1.

/-------------------------------------------------------------------------------
| COMPILATION FAILED
|-------------------------------------------------------------------------------
In file included from src/yb/yql/cql/ql/parser/parse_context.h:21:0,
                 from src/yb/yql/cql/ql/parser/parser.h:23,
                 from src/yb/yql/cql/ql/ql_processor.h:26,
                 from src/yb/yql/cql/cqlserver/cql_processor.h:30,
                 from src/yb/yql/cql/ql/util/cql_message.cc:26:
src/yb/yql/cql/ql/parser/location.h:24:44: fatal error: yb/yql/cql/ql/parser/location.hh: No such file or directory
compilation terminated.

Input files:
  src/yb/yql/cql/ql/util/CMakeFiles/ql_util.dir/cql_message.cc.o
  src/yb/yql/cql/ql/util/cql_message.cc
Output file (from -o): src/yb/yql/cql/ql/util/CMakeFiles/ql_util.dir/cql_message.cc.o
\-------------------------------------------------------------------------------

@mbautin mbautin self-assigned this Sep 21, 2021
@rthallamko3 rthallamko3 added the area/ycql Yugabyte CQL (YCQL) label Jan 3, 2023
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ycql Yugabyte CQL (YCQL) kind/bug This issue is a bug priority/medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

3 participants