hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HaNeul-Kim <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request:
Date Mon, 30 May 2016 12:56:24 GMT
Github user HaNeul-Kim commented on the pull request:

    https://github.com/apache/incubator-hawq/commit/ec16d3162eb1650a1c87d39b6b36ee11f7995954#commitcomment-17666589
  
    1. Have you executed `make distclean` before building hawq?
    - i didnt executed `make distclean`.
    3. Can you reoccur the error by using make instead of make -j8 and show me the whole log
here?
    I executed this commands.
    `git clone https://git-wip-us.apache.org/repos/asf/incubator-hawq.git`
    `CODE_BASE=`pwd`/incubator-hawq`
     `cd $CODE_BASE`
     `./configure --prefix=/usr/local/hawq/default --with-python`
     `make`
    I executed `make` instead of `make -j8`.
    This is whole log.
    
    [root@hawq2 incubator-hawq]# make
    make -C depends/thirdparty/googletest all
    make[1]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest'
    cd ../../..//depends/thirdparty/googletest/ && mkdir -p build && cd build
&& cmake -DCMAKE_INSTALL_PREFIX=/usr/local/hawq/default ..
    -- The C compiler identification is GNU 4.4.7
    -- The CXX compiler identification is GNU 4.4.7
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Found PythonInterp: /usr/bin/python (found version "2.6.6") 
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE  
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build
    cd ../../..//depends/thirdparty/googletest/build && make
    make[2]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    make[3]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    make[4]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    Scanning dependencies of target gmock
    make[4]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    make[4]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    [ 14%] Building CXX object googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o
    [ 28%] Building CXX object googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
    Linking CXX static library libgmock.a
    make[4]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    [ 28%] Built target gmock
    make[4]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    Scanning dependencies of target gmock_main
    make[4]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    make[4]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    [ 42%] Building CXX object googlemock/CMakeFiles/gmock_main.dir/__/googletest/src/gtest-all.cc.o
    [ 57%] Building CXX object googlemock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.o
    [ 71%] Building CXX object googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
    Linking CXX static library libgmock_main.a
    make[4]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    [ 71%] Built target gmock_main
    make[4]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    Scanning dependencies of target gtest
    make[4]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    make[4]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    [ 85%] Building CXX object googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
    Linking CXX static library libgtest.a
    make[4]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    [ 85%] Built target gtest
    make[4]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    Scanning dependencies of target gtest_main
    make[4]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    make[4]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    [100%] Building CXX object googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
    Linking CXX static library libgtest_main.a
    make[4]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    [100%] Built target gtest_main
    make[3]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    make[2]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build'
    make[1]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest'
    make -C depends/thirdparty/thrift/hawqbuild all
    make[1]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/thrift/hawqbuild'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/thirdparty/thrift/hawqbuild'
    make -C depends/libhdfs3 all
    make[1]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3'
    cd ../..//depends/libhdfs3/; \
    	mkdir -p build; \
    	cd build; \
    	if [ ! -f build.timestamp ]; then \
    		/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/bootstrap --prefix=/usr/local/hawq/default
 && touch build.timestamp; \
    	fi
    -- The C compiler identification is GNU 4.4.7
    -- The CXX compiler identification is GNU 4.4.7
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/g++
    -- Check for working CXX compiler: /usr/bin/g++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- checking compiler: GCC (4.4.)
    -- Looking for dladdr
    -- Looking for dladdr - not found
    -- Looking for nanosleep
    -- Looking for nanosleep - found
    -- gcc version is older than 4.6.0, boost is required.
    -- Boost version: 1.56.0
    -- adding c++0x support for gcc compiler
    -- Checking whether strerror_r returns an int
    -- Checking whether strerror_r returns an int -- no
    -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.7.6") 
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE  
    -- Found PROTOBUF: /usr/local/lib/libprotobuf.so  
    -- Found KERBEROS: /usr/lib64/libkrb5.so  
    -- Found GSASL: /usr/lib64/libgsasl.so  
    -- Find GoogleTest include path: /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googletest/include
    -- Find GoogleMock include path: /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include
    -- Find Gtest library path: /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build/googlemock/gtest/libgtest.a
    -- Find Gmock library path: /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/build/googlemock/libgmock.a
    -- Performing Test GoogleTest_CHECK_FINE
    -- Performing Test GoogleTest_CHECK_FINE - Failed
    -- GoogleTest check: 
    CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
      Could NOT find GoogleTest (missing: GoogleTest_CHECK_FINE)
    Call Stack (most recent call first):
      /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
      CMake/FindGoogleTest.cmake:52 (find_package_handle_standard_args)
      CMakeLists.txt:23 (FIND_PACKAGE)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeOutput.log".
    See also "/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeError.log".
    failed to configure the project
    make[1]: *** [pre-config] Error 1
    make[1]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3'
    make: *** [all] Error 2
    [root@hawq2 incubator-hawq]# 
    
    2. Can you paste the content out from /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeError.log?
    This is whole log in `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeError.log`.
    
    Determining if the function dladdr exists failed with the following output:
    Change Dir: /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp
    
    Run Build Command:/usr/bin/gmake "cmTryCompileExec3774893145/fast"
    gmake[2]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    /usr/bin/gmake -f CMakeFiles/cmTryCompileExec3774893145.dir/build.make CMakeFiles/cmTryCompileExec3774893145.dir/build
    gmake[3]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    /usr/bin/cmake -E cmake_progress_report /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp/CMakeFiles
