Re: problem about buildall.sh

2017-08-03 Thread Henry Robinson
Glad to hear it - and sorry about this annoying edge case.

On 3 August 2017 at 04:14, yu feng  wrote:

> Great ! it is finish successfully after remove glog-0.3.4-p2 and pull to
> the newest commit. Thanks all of you.
>
> 2017-08-03 13:30 GMT+08:00 Henry Robinson :
>
> > I think you're hitting the problem where you're not picking up the most
> > recent version of gflags. IMPALA-5659 added .so building to gflags, but
> > didn't bump the patch level or version number, and the toolchain doesn't
> > have a great way of dealing with that situation.
> >
> > Do the following:
> >
> > rm -rf ${IMPALA_TOOLCHAIN}/gflags-${IMPALA_GFLAGS_VERSION}
> > . bin/impala-config.sh
> > bin/bootstrap_toolchain.py
> >
> > and then try rebuilding.
> >
> >
> > On 2 August 2017 at 22:24, yu feng  wrote:
> >
> > > I will try to delete toolchain/glog-0.3.4-p2/ and rebuild, However, I
> > have
> > > remove all toochains before. I try again now.
> > >
> > > 2017-08-03 12:49 GMT+08:00 Tim Armstrong :
> > >
> > > > It looks like the error is:
> > > >
> > > > > -- --> Adding thirdparty library glog. <--
> > > > > -- Header files: /home/hzfengyu/impala/apache-
> > impala/incubator-impala/
> > > > > toolchain/glog-0.3.4-p2/include
> > > > > -- Added shared library dependency glog:
> > /home/hzfengyu/impala/apache-
> > > > > impala/incubator-impala/toolchain/glog-0.3.4-p2/lib/libglog.so
> > > > > CMake Error at CMakeLists.txt:178 (IMPALA_ADD_THIRDPARTY_LIB):
> > > > >   IMPALA_ADD_THIRDPARTY_LIB Function invoked with incorrect
> arguments
> > > for
> > > > >   function named: IMPALA_ADD_THIRDPARTY_LIB
> > > >
> > > > Has anyone seen this before?
> > > >
> > > > One thing you can try is deleting glog then rebuilding. E.g.
> > > >
> > > > rm -r toolchain/glog-0.3.4-p2/
> > > >
> > > > On Wed, Aug 2, 2017 at 9:34 PM, yu feng 
> wrote:
> > > >
> > > > > CMakeOutput.log :
> > > > >
> > > > >
> > > > >
> > > > > The system is: Linux - 3.16.0-4-amd64 - x86_64
> > > > > Compiling the C compiler identification source file
> > > "CMakeCCompilerId.c"
> > > > > succeeded.
> > > > > Compiler:
> > > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > > toolchain/gcc-4.9.2/bin/gcc
> > > > > Build flags:
> > > > > Id flags:
> > > > >
> > > > > The output was:
> > > > > 0
> > > > >
> > > > >
> > > > > Compilation of the C compiler identification source
> > > "CMakeCCompilerId.c"
> > > > > produced "a.out"
> > > > >
> > > > > The C compiler identification is GNU, found in
> > > > > "/home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > > CMakeFiles/3.2.3/CompilerIdC/a.out"
> > > > >
> > > > > Compiling the CXX compiler identification source file
> > > > > "CMakeCXXCompilerId.cpp" succeeded.
> > > > > Compiler:
> > > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > > toolchain/gcc-4.9.2/bin/g++
> > > > > Build flags:
> > > > > Id flags:
> > > > >
> > > > > The output was:
> > > > > 0
> > > > >
> > > > >
> > > > > Compilation of the CXX compiler identification source
> > > > > "CMakeCXXCompilerId.cpp" produced "a.out"
> > > > >
> > > > > The CXX compiler identification is GNU, found in
> > > > > "/home/hzfengyu/impala/apache-impala/incubator-impala/
> > > CMakeFiles/3.2.3/
> > > > > CompilerIdCXX/a.out"
> > > > >
> > > > > Determining if the C compiler works passed with the following
> output:
> > > > > Change Dir:
> > > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > CMakeFiles/CMakeTmp
> > > > >
> > > > > Run Build Command:"/usr/bin/make" "cmTryCompileExec2174981562/
> fast"
> > > > > /usr/bin/make -f CMakeFiles/cmTryCompileExec2174981562.
> > dir/build.make
> > > > > CMakeFiles/cmTryCompileExec2174981562.dir/build
> > > > > make[1]: Entering directory
> > > > > '/home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > CMakeFiles/CMakeTmp'
> > > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > > toolchain/cmake-3.2.3-p1/bin/cmake
> > > > > -E cmake_progress_report
> > > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > > CMakeFiles/CMakeTmp/CMakeFiles
> > > > > 1
> > > > > Building C object
> > > > > CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o
> > > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > > toolchain/gcc-4.9.2/bin/gcc
> > > > >-o CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o
> >  -c
> > > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > CMakeFiles/CMakeTmp/
> > > > > testCCompiler.c
> > > > > Linking C executable cmTryCompileExec2174981562
> > > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > > toolchain/cmake-3.2.3-p1/bin/cmake
> > > > > -E cmake_link_script CMakeFiles/cmTryCompileExec2174981562.
> > > dir/link.txt
> > > > > --verbose=1
> > > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > > toolchain/gcc-4.9.2/bin/gcc
> > > > >

Re: problem about buildall.sh

2017-08-03 Thread yu feng
Great ! it is finish successfully after remove glog-0.3.4-p2 and pull to
the newest commit. Thanks all of you.

2017-08-03 13:30 GMT+08:00 Henry Robinson :

