Hi,
I got the latest source code from https://github.com/satherton/foundationdb , which uses the branch feature-redwood by default.
I followed the instruction in README.md to try to compile it, but it failed for two reasons:
- ninja: error: manifest ‘build.ninja’ still dirty after 100 tries
- ninja: build stopped: subcommand failed,
the output on the terminal is:
[1/747] Check old build system wasn’t used in source dir
[2/747] Check old build system wasn’t used in source dir
[3/747] Check old build system wasn’t used in source dir
[4/747] Check old build system wasn’t used in source dir
[5/747] Check old build system wasn’t used in source dir
[6/747] Check old build system wasn’t used in source dir
[7/747] Check old build system wasn’t used in source dir
[8/747] Check old build system wasn’t used in source dir
[9/747] Check old build system wasn’t used in source dir
[12/747] Check old build system wasn’t used in source dir
[13/747] Check old build system wasn’t used in source dir
[16/747] Building C object fdbrpc/CMakeFiles/thirdparty.dir/zlib/gzclose.c.o
[17/747] Building C object fdbrpc/CMakeFiles/thirdparty.dir/libcoroutine/Common.c.o
[18/747] Creating directories for ‘boostProject’
[19/747] Building C object fdbrpc/CMakeFiles/thirdparty.dir/zlib/zutil.c.o
[20/747] Building C object fdbrpc/CMakeFiles/thirdparty.dir/libcoroutine/Coro.c.o
[21/747] Building C object fdbrpc/CMakeFiles/thirdparty.dir/libeio/eio.c.o
FAILED: fdbrpc/CMakeFiles/thirdparty.dir/libeio/eio.c.o
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c: In function ‘_Atomic’:
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:369:30: error: expected declaration specifiers before ‘started’
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:371:15: error: storage class specified for parameter ‘want_poll_cb’
static void (*want_poll_cb) (void);
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:372:15: error: storage class specified for parameter ‘done_poll_cb’
static void (done_poll_cb) (void);
^
static _Atomic(unsigned int) max_poll_time; / reslock /
^
static _Atomic(unsigned int) max_poll_reqs; / reslock /
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:377:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘nreqs’
static _Atomic(unsigned int) nreqs; / reqlock /
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:378:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘nready’
static _Atomic(unsigned int) nready; / reqlock /
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:379:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘npending’
static _Atomic(unsigned int) npending; / reqlock /
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:380:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘max_idle’
static _Atomic(unsigned int) max_idle = 4; / maximum number of threads that can idle indefinitely /
^
static _Atomic(unsigned int) idle_timeout = 10; / number of seconds after which an idle threads exit /
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:383:17: error: storage class specified for parameter ‘wrklock’
static xmutex_t wrklock;
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:384:17: error: storage class specified for parameter ‘reslock’
static xmutex_t reslock;
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:385:17: error: storage class specified for parameter ‘reqlock’
static xmutex_t reqlock;
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:386:17: error: storage class specified for parameter ‘reqwait’
static xcond_t reqwait;
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:409:3: error: storage class specified for parameter ‘etp_worker’
} etp_worker;
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:411:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘wrk_first’
static etp_worker wrk_first; / NOT etp */
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:419:19: error: expected declaration specifiers or ‘…’ before ‘etp_worker’
etp_worker_clear (etp_worker *wrk)
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:424:18: error: expected declaration specifiers or ‘…’ before ‘etp_worker’
etp_worker_free (etp_worker *wrk)
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:436:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:444:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:454:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:464:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:480:3: error: storage class specified for parameter ‘etp_reqq’
} etp_reqq;
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:482:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘req_queue’
static etp_reqq req_queue;
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:483:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘res_queue’
static etp_reqq res_queue;
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:486:12: error: expected declaration specifiers or ‘…’ before ‘etp_reqq’
reqq_init (etp_reqq *q)
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:497:12: error: expected declaration specifiers or ‘…’ before ‘etp_reqq’
reqq_push (etp_reqq *q, ETP_REQ *req)
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:514:13: error: expected declaration specifiers or ‘…’ before ‘etp_reqq’
reqq_shift (etp_reqq *q)
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:541:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
In file included from /opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:54:0:
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:565:16: error: storage class specified for parameter ‘etp_proc’
X_THREAD_PROC (etp_proc);
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/xthread.h:110:42: note: in definition of macro ‘X_THREAD_PROC’
#define X_THREAD_PROC(name) static void *name (void *thr_arg)
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:569:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:593:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:606:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:624:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:693:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:701:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:738:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:744:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:750:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:756:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:762:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:769:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:781:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:799:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:814:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:823:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
^
/opt/app/fdb/satherton_FDB6.3/2_build/foundationdb/fdbrpc/libeio/eio.c:851:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘{’ token
{
[32/747] Building C object fdbrpc/CMakeFiles/thirdparty.dir/zlib/deflate.c.o
[33/747] Compile coveragetool
[34/747] Compile TraceLogHelper
[35/747] Compile Vexillographer
[36/747] Compile actor compiler
[37/747] Building CXX object contrib/monitoring/CMakeFiles/actor_flamegraph.dir/actor_flamegraph.cpp.o
[38/747] Building CXX object fdbmonitor/CMakeFiles/fdbmonitor.dir/fdbmonitor.cpp.o
ninja: build stopped: subcommand failed.
here are the steps I used :
- git clone https://github.com/satherton/foundationdb.git
- cmake -GNinja -DBOOST_ROOT=/kvm.bk/software/boost_1_72_0 …/foundationdb/ (succeed)
- ninja
others:
CentOS Linux release 7.6.1810 (Core)
gcc version 4.8.5 20150623 (Red Hat 4.8.5-39)
can you provide me the compiled-well rpm packages of FDB 6.3?
Thanks,