1
    Building C object CMakeFiles/cmTryCompileExec3774893145.dir/CheckFunctionExists.c.o
    /usr/bin/gcc   -DCHECK_FUNCTION_EXISTS=dladdr   -o CMakeFiles/cmTryCompileExec3774893145.dir/CheckFunctionExists.c.o
  -c /usr/share/cmake/Modules/CheckFunctionExists.c
    Linking C executable cmTryCompileExec3774893145
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3774893145.dir/link.txt
--verbose=1
    /usr/bin/gcc   -DCHECK_FUNCTION_EXISTS=dladdr    CMakeFiles/cmTryCompileExec3774893145.dir/CheckFunctionExists.c.o
 -o cmTryCompileExec3774893145 -rdynamic 
    CMakeFiles/cmTryCompileExec3774893145.dir/CheckFunctionExists.c.o: In function `main':
    CheckFunctionExists.c:(.text+0x15): undefined reference to `dladdr'
    collect2: ld returned 1 exit status
    gmake[3]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    gmake[2]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    gmake[3]: *** [cmTryCompileExec3774893145] Error 1
    gmake[2]: *** [cmTryCompileExec3774893145/fast] Error 2
    
    
    Determining if the pthread_create exist failed with the following output:
    Change Dir: /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp
    
    Run Build Command:/usr/bin/gmake "cmTryCompileExec392412077/fast"
    gmake[2]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    /usr/bin/gmake -f CMakeFiles/cmTryCompileExec392412077.dir/build.make CMakeFiles/cmTryCompileExec392412077.dir/build
    gmake[3]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    /usr/bin/cmake -E cmake_progress_report /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp/CMakeFiles
1
    Building C object CMakeFiles/cmTryCompileExec392412077.dir/CheckSymbolExists.c.o
    /usr/bin/gcc   -fno-strict-aliasing    -o CMakeFiles/cmTryCompileExec392412077.dir/CheckSymbolExists.c.o
  -c /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
    Linking C executable cmTryCompileExec392412077
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec392412077.dir/link.txt
--verbose=1
    /usr/bin/gcc   -fno-strict-aliasing     CMakeFiles/cmTryCompileExec392412077.dir/CheckSymbolExists.c.o
 -o cmTryCompileExec392412077 -rdynamic 
    CMakeFiles/cmTryCompileExec392412077.dir/CheckSymbolExists.c.o: In function `main':
    CheckSymbolExists.c:(.text+0xc): undefined reference to `pthread_create'
    collect2: ld returned 1 exit status
    gmake[3]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    gmake[3]: *** [cmTryCompileExec392412077] Error 1
    gmake[2]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    gmake[2]: *** [cmTryCompileExec392412077/fast] Error 2
    
    File /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
    /* */
    #include <pthread.h>
    
    int main(int argc, char** argv)
    {
      (void)argv;
    #ifndef pthread_create
      return ((int*)(&pthread_create))[argc];
    #else
      (void)argc;
      return 0;
    #endif
    }
    
    Determining if the function pthread_create exists in the pthreads failed with the following
output:
    Change Dir: /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp
    
    Run Build Command:/usr/bin/gmake "cmTryCompileExec39544489/fast"
    gmake[2]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    /usr/bin/gmake -f CMakeFiles/cmTryCompileExec39544489.dir/build.make CMakeFiles/cmTryCompileExec39544489.dir/build
    gmake[3]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    /usr/bin/cmake -E cmake_progress_report /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp/CMakeFiles
1
    Building C object CMakeFiles/cmTryCompileExec39544489.dir/CheckFunctionExists.c.o
    /usr/bin/gcc   -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec39544489.dir/CheckFunctionExists.c.o
  -c /usr/share/cmake/Modules/CheckFunctionExists.c
    Linking C executable cmTryCompileExec39544489
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec39544489.dir/link.txt --verbose=1
    /usr/bin/gcc   -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec39544489.dir/CheckFunctionExists.c.o
 -o cmTryCompileExec39544489 -rdynamic -lpthreads 
    /usr/bin/ld: cannot find -lpthreads
    collect2: ld returned 1 exit status
    gmake[3]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    gmake[3]: *** [cmTryCompileExec39544489] Error 1
    gmake[2]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    gmake[2]: *** [cmTryCompileExec39544489/fast] Error 2
    
    
    Performing C++ SOURCE FILE Test GoogleTest_CHECK_FINE failed with the following output:
    Change Dir: /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp
    
    Run Build Command:/usr/bin/gmake "cmTryCompileExec1622327067/fast"
    gmake[2]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    /usr/bin/gmake -f CMakeFiles/cmTryCompileExec1622327067.dir/build.make CMakeFiles/cmTryCompileExec1622327067.dir/build
    gmake[3]: Entering directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    /usr/bin/cmake -E cmake_progress_report /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp/CMakeFiles