> I think you're hitting the problem where you're not picking up the most
> recent version of gflags. IMPALA-5659 added .so building to gflags, but
> didn't bump the patch level or version number, and the toolchain doesn't
> have a great way of dealing with that situation.
>
> Do the following:
>
> rm -rf ${IMPALA_TOOLCHAIN}/gflags-${IMPALA_GFLAGS_VERSION}
> . bin/impala-config.sh
> bin/bootstrap_toolchain.py
>
> and then try rebuilding.
>
>
> On 2 August 2017 at 22:24, yu feng  wrote:
>
> > I will try to delete toolchain/glog-0.3.4-p2/ and rebuild, However, I
> have
> > remove all toochains before. I try again now.
> >
> > 2017-08-03 12:49 GMT+08:00 Tim Armstrong :
> >
> > > It looks like the error is:
> > >
> > > > -- --> Adding thirdparty library glog. <--
> > > > -- Header files: /home/hzfengyu/impala/apache-
> impala/incubator-impala/
> > > > toolchain/glog-0.3.4-p2/include
> > > > -- Added shared library dependency glog:
> /home/hzfengyu/impala/apache-
> > > > impala/incubator-impala/toolchain/glog-0.3.4-p2/lib/libglog.so
> > > > CMake Error at CMakeLists.txt:178 (IMPALA_ADD_THIRDPARTY_LIB):
> > > >   IMPALA_ADD_THIRDPARTY_LIB Function invoked with incorrect arguments
> > for
> > > >   function named: IMPALA_ADD_THIRDPARTY_LIB
> > >
> > > Has anyone seen this before?
> > >
> > > One thing you can try is deleting glog then rebuilding. E.g.
> > >
> > > rm -r toolchain/glog-0.3.4-p2/
> > >
> > > On Wed, Aug 2, 2017 at 9:34 PM, yu feng  wrote:
> > >
> > > > CMakeOutput.log :
> > > >
> > > >
> > > >
> > > > The system is: Linux - 3.16.0-4-amd64 - x86_64
> > > > Compiling the C compiler identification source file
> > "CMakeCCompilerId.c"
> > > > succeeded.
> > > > Compiler:
> > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > toolchain/gcc-4.9.2/bin/gcc
> > > > Build flags:
> > > > Id flags:
> > > >
> > > > The output was:
> > > > 0
> > > >
> > > >
> > > > Compilation of the C compiler identification source
> > "CMakeCCompilerId.c"
> > > > produced "a.out"
> > > >
> > > > The C compiler identification is GNU, found in
> > > > "/home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > CMakeFiles/3.2.3/CompilerIdC/a.out"
> > > >
> > > > Compiling the CXX compiler identification source file
> > > > "CMakeCXXCompilerId.cpp" succeeded.
> > > > Compiler:
> > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > toolchain/gcc-4.9.2/bin/g++
> > > > Build flags:
> > > > Id flags:
> > > >
> > > > The output was:
> > > > 0
> > > >
> > > >
> > > > Compilation of the CXX compiler identification source
> > > > "CMakeCXXCompilerId.cpp" produced "a.out"
> > > >
> > > > The CXX compiler identification is GNU, found in
> > > > "/home/hzfengyu/impala/apache-impala/incubator-impala/
> > CMakeFiles/3.2.3/
> > > > CompilerIdCXX/a.out"
> > > >
> > > > Determining if the C compiler works passed with the following output:
> > > > Change Dir:
> > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > CMakeFiles/CMakeTmp
> > > >
> > > > Run Build Command:"/usr/bin/make" "cmTryCompileExec2174981562/fast"
> > > > /usr/bin/make -f CMakeFiles/cmTryCompileExec2174981562.
> dir/build.make
> > > > CMakeFiles/cmTryCompileExec2174981562.dir/build
> > > > make[1]: Entering directory
> > > > '/home/hzfengyu/impala/apache-impala/incubator-impala/
> > > CMakeFiles/CMakeTmp'
> > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > toolchain/cmake-3.2.3-p1/bin/cmake
> > > > -E cmake_progress_report
> > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > CMakeFiles/CMakeTmp/CMakeFiles
> > > > 1
> > > > Building C object
> > > > CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o
> > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > toolchain/gcc-4.9.2/bin/gcc
> > > >-o CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o
>  -c
> > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > CMakeFiles/CMakeTmp/
> > > > testCCompiler.c
> > > > Linking C executable cmTryCompileExec2174981562
> > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > toolchain/cmake-3.2.3-p1/bin/cmake
> > > > -E cmake_link_script CMakeFiles/cmTryCompileExec2174981562.
> > dir/link.txt
> > > > --verbose=1
> > > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > > toolchain/gcc-4.9.2/bin/gcc
> > > >   CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o
> -o
> > > > cmTryCompileExec2174981562 -rdynamic
> > > > make[1]: Leaving directory
> > > > '/home/hzfengyu/impala/apache-impala/incubator-impala/
> > > CMakeFiles/CMakeTmp'
> > > >
> > > >
> > > > Detecting C compiler ABI info compiled with the following output:
> > > > Change Dir:
> > > > 

Re: problem about buildall.sh

2017-08-02 Thread Henry Robinson
I think you're hitting the problem where you're not picking up the most
recent version of gflags. IMPALA-5659 added .so building to gflags, but
didn't bump the patch level or version number, and the toolchain doesn't
have a great way of dealing with that situation.

Do the following:

rm -rf ${IMPALA_TOOLCHAIN}/gflags-${IMPALA_GFLAGS_VERSION}
. bin/impala-config.sh
bin/bootstrap_toolchain.py

and then try rebuilding.


On 2 August 2017 at 22:24, yu feng  wrote:

