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

level db build fail #15

Open
jingchen2222 opened this issue Jul 22, 2021 · 1 comment
Open

level db build fail #15

jingchen2222 opened this issue Jul 22, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jingchen2222
Copy link
Collaborator

jingchen2222 commented Jul 22, 2021

Fail to build LevelDB.
https://github.com/jingchen2222/hybridsql-asserts/runs/3120408910?check_suite_focus=true

+ '[' -f leveldb_succ ']'
+ tar zxf leveldb-1.20.tar.gz
+ pushd leveldb-1.20
~/work/hybridsql-asserts/hybridsql-asserts/src/leveldb-1.20 ~/work/hybridsql-asserts/hybridsql-asserts/src ~/work/hybridsql-asserts/hybridsql-asserts
++ nproc
+ make -j3 'OPT=-O2 -DNDEBUG -fPIC'
mkdir out-shared
c++  -O3 -fPIC -I. -I./include -std=c++0x  -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -DLEVELDB_ATOMIC_PRESENT -O2 -DNDEBUG -fPIC -fPIC -c db/db_bench.cc -o out-shared/db/db_bench.o
mkdir out-static
mkdir out-shared/db
error: unable to open output file 'out-shared/db/db_bench.o': 'No such file or directory'
1 error generated.
make: *** [out-shared/db/db_bench.o] Error 1
make: *** Waiting for unfinished jobs....
Error: Process completed with exit code 2.

Retry building might success.
Maybe we can upgrade to higher version leveldb
google/leveldb#556

@jingchen2222 jingchen2222 added the bug Something isn't working label Jul 22, 2021
@vagetablechicken
Copy link
Collaborator

Occasionally occurring error, and probably because Makefile is not very good, has bugs when we use make -jx.
If it's really bugging us, I agree with upgrading higher level. We also can disable shared lib building to save time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants