Thanks for taking the time to respond. After this I reinstalled my docker machine, redid every step on a fresh Ubuntu 16.04 image. The problem disappeared. The build reached [100%].
On Tue, 9 Jan 2018 at 22:46 Jim Apple <jbap...@cloudera.com> wrote: > I haven't I was unable to reproduce this in an Ubuntu 16.04 docker. > > That file is generated by Thrift, so it could be something odd going > on there. Maybe you have thrift of another version installed in the > container and the toolchain version (in $IMPALA_HOME/toolchain) is > being overridden? > > Can you try with a fresh container and report back the commit hash > that is failing? > > On Sat, Jan 6, 2018 at 7:43 AM, Anant Prakash <anantprakash...@gmail.com> > wrote: > > I have tried running `source ~/Impala/bin/bootstrap_development.sh` > several > > times but the build exits with an error. > > I followed the instruction from here > > < > https://cwiki.apache.org/confluence/display/IMPALA/Docker+for+Impala+Developers > > > > . > > Have tried both ubuntu:16.04 and ubuntu:14.04 images. > > last section with the error is pasted below. > > Scanning dependencies of target protoc-gen-krpc > > [ 14%] Building CXX object > > be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/protoc-gen-krpc.cc.o > > [ 14%] Building CXX object > > > be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/__/__/common/kudu_version.cc.o > > In file included from > > /home/impdev/Impala/be/src/common/kudu_version.cc:20:0: > > /home/impdev/Impala/be/src/common/status.h:28:50: fatal error: > > gen-cpp/Status_types.h: No such file or directory > > #include "gen-cpp/Status_types.h" // for TStatus > > ^ > > compilation terminated. > > make[2]: *** > > > [be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/__/__/common/kudu_version.cc.o] > > Error 1 > > make[1]: *** [be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/all] Error 2 > > make: *** [all] Error 2 > > Error in /home/impdev/Impala/bin/make_impala.sh at line 178: ${MAKE_CMD} > > ${MAKE_ARGS} > > > > Many thanks > > Anant >