> I will try to delete toolchain/glog-0.3.4-p2/ and rebuild, However, I have
> remove all toochains before. I try again now.
>
> 2017-08-03 12:49 GMT+08:00 Tim Armstrong :
>
> > It looks like the error is:
> >
> > > -- --> Adding thirdparty library glog. <--
> > > -- Header files: /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > toolchain/glog-0.3.4-p2/include
> > > -- Added shared library dependency glog: /home/hzfengyu/impala/apache-
> > > impala/incubator-impala/toolchain/glog-0.3.4-p2/lib/libglog.so
> > > CMake Error at CMakeLists.txt:178 (IMPALA_ADD_THIRDPARTY_LIB):
> > >   IMPALA_ADD_THIRDPARTY_LIB Function invoked with incorrect arguments
> for
> > >   function named: IMPALA_ADD_THIRDPARTY_LIB
> >
> > Has anyone seen this before?
> >
> > One thing you can try is deleting glog then rebuilding. E.g.
> >
> > rm -r toolchain/glog-0.3.4-p2/
> >
> > On Wed, Aug 2, 2017 at 9:34 PM, yu feng  wrote:
> >
> > > CMakeOutput.log :
> > >
> > >
> > >
> > > The system is: Linux - 3.16.0-4-amd64 - x86_64
> > > Compiling the C compiler identification source file
> "CMakeCCompilerId.c"
> > > succeeded.
> > > Compiler:
> > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > toolchain/gcc-4.9.2/bin/gcc
> > > Build flags:
> > > Id flags:
> > >
> > > The output was:
> > > 0
> > >
> > >
> > > Compilation of the C compiler identification source
> "CMakeCCompilerId.c"
> > > produced "a.out"
> > >
> > > The C compiler identification is GNU, found in
> > > "/home/hzfengyu/impala/apache-impala/incubator-impala/
> > > CMakeFiles/3.2.3/CompilerIdC/a.out"
> > >
> > > Compiling the CXX compiler identification source file
> > > "CMakeCXXCompilerId.cpp" succeeded.
> > > Compiler:
> > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > toolchain/gcc-4.9.2/bin/g++
> > > Build flags:
> > > Id flags:
> > >
> > > The output was:
> > > 0
> > >
> > >
> > > Compilation of the CXX compiler identification source
> > > "CMakeCXXCompilerId.cpp" produced "a.out"
> > >
> > > The CXX compiler identification is GNU, found in
> > > "/home/hzfengyu/impala/apache-impala/incubator-impala/
> CMakeFiles/3.2.3/
> > > CompilerIdCXX/a.out"
> > >
> > > Determining if the C compiler works passed with the following output:
> > > Change Dir:
> > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> CMakeFiles/CMakeTmp
> > >
> > > Run Build Command:"/usr/bin/make" "cmTryCompileExec2174981562/fast"
> > > /usr/bin/make -f CMakeFiles/cmTryCompileExec2174981562.dir/build.make
> > > CMakeFiles/cmTryCompileExec2174981562.dir/build
> > > make[1]: Entering directory
> > > '/home/hzfengyu/impala/apache-impala/incubator-impala/
> > CMakeFiles/CMakeTmp'
> > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > toolchain/cmake-3.2.3-p1/bin/cmake
> > > -E cmake_progress_report
> > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > CMakeFiles/CMakeTmp/CMakeFiles
> > > 1
> > > Building C object
> > > CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o
> > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > toolchain/gcc-4.9.2/bin/gcc
> > >-o CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o   -c
> > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > CMakeFiles/CMakeTmp/
> > > testCCompiler.c
> > > Linking C executable cmTryCompileExec2174981562
> > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > toolchain/cmake-3.2.3-p1/bin/cmake
> > > -E cmake_link_script CMakeFiles/cmTryCompileExec2174981562.
> dir/link.txt
> > > --verbose=1
> > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > toolchain/gcc-4.9.2/bin/gcc
> > >   CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o  -o
> > > cmTryCompileExec2174981562 -rdynamic
> > > make[1]: Leaving directory
> > > '/home/hzfengyu/impala/apache-impala/incubator-impala/
> > CMakeFiles/CMakeTmp'
> > >
> > >
> > > Detecting C compiler ABI info compiled with the following output:
> > > Change Dir:
> > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> CMakeFiles/CMakeTmp
> > >
> > > Run Build Command:"/usr/bin/make" "cmTryCompileExec3739174323/fast"
> > > /usr/bin/make -f CMakeFiles/cmTryCompileExec3739174323.dir/build.make
> > > CMakeFiles/cmTryCompileExec3739174323.dir/build
> > > make[1]: Entering directory
> > > '/home/hzfengyu/impala/apache-impala/incubator-impala/
> > CMakeFiles/CMakeTmp'
> > > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > > 

Re: problem about buildall.sh

2017-08-02 Thread yu feng
I will try to delete toolchain/glog-0.3.4-p2/ and rebuild, However, I have
remove all toochains before. I try again now.

2017-08-03 12:49 GMT+08:00 Tim Armstrong :

> It looks like the error is:
>
> > -- --> Adding thirdparty library glog. <--
> > -- Header files: /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/glog-0.3.4-p2/include
> > -- Added shared library dependency glog: /home/hzfengyu/impala/apache-
> > impala/incubator-impala/toolchain/glog-0.3.4-p2/lib/libglog.so
> > CMake Error at CMakeLists.txt:178 (IMPALA_ADD_THIRDPARTY_LIB):
> >   IMPALA_ADD_THIRDPARTY_LIB Function invoked with incorrect arguments for
> >   function named: IMPALA_ADD_THIRDPARTY_LIB
>
> Has anyone seen this before?
>
> One thing you can try is deleting glog then rebuilding. E.g.
>
> rm -r toolchain/glog-0.3.4-p2/
>
> On Wed, Aug 2, 2017 at 9:34 PM, yu feng  wrote:
>
> > CMakeOutput.log :
> >
> >
> >
> > The system is: Linux - 3.16.0-4-amd64 - x86_64
> > Compiling the C compiler identification source file "CMakeCCompilerId.c"
> > succeeded.
> > Compiler:
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/gcc-4.9.2/bin/gcc
> > Build flags:
> > Id flags:
> >
> > The output was:
> > 0
> >
> >
> > Compilation of the C compiler identification source "CMakeCCompilerId.c"
> > produced "a.out"
> >
> > The C compiler identification is GNU, found in
> > "/home/hzfengyu/impala/apache-impala/incubator-impala/
> > CMakeFiles/3.2.3/CompilerIdC/a.out"
> >
> > Compiling the CXX compiler identification source file
> > "CMakeCXXCompilerId.cpp" succeeded.
> > Compiler:
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/gcc-4.9.2/bin/g++
> > Build flags:
> > Id flags:
> >
> > The output was:
> > 0
> >
> >
> > Compilation of the CXX compiler identification source
> > "CMakeCXXCompilerId.cpp" produced "a.out"
> >
> > The CXX compiler identification is GNU, found in
> > "/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/3.2.3/
> > CompilerIdCXX/a.out"
> >
> > Determining if the C compiler works passed with the following output:
> > Change Dir:
> > /home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp
> >
> > Run Build Command:"/usr/bin/make" "cmTryCompileExec2174981562/fast"
> > /usr/bin/make -f CMakeFiles/cmTryCompileExec2174981562.dir/build.make
> > CMakeFiles/cmTryCompileExec2174981562.dir/build
> > make[1]: Entering directory
> > '/home/hzfengyu/impala/apache-impala/incubator-impala/
> CMakeFiles/CMakeTmp'
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/cmake-3.2.3-p1/bin/cmake
> > -E cmake_progress_report
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > CMakeFiles/CMakeTmp/CMakeFiles
> > 1
> > Building C object
> > CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/gcc-4.9.2/bin/gcc
> >-o CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o   -c
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> CMakeFiles/CMakeTmp/
> > testCCompiler.c
> > Linking C executable cmTryCompileExec2174981562
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/cmake-3.2.3-p1/bin/cmake
> > -E cmake_link_script CMakeFiles/cmTryCompileExec2174981562.dir/link.txt
> > --verbose=1
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/gcc-4.9.2/bin/gcc
> >   CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o  -o
> > cmTryCompileExec2174981562 -rdynamic
> > make[1]: Leaving directory
> > '/home/hzfengyu/impala/apache-impala/incubator-impala/
> CMakeFiles/CMakeTmp'
> >
> >
> > Detecting C compiler ABI info compiled with the following output:
> > Change Dir:
> > /home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp
> >
> > Run Build Command:"/usr/bin/make" "cmTryCompileExec3739174323/fast"
> > /usr/bin/make -f CMakeFiles/cmTryCompileExec3739174323.dir/build.make
> > CMakeFiles/cmTryCompileExec3739174323.dir/build
> > make[1]: Entering directory
> > '/home/hzfengyu/impala/apache-impala/incubator-impala/
> CMakeFiles/CMakeTmp'
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/cmake-3.2.3-p1/bin/cmake
> > -E cmake_progress_report
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > CMakeFiles/CMakeTmp/CMakeFiles
> > 1
> > Building C object
> > CMakeFiles/cmTryCompileExec3739174323.dir/CMakeCCompilerABI.c.o
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/gcc-4.9.2/bin/gcc
> >-o CMakeFiles/cmTryCompileExec3739174323.dir/CMakeCCompilerABI.c.o
>  -c
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/cmake-3.2.3-p1/share/cmake-3.2/Modules/CMakeCCompilerABI.c
> > Linking C executable cmTryCompileExec3739174323
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/cmake-3.2.3-p1/bin/cmake
> > -E cmake_link_script 