1
    Building CXX object CMakeFiles/cmTryCompileExec1622327067.dir/src.cxx.o
    /usr/bin/g++    -fno-strict-aliasing -fno-omit-frame-pointer -msse4.2 -Wl,--export-dynamic
-std=c++0x -Wall -DGoogleTest_CHECK_FINE -I/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googletest/include
-I/root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include   
-o CMakeFiles/cmTryCompileExec1622327067.dir/src.cxx.o -c /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp/src.cxx
    In file included from /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock.h:58,
                     from /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp/src.cxx:3:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-actions.h:
In static member function ‘static Result testing::internal::ReturnNullAction::Perform(const
ArgumentTuple&)’:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-actions.h:631:
error: ‘nullptr’ was not declared in this scope
    In file included from /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
                     from /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                     from /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock.h:61,
                     from /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp/src.cxx:3:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:
In member function ‘bool testing::internal::IsNullMatcher::MatchAndExplain(const Pointer&,
testing::MatchResultListener*) const’:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:983:
error: ‘nullptr’ was not declared in this scope
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:
In member function ‘bool testing::internal::NotNullMatcher::MatchAndExplain(const Pointer&,
testing::MatchResultListener*) const’:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1003:
error: ‘nullptr’ was not declared in this scope
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:
At global scope:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1560:
sorry, unimplemented: cannot expand ‘Tail ...’ into a fixed-length argument list
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1561:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1561:
error: ‘ListType’ in class ‘int’ does not name a type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1561:
error: template argument 2 is invalid
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1561:
error: expected ‘::’ before ‘ListType’
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:
In static member function ‘static int testing::internal::MatcherList<kSize, Head, Tail>::BuildList(const
Head&, const Tail& ...)’:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1568:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1568:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1568:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1568:
error: ‘BuildList’ is not a member of ‘int’
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:
In static member function ‘static testing::Matcher<T> testing::internal::MatcherList<kSize,
Head, Tail>::CreateMatcher(const int&)’:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1578:
error: request for member ‘first’ in ‘matchers’, which is of non-class type ‘const
int’
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘CreateMatcher’ is not a member of ‘int’
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1580:
error: request for member ‘second’ in ‘matchers’, which is of non-class type ‘const
int’
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1577:
error: expected primary-expression before ‘(’ token
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1578:
error: request for member ‘first’ in ‘matchers’, which is of non-class type ‘const
int’
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: ‘CreateMatcher’ is not a member of ‘int’
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: expected primary-expression before ‘,’ token
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1579:
error: missing template arguments before ‘>’ token
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1580:
error: request for member ‘second’ in ‘matchers’, which is of non-class type ‘const
int’
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:
At global scope:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1623:
sorry, unimplemented: cannot expand ‘Args ...’ into a fixed-length argument list
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1625:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1625:
error: ‘ListType’ in class ‘int’ does not name a type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:
In constructor ‘testing::internal::VariadicMatcher<CombiningMatcher, Args>::VariadicMatcher(const
Args& ...)’:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1611:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1611:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1611:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1611:
error: ‘BuildList’ is not a member of ‘int’
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:
In member function ‘testing::internal::VariadicMatcher<CombiningMatcher, Args>::operator
testing::Matcher<T>() const’:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1618:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1618:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1618:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1618:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1618:
error: ‘int’ is not a class type
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1618:
error: ‘CreateMatcher’ is not a member of ‘int’
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1618:
error: expected primary-expression before ‘,’ token
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1618:
error: missing template arguments before ‘>’ token
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:
At global scope:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1631:
error: expected unqualified-id before ‘using’
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:1725:
error: expected unqualified-id before ‘using’
    In file included from /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-spec-builders.h:75,
                     from /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                     from /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock.h:61,
                     from /root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp/src.cxx:3:
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:4363:
error: expected initializer before ‘<’ token
    /root/Downloads/hawq/incubator-hawq/depends/thirdparty/googletest/googlemock/include/gmock/gmock-matchers.h:4368:
error: expected initializer before ‘<’ token
    gmake[3]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    gmake[3]: *** [CMakeFiles/cmTryCompileExec1622327067.dir/src.cxx.o] Error 1
    gmake[2]: Leaving directory `/root/Downloads/hawq/incubator-hawq/depends/libhdfs3/build/CMakeFiles/CMakeTmp'
    gmake[2]: *** [cmTryCompileExec1622327067/fast] Error 2
    
    Return value: 1
    Source file was:
    
    #include <gtest/gtest.h>
    #include <gmock/gmock.h>
    int main(int argc, char *argv[])
    {
      double pi = 3.14;
      EXPECT_EQ(pi, 3.14);
      return 0;
    }
    
    4. Could you tell me your environment you are using HAWQ such as OS and compiler?
    [root@hawq2 incubator-hawq]# cat /etc/redhat-release 
    CentOS release 6.7 (Final)
    
    [root@hawq2 incubator-hawq]# gcc --version
    gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    [root@hawq2 incubator-hawq]# g++ --version
    g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message