Re: problem about buildall.sh

2017-08-02 Thread Tim Armstrong
It looks like the error is:

> -- --> Adding thirdparty library glog. <--
> -- Header files: /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/glog-0.3.4-p2/include
> -- Added shared library dependency glog: /home/hzfengyu/impala/apache-
> impala/incubator-impala/toolchain/glog-0.3.4-p2/lib/libglog.so
> CMake Error at CMakeLists.txt:178 (IMPALA_ADD_THIRDPARTY_LIB):
>   IMPALA_ADD_THIRDPARTY_LIB Function invoked with incorrect arguments for
>   function named: IMPALA_ADD_THIRDPARTY_LIB

Has anyone seen this before?

One thing you can try is deleting glog then rebuilding. E.g.

rm -r toolchain/glog-0.3.4-p2/

On Wed, Aug 2, 2017 at 9:34 PM, yu feng  wrote:

> CMakeOutput.log :
>
>
>
> The system is: Linux - 3.16.0-4-amd64 - x86_64
> Compiling the C compiler identification source file "CMakeCCompilerId.c"
> succeeded.
> Compiler:
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/gcc-4.9.2/bin/gcc
> Build flags:
> Id flags:
>
> The output was:
> 0
>
>
> Compilation of the C compiler identification source "CMakeCCompilerId.c"
> produced "a.out"
>
> The C compiler identification is GNU, found in
> "/home/hzfengyu/impala/apache-impala/incubator-impala/
> CMakeFiles/3.2.3/CompilerIdC/a.out"
>
> Compiling the CXX compiler identification source file
> "CMakeCXXCompilerId.cpp" succeeded.
> Compiler:
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/gcc-4.9.2/bin/g++
> Build flags:
> Id flags:
>
> The output was:
> 0
>
>
> Compilation of the CXX compiler identification source
> "CMakeCXXCompilerId.cpp" produced "a.out"
>
> The CXX compiler identification is GNU, found in
> "/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/3.2.3/
> CompilerIdCXX/a.out"
>
> Determining if the C compiler works passed with the following output:
> Change Dir:
> /home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp
>
> Run Build Command:"/usr/bin/make" "cmTryCompileExec2174981562/fast"
> /usr/bin/make -f CMakeFiles/cmTryCompileExec2174981562.dir/build.make
> CMakeFiles/cmTryCompileExec2174981562.dir/build
> make[1]: Entering directory
> '/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp'
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/cmake-3.2.3-p1/bin/cmake
> -E cmake_progress_report
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> CMakeFiles/CMakeTmp/CMakeFiles
> 1
> Building C object
> CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/gcc-4.9.2/bin/gcc
>-o CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o   -c
> /home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp/
> testCCompiler.c
> Linking C executable cmTryCompileExec2174981562
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/cmake-3.2.3-p1/bin/cmake
> -E cmake_link_script CMakeFiles/cmTryCompileExec2174981562.dir/link.txt
> --verbose=1
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/gcc-4.9.2/bin/gcc
>   CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o  -o
> cmTryCompileExec2174981562 -rdynamic
> make[1]: Leaving directory
> '/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp'
>
>
> Detecting C compiler ABI info compiled with the following output:
> Change Dir:
> /home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp
>
> Run Build Command:"/usr/bin/make" "cmTryCompileExec3739174323/fast"
> /usr/bin/make -f CMakeFiles/cmTryCompileExec3739174323.dir/build.make
> CMakeFiles/cmTryCompileExec3739174323.dir/build
> make[1]: Entering directory
> '/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp'
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/cmake-3.2.3-p1/bin/cmake
> -E cmake_progress_report
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> CMakeFiles/CMakeTmp/CMakeFiles
> 1
> Building C object
> CMakeFiles/cmTryCompileExec3739174323.dir/CMakeCCompilerABI.c.o
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/gcc-4.9.2/bin/gcc
>-o CMakeFiles/cmTryCompileExec3739174323.dir/CMakeCCompilerABI.c.o   -c
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/cmake-3.2.3-p1/share/cmake-3.2/Modules/CMakeCCompilerABI.c
> Linking C executable cmTryCompileExec3739174323
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/cmake-3.2.3-p1/bin/cmake
> -E cmake_link_script CMakeFiles/cmTryCompileExec3739174323.dir/link.txt
> --verbose=1
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/gcc-4.9.2/bin/gcc
>  -v CMakeFiles/cmTryCompileExec3739174323.dir/CMakeCCompilerABI.c.o
> -o
> cmTryCompileExec3739174323 -rdynamic
> make[1]: Leaving directory
> '/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp'
> Using built-in specs.
> COLLECT_GCC=/home/hzfengyu/impala/apache-impala/
> 

Re: problem about buildall.sh

2017-08-02 Thread yu feng
CMakeOutput.log :



The system is: Linux - 3.16.0-4-amd64 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c"
succeeded.
Compiler:
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/gcc-4.9.2/bin/gcc
Build flags:
Id flags:

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c"
produced "a.out"

The C compiler identification is GNU, found in
"/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/3.2.3/CompilerIdC/a.out"

Compiling the CXX compiler identification source file
"CMakeCXXCompilerId.cpp" succeeded.
Compiler:
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/gcc-4.9.2/bin/g++
Build flags:
Id flags:

The output was:
0


Compilation of the CXX compiler identification source
"CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is GNU, found in
"/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/3.2.3/CompilerIdCXX/a.out"

Determining if the C compiler works passed with the following output:
Change Dir:
/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec2174981562/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2174981562.dir/build.make
CMakeFiles/cmTryCompileExec2174981562.dir/build
make[1]: Entering directory
'/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp'
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cmake-3.2.3-p1/bin/cmake
-E cmake_progress_report
/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/gcc-4.9.2/bin/gcc
   -o CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o   -c
/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec2174981562
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cmake-3.2.3-p1/bin/cmake
-E cmake_link_script CMakeFiles/cmTryCompileExec2174981562.dir/link.txt
--verbose=1
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/gcc-4.9.2/bin/gcc
  CMakeFiles/cmTryCompileExec2174981562.dir/testCCompiler.c.o  -o
cmTryCompileExec2174981562 -rdynamic
make[1]: Leaving directory
'/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp'


Detecting C compiler ABI info compiled with the following output:
Change Dir:
/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec3739174323/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3739174323.dir/build.make
CMakeFiles/cmTryCompileExec3739174323.dir/build
make[1]: Entering directory
'/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp'
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cmake-3.2.3-p1/bin/cmake
-E cmake_progress_report
/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec3739174323.dir/CMakeCCompilerABI.c.o
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/gcc-4.9.2/bin/gcc
   -o CMakeFiles/cmTryCompileExec3739174323.dir/CMakeCCompilerABI.c.o   -c
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cmake-3.2.3-p1/share/cmake-3.2/Modules/CMakeCCompilerABI.c
Linking C executable cmTryCompileExec3739174323
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cmake-3.2.3-p1/bin/cmake
-E cmake_link_script CMakeFiles/cmTryCompileExec3739174323.dir/link.txt
--verbose=1
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/gcc-4.9.2/bin/gcc
 -v CMakeFiles/cmTryCompileExec3739174323.dir/CMakeCCompilerABI.c.o  -o
cmTryCompileExec3739174323 -rdynamic
make[1]: Leaving directory
'/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeTmp'
Using built-in specs.
COLLECT_GCC=/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/gcc-4.9.2/bin/gcc
COLLECT_LTO_WRAPPER=/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/gcc-4.9.2/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.9.2/configure
--prefix=/data/jenkins/workspace/verify-impala-toolchain-package-build/label/unittest-ec2-pkg-debian-8/toolchain/build/gcc-4.9.2
--enable-languages=c,c++ --disable-multilib
--with-build-config=bootstrap-debug
Thread model: posix
gcc version 4.9.2 (GCC)
COMPILER_PATH=/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/gcc-4.9.2/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/:/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/gcc-4.9.2/bin/../libexec/gcc/

Re: problem about buildall.sh

2017-08-02 Thread yu feng
build output :

IMPALA_HOME =
/home/hzfengyu/impala/apache-impala/incubator-impala
HADOOP_HOME =
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cdh_components/hadoop-2.6.0-cdh5.13.0-SNAPSHOT/
HADOOP_CONF_DIR =
/home/hzfengyu/impala/apache-impala/incubator-impala/fe/src/test/resources
HADOOP_INCLUDE_DIR  =
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cdh_components/hadoop-2.6.0-cdh5.13.0-SNAPSHOT//include
HADOOP_LIB_DIR  =
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cdh_components/hadoop-2.6.0-cdh5.13.0-SNAPSHOT//lib
MINI_DFS_BASE_DATA_DIR  =
/home/hzfengyu/impala/apache-impala/incubator-impala/cdh-5-hdfs-data
HIVE_HOME   =
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cdh_components/hive-1.1.0-cdh5.13.0-SNAPSHOT/
HIVE_CONF_DIR   =
/home/hzfengyu/impala/apache-impala/incubator-impala/fe/src/test/resources
HIVE_SRC_DIR=
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cdh_components/hive-1.1.0-cdh5.13.0-SNAPSHOT//src
HBASE_HOME  =
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cdh_components/hbase-1.2.0-cdh5.13.0-SNAPSHOT/
HBASE_CONF_DIR  =
/home/hzfengyu/impala/apache-impala/incubator-impala/fe/src/test/resources
MINIKDC_HOME=
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cdh_components/llama-minikdc-1.0.0
THRIFT_HOME =
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/thrift-0.9.0-p9
HADOOP_LZO  =
/home/hzfengyu/impala/apache-impala/incubator-impala/../hadoop-lzo
IMPALA_LZO  =
/home/hzfengyu/impala/apache-impala/incubator-impala/../Impala-lzo
CLASSPATH   =
/home/hzfengyu/impala/apache-impala/incubator-impala/../hadoop-lzo/build/hadoop-lzo-0.4.15.jar:/home/hzfengyu/impala/apache-impala/incubator-impala/fe/src/test/resources:/home/hzfengyu/impala/apache-impala/incubator-impala/fe/target/classes:/home/hzfengyu/impala/apache-impala/incubator-impala/fe/target/dependency:
LIBHDFS_OPTS=
 
-Djava.library.path=/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cdh_components/hadoop-2.6.0-cdh5.13.0-SNAPSHOT//lib/native/:/home/hzfengyu/impala/apache-impala/incubator-impala/be/build/debug/service
-XX:MaxPermSize=128m
PYTHONPATH  =
/home/hzfengyu/impala/apache-impala/incubator-impala:/home/hzfengyu/impala/apache-impala/incubator-impala/shell/gen-py:/home/hzfengyu/impala/apache-impala/incubator-impala/testdata/:/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/thrift-0.9.0-p9/python/lib/python2.7/site-packages/:/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cdh_components/hive-1.1.0-cdh5.13.0-SNAPSHOT//lib/py:/home/hzfengyu/impala/apache-impala/incubator-impala/shell/ext-py/*/dist/*.egg
JAVA_HOME   = /home/hzfengyu/impala/deploy/jdk1.7.0_79
LD_LIBRARY_PATH =
:/home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64:/home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64:/home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/server:/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/cdh_components/hadoop-2.6.0-cdh5.13.0-SNAPSHOT//lib/native:/home/hzfengyu/impala/apache-impala/incubator-impala/be/build/debug/service:/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/snappy-1.1.4/lib:/home/hzfengyu/impala/apache-impala/incubator-impala/../Impala-lzo/build:/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/gcc-4.9.2/lib64
LD_PRELOAD  =
:/home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/libjsig.so
POSTGRES_JDBC_DRIVER=
/home/hzfengyu/impala/apache-impala/incubator-impala/fe/target/dependency/postgresql-9.0-801.jdbc4.jar
IMPALA_TOOLCHAIN=
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain
DOWNLOAD_CDH_COMPONENTS = true
Downloading Python dependencies
~/impala/apache-impala/incubator-impala/infra/python/deps
~/impala/apache-impala/incubator-impala
Getting package info from https://pypi.python.org/simple/allpairs/
File with matching md5sum already exists, skipping AllPairs-2.0.1.tar.gz
Getting package info from https://pypi.python.org/simple/boto3/
File with matching md5sum already exists, skipping boto3-1.2.3.tar.gz
Getting package info from https://pypi.python.org/simple/simplejson/
File with matching md5sum already exists, skipping simplejson-3.3.0.tar.gz
Getting package info from https://pypi.python.org/simple/botocore/
File with matching md5sum already exists, skipping botocore-1.3.30.tar.gz
Getting package info from https://pypi.python.org/simple/python_dateutil/
File with matching md5sum already exists, skipping
python-dateutil-2.5.2.tar.gz
Getting package info from https://pypi.python.org/simple/docutils/
File with matching md5sum already exists, skipping docutils-0.12.tar.gz
Getting package info from https://pypi.python.org/simple/jmespath/
File with matching md5sum already exists, 

Re: problem about buildall.sh

2017-08-02 Thread Henry Robinson
I don't think attachments come through on this mailing list (at least I
can't see anything attached to your mail). Could you paste the output in
pastebin or somewhere similar?

On Wed, Aug 2, 2017 at 8:44 PM yu feng  wrote:

> attach command output and CmakeOutput.log, Thanks a lot.
>
> 2017-08-02 23:52 GMT+08:00 Tim Armstrong :
>
>> Hi,
>>   I don't see an error in the output you pasted. Maybe it would help to
>> include the full output of buildall.sh and CmakeOutput.log
>>
>> On Wed, Aug 2, 2017 at 5:32 AM, yu feng  wrote:
>>
>> > Hi, I clone impala from
>> > https://git-wip-us.apache.org/repos/asf/incubator-impala.git, and try
>> to
>> > run 'bash buildall.sh -noclean -skiptests -build_shared_libs -format', I
>> > have finish building impalad two months ago, However, I git pull all
>> newest
>> > code, error happened:
>> >
>> >
>> > -- Found JNI:
>> > /home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/
>> > libjawt.so;/home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/
>> > lib/amd64/libjsig.so;/home/hzfengyu/impala/deploy/jdk1.7.
>> > 0_79/jre/lib/amd64/server/libjvm.so
>> >
>> > -- --> Adding thirdparty library java_jvm. <--
>> > -- Header files:
>> > /home/hzfengyu/impala/deploy/jdk1.7.0_79/include;/home/
>> > hzfengyu/impala/deploy/jdk1.7.0_79/include/linux;/home/
>> > hzfengyu/impala/deploy/jdk1.7.0_79/include
>> > -- Added static library dependency java_jvm:
>> > /home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/server/libjvm.so
>> > -- --> Adding thirdparty library breakpad_client. <--
>> > -- Header files:
>> > /home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/breakpad-
>> > ffe3e478657dc7126fca6329dfcedc49f4c726d9-p2/include/breakpad
>> > -- Added static library dependency breakpad_client:
>> > /home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/breakpad-
>> > ffe3e478657dc7126fca6329dfcedc49f4c726d9-p2/lib/libbreakpad_client.a
>> > -- Added shared library dependency rt:
>> /usr/lib/x86_64-linux-gnu/librt.so
>> > -- Added shared library dependency dl:
>> /usr/lib/x86_64-linux-gnu/libdl.so
>> > Using Thrift compiler:
>> > /home/hzfengyu/impala/apache-impala/incubator-impala/
>> > toolchain/thrift-0.9.0-p9/bin/thrift
>> > Found output dir:
>> > /home/hzfengyu/impala/apache-impala/incubator-impala/shell/
>> > Using FlatBuffers compiler:
>> > /home/hzfengyu/impala/apache-impala/incubator-impala/
>> > toolchain/flatbuffers-1.6.0/bin/flatc
>> > --java-o/home/hzfengyu/impala/apache-impala/incubator-
>> > impala/fe/generated-sources/gen-java-b
>> > --cpp-o/home/hzfengyu/impala/apache-impala/incubator-
>> > impala/be/generated-sources/gen-cpp-b
>> > -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
>> > -- WARNING: Doxygen not found - Docs will not be created
>> > -- Looking for sched_getcpu
>> > -- Looking for sched_getcpu - found
>> > -- Looking for pipe2
>> > -- Looking for pipe2 - found
>> > -- Looking for fallocate
>> > -- Looking for fallocate - found
>> > -- Looking for preadv
>> > -- Looking for preadv - found
>> > -- Looking for include file linux/magic.h
>> > -- Looking for include file linux/magic.h - found
>> > -- Compiler Flags:  -Wall -Wno-sign-compare -Wno-unknown-pragmas
>> -pthread
>> > -fno-strict-aliasing -std=c++14 -Wno-deprecated -Wno-vla
>> > -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_SYSTEM_NO_DEPRECATED -B
>> > /home/hzfengyu/impala/apache-impala/incubator-impala/
>> > toolchain/binutils-2.26.1/bin/
>> > -fuse-ld=gold -g -Wno-unused-local-typedefs -ggdb -gdwarf-2 -Werror
>> > -fverbose-asm -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
>> -D__STDC_FORMAT_MACROS
>> > -D__STDC_LIMIT_MACROS
>> > -- Common
>> > /home/hzfengyu/impala/apache-impala/incubator-impala/be/build/debug/
>> > -- Configuring incomplete, errors occurred!
>> > See also
>> > "/home/hzfengyu/impala/apache-impala/incubator-impala/
>> > CMakeFiles/CMakeOutput.log".
>> > Error in
>> > /home/hzfengyu/impala/apache-impala/incubator-impala/bin/make_impala.sh
>> at
>> > line 160: cmake . ${CMAKE_ARGS[@]}
>> >
>> >
>> >
>> > I try to find something in CMakeOutput.log,  and I can not find any
>> error,
>> > Is there I miss something? thanks a lot.
>> >
>>
>
>


Re: problem about buildall.sh

2017-08-02 Thread yu feng
attach command output and CmakeOutput.log, Thanks a lot.

2017-08-02 23:52 GMT+08:00 Tim Armstrong :

> Hi,
>   I don't see an error in the output you pasted. Maybe it would help to
> include the full output of buildall.sh and CmakeOutput.log
>
> On Wed, Aug 2, 2017 at 5:32 AM, yu feng  wrote:
>
> > Hi, I clone impala from
> > https://git-wip-us.apache.org/repos/asf/incubator-impala.git, and try to
> > run 'bash buildall.sh -noclean -skiptests -build_shared_libs -format', I
> > have finish building impalad two months ago, However, I git pull all
> newest
> > code, error happened:
> >
> >
> > -- Found JNI:
> > /home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/
> > libjawt.so;/home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/
> > lib/amd64/libjsig.so;/home/hzfengyu/impala/deploy/jdk1.7.
> > 0_79/jre/lib/amd64/server/libjvm.so
> >
> > -- --> Adding thirdparty library java_jvm. <--
> > -- Header files:
> > /home/hzfengyu/impala/deploy/jdk1.7.0_79/include;/home/
> > hzfengyu/impala/deploy/jdk1.7.0_79/include/linux;/home/
> > hzfengyu/impala/deploy/jdk1.7.0_79/include
> > -- Added static library dependency java_jvm:
> > /home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/server/libjvm.so
> > -- --> Adding thirdparty library breakpad_client. <--
> > -- Header files:
> > /home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/breakpad-
> > ffe3e478657dc7126fca6329dfcedc49f4c726d9-p2/include/breakpad
> > -- Added static library dependency breakpad_client:
> > /home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/breakpad-
> > ffe3e478657dc7126fca6329dfcedc49f4c726d9-p2/lib/libbreakpad_client.a
> > -- Added shared library dependency rt: /usr/lib/x86_64-linux-gnu/
> librt.so
> > -- Added shared library dependency dl: /usr/lib/x86_64-linux-gnu/
> libdl.so
> > Using Thrift compiler:
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/thrift-0.9.0-p9/bin/thrift
> > Found output dir:
> > /home/hzfengyu/impala/apache-impala/incubator-impala/shell/
> > Using FlatBuffers compiler:
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/flatbuffers-1.6.0/bin/flatc
> > --java-o/home/hzfengyu/impala/apache-impala/incubator-
> > impala/fe/generated-sources/gen-java-b
> > --cpp-o/home/hzfengyu/impala/apache-impala/incubator-
> > impala/be/generated-sources/gen-cpp-b
> > -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
> > -- WARNING: Doxygen not found - Docs will not be created
> > -- Looking for sched_getcpu
> > -- Looking for sched_getcpu - found
> > -- Looking for pipe2
> > -- Looking for pipe2 - found
> > -- Looking for fallocate
> > -- Looking for fallocate - found
> > -- Looking for preadv
> > -- Looking for preadv - found
> > -- Looking for include file linux/magic.h
> > -- Looking for include file linux/magic.h - found
> > -- Compiler Flags:  -Wall -Wno-sign-compare -Wno-unknown-pragmas -pthread
> > -fno-strict-aliasing -std=c++14 -Wno-deprecated -Wno-vla
> > -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_SYSTEM_NO_DEPRECATED -B
> > /home/hzfengyu/impala/apache-impala/incubator-impala/
> > toolchain/binutils-2.26.1/bin/
> > -fuse-ld=gold -g -Wno-unused-local-typedefs -ggdb -gdwarf-2 -Werror
> > -fverbose-asm -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
> -D__STDC_FORMAT_MACROS
> > -D__STDC_LIMIT_MACROS
> > -- Common
> > /home/hzfengyu/impala/apache-impala/incubator-impala/be/build/debug/
> > -- Configuring incomplete, errors occurred!
> > See also
> > "/home/hzfengyu/impala/apache-impala/incubator-impala/
> > CMakeFiles/CMakeOutput.log".
> > Error in
> > /home/hzfengyu/impala/apache-impala/incubator-impala/bin/make_impala.sh
> at
> > line 160: cmake . ${CMAKE_ARGS[@]}
> >
> >
> >
> > I try to find something in CMakeOutput.log,  and I can not find any
> error,
> > Is there I miss something? thanks a lot.
> >
>


Re: problem about buildall.sh

2017-08-02 Thread Tim Armstrong
Hi,
  I don't see an error in the output you pasted. Maybe it would help to
include the full output of buildall.sh and CmakeOutput.log

On Wed, Aug 2, 2017 at 5:32 AM, yu feng  wrote:

> Hi, I clone impala from
> https://git-wip-us.apache.org/repos/asf/incubator-impala.git, and try to
> run 'bash buildall.sh -noclean -skiptests -build_shared_libs -format', I
> have finish building impalad two months ago, However, I git pull all newest
> code, error happened:
>
>
> -- Found JNI:
> /home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/
> libjawt.so;/home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/
> lib/amd64/libjsig.so;/home/hzfengyu/impala/deploy/jdk1.7.
> 0_79/jre/lib/amd64/server/libjvm.so
>
> -- --> Adding thirdparty library java_jvm. <--
> -- Header files:
> /home/hzfengyu/impala/deploy/jdk1.7.0_79/include;/home/
> hzfengyu/impala/deploy/jdk1.7.0_79/include/linux;/home/
> hzfengyu/impala/deploy/jdk1.7.0_79/include
> -- Added static library dependency java_jvm:
> /home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/server/libjvm.so
> -- --> Adding thirdparty library breakpad_client. <--
> -- Header files:
> /home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/breakpad-
> ffe3e478657dc7126fca6329dfcedc49f4c726d9-p2/include/breakpad
> -- Added static library dependency breakpad_client:
> /home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/breakpad-
> ffe3e478657dc7126fca6329dfcedc49f4c726d9-p2/lib/libbreakpad_client.a
> -- Added shared library dependency rt: /usr/lib/x86_64-linux-gnu/librt.so
> -- Added shared library dependency dl: /usr/lib/x86_64-linux-gnu/libdl.so
> Using Thrift compiler:
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/thrift-0.9.0-p9/bin/thrift
> Found output dir:
> /home/hzfengyu/impala/apache-impala/incubator-impala/shell/
> Using FlatBuffers compiler:
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/flatbuffers-1.6.0/bin/flatc
> --java-o/home/hzfengyu/impala/apache-impala/incubator-
> impala/fe/generated-sources/gen-java-b
> --cpp-o/home/hzfengyu/impala/apache-impala/incubator-
> impala/be/generated-sources/gen-cpp-b
> -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
> -- WARNING: Doxygen not found - Docs will not be created
> -- Looking for sched_getcpu
> -- Looking for sched_getcpu - found
> -- Looking for pipe2
> -- Looking for pipe2 - found
> -- Looking for fallocate
> -- Looking for fallocate - found
> -- Looking for preadv
> -- Looking for preadv - found
> -- Looking for include file linux/magic.h
> -- Looking for include file linux/magic.h - found
> -- Compiler Flags:  -Wall -Wno-sign-compare -Wno-unknown-pragmas -pthread
> -fno-strict-aliasing -std=c++14 -Wno-deprecated -Wno-vla
> -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_SYSTEM_NO_DEPRECATED -B
> /home/hzfengyu/impala/apache-impala/incubator-impala/
> toolchain/binutils-2.26.1/bin/
> -fuse-ld=gold -g -Wno-unused-local-typedefs -ggdb -gdwarf-2 -Werror
> -fverbose-asm -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
> -D__STDC_LIMIT_MACROS
> -- Common
> /home/hzfengyu/impala/apache-impala/incubator-impala/be/build/debug/
> -- Configuring incomplete, errors occurred!
> See also
> "/home/hzfengyu/impala/apache-impala/incubator-impala/
> CMakeFiles/CMakeOutput.log".
> Error in
> /home/hzfengyu/impala/apache-impala/incubator-impala/bin/make_impala.sh at
> line 160: cmake . ${CMAKE_ARGS[@]}
>
>
>
> I try to find something in CMakeOutput.log,  and I can not find any error,
> Is there I miss something? thanks a lot.
>


problem about buildall.sh

2017-08-02 Thread yu feng
Hi, I clone impala from
https://git-wip-us.apache.org/repos/asf/incubator-impala.git, and try to
run 'bash buildall.sh -noclean -skiptests -build_shared_libs -format', I
have finish building impalad two months ago, However, I git pull all newest
code, error happened:


-- Found JNI:
/home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/libjawt.so;/home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/libjsig.so;/home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/server/libjvm.so

-- --> Adding thirdparty library java_jvm. <--
-- Header files:
/home/hzfengyu/impala/deploy/jdk1.7.0_79/include;/home/hzfengyu/impala/deploy/jdk1.7.0_79/include/linux;/home/hzfengyu/impala/deploy/jdk1.7.0_79/include
-- Added static library dependency java_jvm:
/home/hzfengyu/impala/deploy/jdk1.7.0_79/jre/lib/amd64/server/libjvm.so
-- --> Adding thirdparty library breakpad_client. <--
-- Header files:
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/breakpad-ffe3e478657dc7126fca6329dfcedc49f4c726d9-p2/include/breakpad
-- Added static library dependency breakpad_client:
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/breakpad-ffe3e478657dc7126fca6329dfcedc49f4c726d9-p2/lib/libbreakpad_client.a
-- Added shared library dependency rt: /usr/lib/x86_64-linux-gnu/librt.so
-- Added shared library dependency dl: /usr/lib/x86_64-linux-gnu/libdl.so
Using Thrift compiler:
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/thrift-0.9.0-p9/bin/thrift
Found output dir:
/home/hzfengyu/impala/apache-impala/incubator-impala/shell/
Using FlatBuffers compiler:
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/flatbuffers-1.6.0/bin/flatc
--java-o/home/hzfengyu/impala/apache-impala/incubator-impala/fe/generated-sources/gen-java-b
--cpp-o/home/hzfengyu/impala/apache-impala/incubator-impala/be/generated-sources/gen-cpp-b
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- WARNING: Doxygen not found - Docs will not be created
-- Looking for sched_getcpu
-- Looking for sched_getcpu - found
-- Looking for pipe2
-- Looking for pipe2 - found
-- Looking for fallocate
-- Looking for fallocate - found
-- Looking for preadv
-- Looking for preadv - found
-- Looking for include file linux/magic.h
-- Looking for include file linux/magic.h - found
-- Compiler Flags:  -Wall -Wno-sign-compare -Wno-unknown-pragmas -pthread
-fno-strict-aliasing -std=c++14 -Wno-deprecated -Wno-vla
-DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_SYSTEM_NO_DEPRECATED -B
/home/hzfengyu/impala/apache-impala/incubator-impala/toolchain/binutils-2.26.1/bin/
-fuse-ld=gold -g -Wno-unused-local-typedefs -ggdb -gdwarf-2 -Werror
-fverbose-asm -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
-- Common
/home/hzfengyu/impala/apache-impala/incubator-impala/be/build/debug/
-- Configuring incomplete, errors occurred!
See also
"/home/hzfengyu/impala/apache-impala/incubator-impala/CMakeFiles/CMakeOutput.log".
Error in
/home/hzfengyu/impala/apache-impala/incubator-impala/bin/make_impala.sh at
line 160: cmake . ${CMAKE_ARGS[@]}



I try to find something in CMakeOutput.log,  and I can not find any error,
Is there I miss something? thanks a lot.