ucbrise / confluo

Real-time Monitoring and Analysis of Data Streams
https://ucbrise.github.io/confluo/
Apache License 2.0
1.44k stars 203 forks source link

an error on complie confluo #117

Closed futurekey closed 5 years ago

futurekey commented 5 years ago

i complie confluo occur an error, and i already read other complie error issues, but no one is my problem, colud you help me? thank you very much.

error message: In file included from /root/work/confluo/libconfluo/../libutils/utils/atomic.h:7:0, from /root/work/confluo/libconfluo/confluo/archival/archival_utils.h:4, from /root/work/confluo/libconfluo/src/archival/archival_utils.cc:1: /usr/include/c++/4.8.2/atomic: In instantiation of ‘struct std::atomic<confluo::storage::encoded_ptr >’: /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:367:32: required from ‘class confluo::storage::swappable_encoded_ptr’ /root/work/confluo/libconfluo/src/archival/archival_utils.cc:17:42: required from here /usr/include/c++/4.8.2/atomic:167:7: error: function ‘std::atomic<_Tp>::atomic() [with _Tp = confluo::storage::encoded_ptr]’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration ‘std::atomic<confluo::storage::encoded_ptr >::atomic()’ atomic() noexcept = default; ^ make[2]: *** [libconfluo/CMakeFiles/confluo.dir/src/archival/archival_utils.cc.o] Error 1

my enviroment configure boost 1.69 gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)

i only build RPC component, others all OFF

anuragkh commented 5 years ago

Hi! Thanks for your interest in Confluo!

This should not occur with GCC 5.3.1, I have tested this on a CentOS 7 server. Can you try rebuilding from scratch and provide the full CMake log?

futurekey commented 5 years ago

Hi, Thanks for you help.

the full building logs

Scanning dependencies of target lz4 Scanning dependencies of target thrift Scanning dependencies of target jemalloc [ 1%] Creating directories for 'lz4' Scanning dependencies of target confluoutils [ 1%] Creating directories for 'thrift' [ 2%] Creating directories for 'jemalloc' [ 2%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/assertions.cc.o [ 3%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/cmd_parse.cc.o [ 4%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/config_utils.cc.o [ 5%] Performing download step (download, verify and extract) for 'thrift' [ 6%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/error_handling.cc.o [ 6%] Performing download step (download, verify and extract) for 'jemalloc' -- Downloading... dst='/root/work/confluo/build/thrift-prefix/src/thrift-0.11.0.tar.gz' timeout='none' -- Using src='http://archive.apache.org/dist/thrift/0.11.0/thrift-0.11.0.tar.gz' [ 7%] Performing download step (download, verify and extract) for 'lz4' [ 8%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/file_utils.cc.o -- Downloading... dst='/root/work/confluo/build/external/jemalloc/src/jemalloc-5.0.1.tar.bz2' timeout='none' -- Using src='https://github.com/jemalloc/jemalloc/releases/download/5.0.1/jemalloc-5.0.1.tar.bz2' -- Downloading... dst='/root/work/confluo/build/lz4-prefix/src/v1.8.2.tar.gz' timeout='none' -- Using src='https://github.com/lz4/lz4/archive/v1.8.2.tar.gz' [ 8%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/io_utils.cc.o [ 9%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/logger.cc.o [ 10%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/math_utils.cc.o [ 11%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/mmap_utils.cc.o [ 12%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/rand_utils.cc.o [ 13%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/time_utils.cc.o [ 13%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/string_utils.cc.o -- [download 0% complete] -- [download 1% complete] -- [download 2% complete] -- [download 3% complete] -- [download 4% complete] -- [download 5% complete] -- [download 6% complete] -- [download 7% complete] -- [download 8% complete] -- [download 9% complete] -- [download 10% complete] -- [download 11% complete] -- [download 12% complete] -- [download 13% complete] -- [download 14% complete] -- [download 15% complete] -- [download 16% complete] -- [download 17% complete] -- [download 18% complete] -- [download 19% complete] -- [download 20% complete] -- [download 21% complete] -- [download 22% complete] -- [download 23% complete] -- [download 24% complete] -- [download 25% complete] -- [download 26% complete] -- [download 27% complete] -- [download 28% complete] -- [download 0% complete] -- [download 29% complete] -- [download 30% complete] -- [download 31% complete] -- [download 32% complete] -- [download 33% complete] -- [download 34% complete] -- [download 35% complete] -- [download 36% complete] -- [download 37% complete] -- [download 38% complete] -- [download 39% complete] -- [download 40% complete] -- [download 41% complete] -- [download 42% complete] -- [download 43% complete] -- [download 44% complete] -- [download 45% complete] -- [download 46% complete] -- [download 47% complete] -- [download 48% complete] -- [download 49% complete] -- [download 50% complete] -- [download 3% complete] -- [download 7% complete] -- [download 10% complete] -- [download 14% complete] -- [download 17% complete] -- [download 21% complete] -- [download 51% complete] -- [download 52% complete] -- [download 53% complete] -- [download 54% complete] -- [download 55% complete] -- [download 56% complete] -- [download 57% complete] -- [download 58% complete] -- [download 59% complete] -- [download 60% complete] -- [download 61% complete] -- [download 62% complete] -- [download 63% complete] -- [download 64% complete] -- [download 65% complete] -- [download 66% complete] -- [download 67% complete] -- [download 68% complete] -- [download 69% complete] -- [download 70% complete] -- [download 71% complete] -- [download 72% complete] -- [download 73% complete] -- [download 74% complete] -- [download 75% complete] -- [download 76% complete] -- [download 77% complete] -- [download 78% complete] -- [download 79% complete] -- [download 80% complete] -- [download 81% complete] -- [download 82% complete] -- [download 83% complete] -- [download 84% complete] -- [download 85% complete] -- [download 86% complete] -- [download 87% complete] -- [download 88% complete] -- [download 89% complete] -- [download 90% complete] -- [download 91% complete] -- [download 24% complete] -- [download 28% complete] -- [download 31% complete] -- [download 35% complete] -- [download 38% complete] -- [download 42% complete] -- [download 45% complete] -- [download 49% complete] -- [download 92% complete] -- [download 93% complete] -- [download 94% complete] -- [download 95% complete] -- [download 96% complete] -- [download 97% complete] -- [download 98% complete] -- [download 99% complete] -- [download 100% complete] -- Downloading... done -- extracting... src='/root/work/confluo/build/thrift-prefix/src/thrift-0.11.0.tar.gz' dst='/root/work/confluo/build/thrift-prefix/src/thrift' -- extracting... [tar xfz] -- [download 52% complete] -- [download 55% complete] -- [download 56% complete] -- [download 59% complete] -- [download 62% complete] -- [download 63% complete] -- [download 66% complete] -- [download 69% complete] -- [download 70% complete] -- [download 73% complete] -- [download 76% complete] -- [download 77% complete] -- [download 80% complete] -- [download 83% complete] -- [download 84% complete] -- [download 87% complete] -- [download 90% complete] -- [download 91% complete] -- [download 94% complete] -- [download 97% complete] -- [download 98% complete] -- [download 100% complete] -- Downloading... done -- extracting... src='/root/work/confluo/build/external/jemalloc/src/jemalloc-5.0.1.tar.bz2' dst='/root/work/confluo/build/external/jemalloc/src/jemalloc' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 14%] No update step for 'thrift' [ 15%] No patch step for 'thrift' [ 16%] Performing configure step for 'thrift' -- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- Check for working C compiler: /usr/bin/cc -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 17%] No update step for 'jemalloc' [ 18%] No patch step for 'jemalloc' [ 19%] Performing configure step for 'jemalloc' -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Downloading... done -- Detecting C compiler ABI info - done -- Detecting C compile features -- extracting... src='/root/work/confluo/build/lz4-prefix/src/v1.8.2.tar.gz' dst='/root/work/confluo/build/lz4-prefix/src/lz4' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 19%] No patch step for 'lz4' [ 20%] No update step for 'lz4' [ 21%] No configure step for 'lz4' [ 22%] Performing build step for 'lz4' compiling static library compiling dynamic library 1.8.2 -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info [ 23%] Linking CXX static library libconfluoutils.a [ 23%] Built target confluoutils -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Parsed Thrift package version: 0.11.0 -- Parsed Thrift version: 0.11.0 (0.1.0) -- Setting C++11 as the default language level. -- To specify a different C++ language level, set CMAKE_CXX_STANDARD -- libevent NOT found. -- Could NOT find RUN_HASKELL (missing: RUN_HASKELL) -- Could NOT find CABAL (missing: CABAL) -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for getopt.h -- Looking for getopt.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for sys/time.h creating versioned links [ 24%] No install step for 'lz4' [ 24%] Completed 'lz4' [ 24%] Built target lz4 -- Looking for sys/time.h - found -- Looking for sys/param.h Scanning dependencies of target confluo -- Looking for sys/param.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/un.h -- Looking for sys/un.h - found -- Looking for sys/poll.h -- Looking for sys/poll.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sched.h -- Looking for sched.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for gethostbyname_r -- Looking for gethostbyname_r - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for sched_get_priority_max [ 24%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/confluo_store.cc.o [ 25%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/atomic_multilog.cc.o [ 26%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/filter.cc.o [ 27%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/read_tail.cc.o -- Looking for sched_get_priority_max - found -- Looking for sched_get_priority_min [ 28%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/trigger.cc.o [ 28%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/atomic_multilog_metadata.cc.o [ 29%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/alert.cc.o [ 30%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/alert_index.cc.o [ 31%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/aggregated_reflog.cc.o [ 32%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/aggregate/aggregate.cc.o [ 33%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/aggregate/aggregate_manager.cc.o [ 34%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/aggregate/aggregate_ops.cc.o [ 35%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/compression/confluo_encoder.cc.o [ 36%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/container/data_log.cc.o [ 36%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/container/reflog.cc.o [ 36%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/aggregate/aggregate_info.cc.o [ 37%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/container/cursor/alert_cursor.cc.o [ 38%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/container/cursor/offset_cursors.cc.o [ 39%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/parser/aggregate_parser.cc.o [ 40%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/container/cursor/record_cursors.cc.o [ 40%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/parser/expression_compiler.cc.o [ 41%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/parser/expression_parser.cc.o [ 42%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/parser/schema_parser.cc.o [ 43%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/parser/trigger_parser.cc.o [ 44%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/planner/query_ops.cc.o [ 44%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/planner/query_plan.cc.o [ 45%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/planner/query_planner.cc.o -- Looking for sched_get_priority_min - found -- Performing Test STRERROR_R_CHAR_P [ 46%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/schema/column.cc.o [ 47%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/schema/field.cc.o [ 48%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/schema/index_state.cc.o [ 49%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/schema/record.cc.o [ 49%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/schema/record_batch.cc.o [ 50%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/schema/schema.cc.o [ 51%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/schema/schema_snapshot.cc.o [ 52%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/io/incremental_file_offset.cc.o -- Performing Test STRERROR_R_CHAR_P - Success [ 53%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/io/incremental_file_stream.cc.o [ 53%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/io/incremental_file_reader.cc.o -- Looking for pthread.h [ 54%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/io/incremental_file_writer.cc.o [ 55%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/archival_actions.cc.o [ 56%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/archival_metadata.cc.o [ 57%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/archival_utils.cc.o [ 57%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/atomic_multilog_archiver.cc.o [ 58%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/filter_archiver.cc.o [ 59%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/filter_log_archiver.cc.o -- Looking for pthread.h - found -- Looking for pthread_create [ 60%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/index_archiver.cc.o [ 61%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/index_log_archiver.cc.o [ 61%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/archival/load_utils.cc.o [ 62%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/storage/reference_counts.cc.o [ 63%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/storage/ptr_aux_block.cc.o [ 64%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/storage/ptr_metadata.cc.o [ 65%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/storage/memory_stat.cc.o -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads [ 65%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/storage/storage.cc.o [ 66%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/storage/storage_allocator.cc.o [ 67%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/threads/periodic_task.cc.o [ 68%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/threads/task_pool.cc.o [ 69%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/threads/thread_manager.cc.o [ 69%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/types/byte_string.cc.o [ 70%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/types/data_type.cc.o -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread [ 71%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/types/immutable_value.cc.o [ 72%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/types/primitive_types.cc.o [ 73%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/types/mutable_value.cc.o [ 74%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/types/raw_data.cc.o [ 74%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/types/numeric.cc.o [ 75%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/types/type_properties.cc.o [ 76%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/types/type_manager.cc.o -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Building without tests -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)


-- Thrift version: 0.11.0 (0.1.0) -- Thrift package version: 0.11.0 -- Build configuration Summary -- Build Thrift compiler: OFF -- Build compiler plugin support: OFF -- Build with unit tests: OFF -- - Disabled because BUILD_THRIFT=OFF and no valid THRIFT_COMPILER is given -- Build examples: OFF -- - Disabled because BUILD_THRIFT=OFF and no valid THRIFT_COMPILER is given -- Build Thrift libraries: ON -- Language libraries: -- Build C++ library: ON -- C++ Language Level: C++11 [fallback to earlier if compiler does not support it] -- Build C (GLib) library: OFF -- - Disabled by WITH_C_GLIB=OFF -- - GLib missing -- Build Java library: OFF -- - Disabled by WITH_JAVA=OFF -- Build Python library: OFF -- - Disabled by WITH_PYTHON=OFF -- - Python libraries missing -- Build Haskell library: OFF -- - Disabled by WITH_HASKELL=OFF -- - GHC missing -- - Cabal missing -- Library features: -- Build shared libraries: OFF -- Build static libraries: ON -- Build with Boost static link library: OFF -- Build with Boost thread support: OFF -- Build with boost/tr1/functional (forced) OFF -- Build with boost/smart_ptr (forced) OFF -- Build with C++ std::thread support: OFF -- Build with libevent support: OFF -- Build with OpenSSL support: OFF -- Build with Qt4 support: OFF -- Build with Qt5 support: OFF -- Build with ZLIB support: OFF


-- Configuring done -- Generating done -- Build files have been written to: /root/work/confluo/build/thrift-prefix/src/thrift-build [ 77%] Performing build step for 'thrift' Scanning dependencies of target thrift_static In file included from /root/work/confluo/libconfluo/../libutils/utils/atomic.h:7:0, from /root/work/confluo/libconfluo/confluo/archival/archival_utils.h:4, from /root/work/confluo/libconfluo/src/archival/archival_utils.cc:1: /usr/include/c++/4.8.2/atomic: In instantiation of ‘struct std::atomic<confluo::storage::encoded_ptr >’: /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:367:32: required from ‘class confluo::storage::swappable_encoded_ptr’ /root/work/confluo/libconfluo/src/archival/archival_utils.cc:17:42: required from here /usr/include/c++/4.8.2/atomic:167:7: error: function ‘std::atomic<_Tp>::atomic() [with _Tp = confluo::storage::encoded_ptr]’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration ‘std::atomic<confluo::storage::encoded_ptr >::atomic()’ atomic() noexcept = default; ^ make[2]: [libconfluo/CMakeFiles/confluo.dir/src/archival/archival_utils.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... [ 2%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/TApplicationException.cpp.o [ 5%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/TOutput.cpp.o [ 7%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/async/TAsyncChannel.cpp.o [ 10%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/async/TConcurrentClientSyncInfo.cpp.o [ 13%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/ThreadManager.cpp.o [ 15%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/TimerManager.cpp.o [ 18%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/Util.cpp.o [ 21%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/processor/PeekProcessor.cpp.o [ 23%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/protocol/TBase64Utils.cpp.o [ 26%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/protocol/TDebugProtocol.cpp.o [ 28%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/protocol/TJSONProtocol.cpp.o [ 31%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/protocol/TMultiplexedProtocol.cpp.o [ 34%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/protocol/TProtocol.cpp.o [ 36%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TTransportException.cpp.o [ 39%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TFDTransport.cpp.o [ 42%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TSimpleFileTransport.cpp.o [ 44%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/THttpTransport.cpp.o [ 47%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/THttpClient.cpp.o [ 50%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/THttpServer.cpp.o [ 52%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TSocket.cpp.o [ 55%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TSocketPool.cpp.o [ 57%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TServerSocket.cpp.o [ 60%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TTransportUtils.cpp.o [ 63%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TBufferTransports.cpp.o [ 65%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TConnectedClient.cpp.o [ 68%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TServerFramework.cpp.o [ 71%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TSimpleServer.cpp.o [ 73%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TThreadPoolServer.cpp.o [ 76%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TThreadedServer.cpp.o [ 78%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TPipe.cpp.o [ 81%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TPipeServer.cpp.o [ 84%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TFileTransport.cpp.o [ 86%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/VirtualProfiling.cpp.o [ 89%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TServer.cpp.o [ 92%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/PosixThreadFactory.cpp.o [ 94%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/Mutex.cpp.o [ 97%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/Monitor.cpp.o c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla for instructions. make[2]: [libconfluo/CMakeFiles/confluo.dir/src/atomic_multilog.cc.o] Error 4 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla for instructions. make[2]: [libconfluo/CMakeFiles/confluo.dir/src/confluo_store.cc.o] Error 4 virtual memory exhausted: Cannot allocate memory make[5]: [lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/protocol/TMultiplexedProtocol.cpp.o] Error 1 make[5]: Waiting for unfinished jobs.... c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla for instructions. virtual memory exhausted: Cannot allocate memory make[5]: [lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TServerFramework.cpp.o] Error 1 make[2]: [libconfluo/CMakeFiles/confluo.dir/src/filter.cc.o] Error 4 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla for instructions. make[2]: [libconfluo/CMakeFiles/confluo.dir/src/parser/aggregate_parser.cc.o] Error 4 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla for instructions. virtual memory exhausted: Cannot allocate memory make[2]: [libconfluo/CMakeFiles/confluo.dir/src/aggregate/aggregate_info.cc.o] Error 4 make[2]: [libconfluo/CMakeFiles/confluo.dir/src/archival/filter_log_archiver.cc.o] Error 1 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla for instructions. virtual memory exhausted: Cannot allocate memory virtual memory exhausted: Cannot allocate memory virtual memory exhausted: Cannot allocate memory virtual memory exhausted: Cannot allocate memory make[2]: [libconfluo/CMakeFiles/confluo.dir/src/aggregated_reflog.cc.o] Error 4 make[2]: [libconfluo/CMakeFiles/confluo.dir/src/archival/index_log_archiver.cc.o] Error 1 make[2]: [libconfluo/CMakeFiles/confluo.dir/src/parser/expression_compiler.cc.o] Error 1 make[2]: [libconfluo/CMakeFiles/confluo.dir/src/parser/schema_parser.cc.o] Error 1 make[2]: [libconfluo/CMakeFiles/confluo.dir/src/planner/query_planner.cc.o] Error 1 make[4]: [lib/cpp/CMakeFiles/thrift_static.dir/all] Error 2 make[3]: [all] Error 2 make[2]: [thrift-prefix/src/thrift-stamp/thrift-build] Error 2 make[1]: [CMakeFiles/thrift.dir/all] Error 2 make[1]: * Waiting for unfinished jobs.... In file included from /root/work/confluo/libconfluo/../libutils/utils/atomic.h:7:0, from /root/work/confluo/libconfluo/confluo/storage/memory_stat.h:4, from /root/work/confluo/libconfluo/confluo/storage/storage_allocator.h:9, from /root/work/confluo/libconfluo/confluo/storage/allocator.h:4, from /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:4, from /root/work/confluo/libconfluo/confluo/schema/record.h:7, from /root/work/confluo/libconfluo/confluo/container/cursor/record_cursors.h:8, from /root/work/confluo/libconfluo/src/container/cursor/record_cursors.cc:1: /usr/include/c++/4.8.2/atomic: In instantiation of ‘struct std::atomic<confluo::storage::encoded_ptr >’: /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:367:32: required from ‘class confluo::storage::swappable_encoded_ptr’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear_bucket.h:292:22: required from ‘class confluo::monolog::monolog_linear_bucket<unsigned char, 1048576ul>’ /usr/include/c++/4.8.2/array:97:56: required from ‘struct std::array<confluo::monolog::monolog_linear_bucket<unsigned char, 1048576ul>, 65536ul>’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear.h:273:66: required from ‘class confluo::monolog::monolog_linear_base<unsigned char, 65536ul, 67108864ul, 1048576ul>’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear.h:282:7: required from ‘class confluo::monolog::monolog_linear<unsigned char, 65536ul, 67108864ul, 1048576ul>’ /root/work/confluo/libconfluo/src/container/cursor/record_cursors.cc:48:10: required from here /usr/include/c++/4.8.2/atomic:167:7: error: function ‘std::atomic<_Tp>::atomic() [with _Tp = confluo::storage::encoded_ptr]’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration ‘std::atomic<confluo::storage::encoded_ptr >::atomic()’ atomic() noexcept = default; ^ In file included from /root/work/confluo/libconfluo/../libutils/utils/atomic.h:7:0, from /root/work/confluo/libconfluo/confluo/aggregate/aggregate.h:5, from /root/work/confluo/libconfluo/confluo/aggregated_reflog.h:4, from /root/work/confluo/libconfluo/confluo/archival/index_archiver.h:6, from /root/work/confluo/libconfluo/src/archival/index_archiver.cc:1: /usr/include/c++/4.8.2/atomic: In instantiation of ‘struct std::atomic<confluo::storage::encoded_ptr >’: /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:367:32: required from ‘class confluo::storage::swappable_encoded_ptr’ /root/work/confluo/libconfluo/src/archival/index_archiver.cc:108:66: required from here /usr/include/c++/4.8.2/atomic:167:7: error: function ‘std::atomic<_Tp>::atomic() [with _Tp = confluo::storage::encoded_ptr]’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration ‘std::atomic<confluo::storage::encoded_ptr >::atomic()’ atomic() noexcept = default; ^ In file included from /root/work/confluo/libconfluo/../libutils/utils/atomic.h:7:0, from /root/work/confluo/libconfluo/confluo/aggregate/aggregate.h:5, from /root/work/confluo/libconfluo/confluo/aggregated_reflog.h:4, from /root/work/confluo/libconfluo/confluo/archival/filter_archiver.h:5, from /root/work/confluo/libconfluo/src/archival/filter_archiver.cc:1: /usr/include/c++/4.8.2/atomic: In instantiation of ‘struct std::atomic<confluo::storage::encoded_ptr >’: /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:367:32: required from ‘class confluo::storage::swappable_encoded_ptr’ /root/work/confluo/libconfluo/src/archival/filter_archiver.cc:131:66: required from here /usr/include/c++/4.8.2/atomic:167:7: error: function ‘std::atomic<_Tp>::atomic() [with _Tp = confluo::storage::encoded_ptr]’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration ‘std::atomic<confluo::storage::encoded_ptr >::atomic()’ atomic() noexcept = default; ^ In file included from /root/work/confluo/libconfluo/../libutils/utils/atomic.h:7:0, from /root/work/confluo/libconfluo/confluo/archival/archival_utils.h:4, from /root/work/confluo/libconfluo/confluo/archival/load_utils.h:4, from /root/work/confluo/libconfluo/src/archival/load_utils.cc:1: /usr/include/c++/4.8.2/atomic: In instantiation of ‘struct std::atomic<confluo::storage::encoded_ptr >’: /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:367:32: required from ‘class confluo::storage::swappable_encoded_ptr’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear_bucket.h:292:22: required from ‘class confluo::monolog::monolog_linear_bucket<unsigned char, 1048576ul>’ /usr/include/c++/4.8.2/array:97:56: required from ‘struct std::array<confluo::monolog::monolog_linear_bucket<unsigned char, 1048576ul>, 65536ul>’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear.h:273:66: required from ‘class confluo::monolog::monolog_linear_base<unsigned char, 65536ul, 67108864ul, 1048576ul>’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear.h:282:7: required from ‘class confluo::monolog::monolog_linear<unsigned char, 65536ul, 67108864ul, 1048576ul>’ /root/work/confluo/libconfluo/src/archival/load_utils.cc:12:24: required from here /usr/include/c++/4.8.2/atomic:167:7: error: function ‘std::atomic<_Tp>::atomic() [with _Tp = confluo::storage::encoded_ptr]’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration ‘std::atomic<confluo::storage::encoded_ptr >::atomic()’ atomic() noexcept = default; ^ In file included from /root/work/confluo/libconfluo/../libutils/utils/atomic.h:7:0, from /root/work/confluo/libconfluo/confluo/container/monolog/monolog_exp2.h:7, from /root/work/confluo/libconfluo/confluo/container/monolog/monolog.h:8, from /root/work/confluo/libconfluo/confluo/container/data_log.h:4, from /root/work/confluo/libconfluo/confluo/archival/atomic_multilog_archiver.h:4, from /root/work/confluo/libconfluo/src/archival/atomic_multilog_archiver.cc:1: /usr/include/c++/4.8.2/atomic: In instantiation of ‘struct std::atomic<confluo::storage::encoded_ptr >’: /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:367:32: required from ‘class confluo::storage::swappable_encoded_ptr’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear_bucket.h:292:22: required from ‘class confluo::monolog::monolog_linear_bucket<unsigned char, 1048576ul>’ /usr/include/c++/4.8.2/array:97:56: required from ‘struct std::array<confluo::monolog::monolog_linear_bucket<unsigned char, 1048576ul>, 65536ul>’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear.h:273:66: required from ‘class confluo::monolog::monolog_linear_base<unsigned char, 65536ul, 67108864ul, 1048576ul>’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear.h:282:7: required from ‘class confluo::monolog::monolog_linear<unsigned char, 65536ul, 67108864ul, 1048576ul>’ /root/work/confluo/libconfluo/confluo/archival/monolog_linear_archiver.h:54:7: required from ‘void confluo::archival::monolog_linear_archiver<T, MAX_BUCKETS, BUCKET_SIZE, BUF_SIZE>::archive(size_t) [with T = unsigned char; long unsigned int MAX_BUCKETS = 65536ul; long unsigned int BUCKET_SIZE = 67108864ul; long unsigned int BUF_SIZE = 1048576ul; size_t = long unsigned int]’ /root/work/confluo/libconfluo/src/archival/atomic_multilog_archiver.cc:33:38: required from here /usr/include/c++/4.8.2/atomic:167:7: error: function ‘std::atomic<_Tp>::atomic() [with _Tp = confluo::storage::encoded_ptr]’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration ‘std::atomic<confluo::storage::encoded_ptr >::atomic()’ atomic() noexcept = default; ^ /usr/include/c++/4.8.2/atomic: In instantiation of ‘struct std::atomic<confluo::storage::encoded_ptr >’: /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:367:32: required from ‘class confluo::storage::swappable_encoded_ptr’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_exp2_linear.h:234:44: required from ‘const T confluo::monolog::monolog_exp2_linear_base<T, NCONTAINERS, BUCKET_SIZE>::get(size_t) const [with T = long unsigned int; long unsigned int NCONTAINERS = 18ul; long unsigned int BUCKET_SIZE = 1024ul; size_t = long unsigned int]’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_exp2.h:58:27: required from ‘confluo::monolog::monolog_iterator::reference confluo::monolog::monolog_iterator::operator*() const [with monolog_impl = confluo::monolog::monolog_exp2_linear<long unsigned int, 18ul, 1024ul>; confluo::monolog::monolog_iterator::reference = long unsigned int]’ /root/work/confluo/libconfluo/confluo/archival/filter_archiver.h:123:19: required from ‘static size_t confluo::archival::filter_load_utils::load_reflog_aggregates(const string&, radix_tree&) [with radix_tree = confluo::index::radix_tree; size_t = long unsigned int; std::string = std::basic_string]’ /root/work/confluo/libconfluo/src/archival/load_utils.cc:55:79: required from here /usr/include/c++/4.8.2/atomic:167:7: error: function ‘std::atomic<_Tp>::atomic() [with _Tp = confluo::storage::encoded_ptr]’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration ‘std::atomic<confluo::storage::encoded_ptr >::atomic()’ make[2]: ** [libconfluo/CMakeFiles/confluo.dir/src/container/cursor/record_cursors.cc.o] Error 1 In file included from /root/work/confluo/libconfluo/../libutils/utils/atomic.h:7:0, from /root/work/confluo/libconfluo/confluo/storage/memory_stat.h:4, from /root/work/confluo/libconfluo/confluo/storage/storage_allocator.h:9, from /root/work/confluo/libconfluo/confluo/storage/allocator.h:4, from /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:4, from /root/work/confluo/libconfluo/confluo/schema/record.h:7, from /root/work/confluo/libconfluo/confluo/container/cursor/record_cursors.h:8, from /root/work/confluo/libconfluo/confluo/planner/query_plan.h:8, from /root/work/confluo/libconfluo/src/planner/query_plan.cc:1: /usr/include/c++/4.8.2/atomic: In instantiation of ‘struct std::atomic<confluo::storage::encoded_ptr >’: /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:367:32: required from ‘class confluo::storage::swappable_encoded_ptr’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_exp2_linear.h:234:44: required from ‘const T confluo::monolog::monolog_exp2_linear_base<T, NCONTAINERS, BUCKET_SIZE>::get(size_t) const [with T = long unsigned int; long unsigned int NCONTAINERS = 18ul; long unsigned int BUCKET_SIZE = 1024ul; size_t = long unsigned int]’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_exp2.h:58:27: required from ‘confluo::monolog::monolog_iterator::reference confluo::monolog::monolog_iterator::operator() const [with monolog_impl = confluo::monolog::monolog_exp2_linear<long unsigned int, 18ul, 1024ul>; confluo::monolog::monolog_iterator::reference = long unsigned int]’ /root/work/confluo/libconfluo/confluo/container/flatten.h:66:12: required from ‘flattened_iterator::reference flattened_iterator::operator() const [with outer_iterator = confluo::index::rt_reflog_it<confluo::monolog::monolog_exp2_linear<long unsigned int, 18ul, 1024ul> >; flattened_iterator::reference = long unsigned int]’ /root/work/confluo/libconfluo/confluo/container/cursor/offset_cursors.h:70:32: required from ‘size_t confluo::offset_iterator_cursor::load_next_batch() [with iterator = flattened_iterator<confluo::index::rt_reflog_it<confluo::monolog::monolog_exp2_linear<long unsigned int, 18ul, 1024ul> > >; size_t = long unsigned int]’ /root/work/confluo/libconfluo/src/planner/query_plan.cc:64:1: required from here /usr/include/c++/4.8.2/atomic:167:7: error: function ‘std::atomic<_Tp>::atomic() [with _Tp = confluo::storage::encoded_ptr]’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration ‘std::atomic<confluo::storage::encoded_ptr >::atomic()’ atomic() noexcept = default; ^ make[2]: [libconfluo/CMakeFiles/confluo.dir/src/archival/filter_archiver.cc.o] Error 1 make[2]: [libconfluo/CMakeFiles/confluo.dir/src/archival/index_archiver.cc.o] Error 1 make[2]: [libconfluo/CMakeFiles/confluo.dir/src/planner/query_plan.cc.o] Error 1 make[2]: [libconfluo/CMakeFiles/confluo.dir/src/archival/load_utils.cc.o] Error 1 make[2]: [libconfluo/CMakeFiles/confluo.dir/src/archival/atomic_multilog_archiver.cc.o] Error 1 -- jemalloc configure command succeeded. See also /root/work/confluo/build/external/jemalloc/src/jemalloc-stamp/jemalloc-configure-*.log [ 78%] Performing build step for 'jemalloc' make[1]: [libconfluo/CMakeFiles/confluo.dir/all] Error 2 -- jemalloc build command succeeded. See also /root/work/confluo/build/external/jemalloc/src/jemalloc-stamp/jemalloc-build-.log [ 79%] Performing install step for 'jemalloc' -- jemalloc install command succeeded. See also /root/work/confluo/build/external/jemalloc/src/jemalloc-stamp/jemalloc-install-.log [ 80%] Completed 'jemalloc' [ 80%] Built target jemalloc make: [all] Error 2

anuragkh commented 5 years ago

Sorry I need the CMake configure log as well. Can you delete the build/ directory and build again from scratch, and include the output for the cmake ../ command too?

anuragkh commented 5 years ago

Also, you seem to be running out of memory:

c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See http://bugzilla.redhat.com/bugzilla for instructions.
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory

Maybe try the build with a single thread instead of multiple threads? (remove the -j flag in the make command)

futurekey commented 5 years ago

Hi, i deleted the build/ directory and build again

cmake .. command logs -- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- 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 -- Detecting C compile features -- Detecting C compile features - 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 -- Detecting CXX compile features -- Detecting CXX compile features - done


-- Confluo version: 0.1.0 -- Build configuration Summary -- Build RPC Framework: ON -- Build python client libraries: OFF -- Build java client libraries: OFF -- Build with unit tests: OFF -- Build documentation: OFF -- Build examples: OFF


-- Looking for pthread.h -- Looking for 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
-- Boost version: 1.69.0 -- Boost include dir: /usr/local/include -- Jemalloc library: /root/work/confluo/build/external/jemalloc/lib/libjemalloc.a -- Thrift include dir: /root/work/confluo/build/external/thrift/include -- Thrift static library: /root/work/confluo/build/external/thrift/lib/libthrift.a -- Configuring done -- Generating done -- Build files have been written to: /root/work/confluo/build

make command logs Scanning dependencies of target lz4 [ 1%] Creating directories for 'lz4' [ 2%] Performing download step (download, verify and extract) for 'lz4' -- Downloading... dst='/root/work/confluo/build/lz4-prefix/src/v1.8.2.tar.gz' timeout='none' -- Using src='https://github.com/lz4/lz4/archive/v1.8.2.tar.gz' -- Downloading... done -- extracting... src='/root/work/confluo/build/lz4-prefix/src/v1.8.2.tar.gz' dst='/root/work/confluo/build/lz4-prefix/src/lz4' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 2%] No patch step for 'lz4' [ 3%] No update step for 'lz4' [ 4%] No configure step for 'lz4' [ 5%] Performing build step for 'lz4' compiling static library compiling dynamic library 1.8.2 creating versioned links [ 6%] No install step for 'lz4' [ 6%] Completed 'lz4' [ 6%] Built target lz4 Scanning dependencies of target thrift [ 6%] Creating directories for 'thrift' [ 7%] Performing download step (download, verify and extract) for 'thrift' -- Downloading... dst='/root/work/confluo/build/thrift-prefix/src/thrift-0.11.0.tar.gz' timeout='none' -- Using src='http://archive.apache.org/dist/thrift/0.11.0/thrift-0.11.0.tar.gz' -- [download 0% complete] -- [download 1% complete] -- [download 2% complete] -- [download 3% complete] -- [download 4% complete] -- [download 5% complete] -- [download 6% complete] -- [download 7% complete] -- [download 8% complete] -- [download 9% complete] -- [download 10% complete] -- [download 11% complete] -- [download 12% complete] -- [download 13% complete] -- [download 14% complete] -- [download 15% complete] -- [download 16% complete] -- [download 17% complete] -- [download 18% complete] -- [download 19% complete] -- [download 20% complete] -- [download 21% complete] -- [download 22% complete] -- [download 23% complete] -- [download 24% complete] -- [download 25% complete] -- [download 26% complete] -- [download 27% complete] -- [download 28% complete] -- [download 29% complete] -- [download 30% complete] -- [download 31% complete] -- [download 32% complete] -- [download 33% complete] -- [download 34% complete] -- [download 35% complete] -- [download 36% complete] -- [download 37% complete] -- [download 38% complete] -- [download 39% complete] -- [download 40% complete] -- [download 41% complete] -- [download 42% complete] -- [download 43% complete] -- [download 44% complete] -- [download 45% complete] -- [download 46% complete] -- [download 47% complete] -- [download 48% complete] -- [download 49% complete] -- [download 50% complete] -- [download 51% complete] -- [download 52% complete] -- [download 53% complete] -- [download 54% complete] -- [download 55% complete] -- [download 56% complete] -- [download 57% complete] -- [download 58% complete] -- [download 59% complete] -- [download 60% complete] -- [download 61% complete] -- [download 62% complete] -- [download 63% complete] -- [download 64% complete] -- [download 65% complete] -- [download 66% complete] -- [download 67% complete] -- [download 68% complete] -- [download 69% complete] -- [download 70% complete] -- [download 71% complete] -- [download 72% complete] -- [download 73% complete] -- [download 74% complete] -- [download 75% complete] -- [download 76% complete] -- [download 77% complete] -- [download 78% complete] -- [download 79% complete] -- [download 80% complete] -- [download 81% complete] -- [download 82% complete] -- [download 83% complete] -- [download 84% complete] -- [download 85% complete] -- [download 86% complete] -- [download 87% complete] -- [download 88% complete] -- [download 89% complete] -- [download 90% complete] -- [download 91% complete] -- [download 92% complete] -- [download 93% complete] -- [download 94% complete] -- [download 95% complete] -- [download 96% complete] -- [download 97% complete] -- [download 98% complete] -- [download 99% complete] -- [download 100% complete] -- Downloading... done -- extracting... src='/root/work/confluo/build/thrift-prefix/src/thrift-0.11.0.tar.gz' dst='/root/work/confluo/build/thrift-prefix/src/thrift' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 8%] No patch step for 'thrift' [ 9%] No update step for 'thrift' [ 10%] Performing configure step for 'thrift' -- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- 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 -- Detecting C compile features -- Detecting C compile features - 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 -- Detecting CXX compile features -- Detecting CXX compile features - done -- Parsed Thrift package version: 0.11.0 -- Parsed Thrift version: 0.11.0 (0.1.0) -- Setting C++11 as the default language level. -- To specify a different C++ language level, set CMAKE_CXX_STANDARD -- libevent NOT found. -- Could NOT find RUN_HASKELL (missing: RUN_HASKELL) -- Could NOT find CABAL (missing: CABAL) -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for getopt.h -- Looking for getopt.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/un.h -- Looking for sys/un.h - found -- Looking for sys/poll.h -- Looking for sys/poll.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sched.h -- Looking for sched.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for gethostbyname_r -- Looking for gethostbyname_r - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for sched_get_priority_max -- Looking for sched_get_priority_max - found -- Looking for sched_get_priority_min -- Looking for sched_get_priority_min - found -- Performing Test STRERROR_R_CHAR_P -- Performing Test STRERROR_R_CHAR_P - Success -- Looking for pthread.h -- Looking for 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
-- Building without tests -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)


-- Thrift version: 0.11.0 (0.1.0) -- Thrift package version: 0.11.0 -- Build configuration Summary -- Build Thrift compiler: OFF -- Build compiler plugin support: OFF -- Build with unit tests: OFF -- - Disabled because BUILD_THRIFT=OFF and no valid THRIFT_COMPILER is given -- Build examples: OFF -- - Disabled because BUILD_THRIFT=OFF and no valid THRIFT_COMPILER is given -- Build Thrift libraries: ON -- Language libraries: -- Build C++ library: ON -- C++ Language Level: C++11 [fallback to earlier if compiler does not support it] -- Build C (GLib) library: OFF -- - Disabled by WITH_C_GLIB=OFF -- - GLib missing -- Build Java library: OFF -- - Disabled by WITH_JAVA=OFF -- Build Python library: OFF -- - Disabled by WITH_PYTHON=OFF -- - Python libraries missing -- Build Haskell library: OFF -- - Disabled by WITH_HASKELL=OFF -- - GHC missing -- - Cabal missing -- Library features: -- Build shared libraries: OFF -- Build static libraries: ON -- Build with Boost static link library: OFF -- Build with Boost thread support: OFF -- Build with boost/tr1/functional (forced) OFF -- Build with boost/smart_ptr (forced) OFF -- Build with C++ std::thread support: OFF -- Build with libevent support: OFF -- Build with OpenSSL support: OFF -- Build with Qt4 support: OFF -- Build with Qt5 support: OFF -- Build with ZLIB support: OFF


-- Configuring done -- Generating done -- Build files have been written to: /root/work/confluo/build/thrift-prefix/src/thrift-build [ 11%] Performing build step for 'thrift' Scanning dependencies of target thrift_static [ 2%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/TApplicationException.cpp.o [ 5%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/TOutput.cpp.o [ 7%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/async/TAsyncChannel.cpp.o [ 10%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/async/TConcurrentClientSyncInfo.cpp.o [ 13%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/ThreadManager.cpp.o [ 15%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/TimerManager.cpp.o [ 18%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/Util.cpp.o [ 21%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/processor/PeekProcessor.cpp.o [ 23%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/protocol/TBase64Utils.cpp.o [ 26%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/protocol/TDebugProtocol.cpp.o [ 28%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/protocol/TJSONProtocol.cpp.o [ 31%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/protocol/TMultiplexedProtocol.cpp.o [ 34%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/protocol/TProtocol.cpp.o [ 36%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TTransportException.cpp.o [ 39%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TFDTransport.cpp.o [ 42%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TSimpleFileTransport.cpp.o [ 44%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/THttpTransport.cpp.o [ 47%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/THttpClient.cpp.o [ 50%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/THttpServer.cpp.o [ 52%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TSocket.cpp.o [ 55%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TSocketPool.cpp.o [ 57%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TServerSocket.cpp.o [ 60%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TTransportUtils.cpp.o [ 63%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TBufferTransports.cpp.o [ 65%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TConnectedClient.cpp.o [ 68%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TServerFramework.cpp.o [ 71%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TSimpleServer.cpp.o [ 73%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TThreadPoolServer.cpp.o [ 76%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TThreadedServer.cpp.o [ 78%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TPipe.cpp.o [ 81%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TPipeServer.cpp.o [ 84%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/transport/TFileTransport.cpp.o [ 86%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/VirtualProfiling.cpp.o [ 89%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/server/TServer.cpp.o [ 92%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/PosixThreadFactory.cpp.o [ 94%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/Mutex.cpp.o [ 97%] Building CXX object lib/cpp/CMakeFiles/thrift_static.dir/src/thrift/concurrency/Monitor.cpp.o [100%] Linking CXX static library ../libthrift.a [100%] Built target thrift_static [ 12%] Performing install step for 'thrift' [100%] Built target thrift_static Install the project... -- Install configuration: "RelWithDebInfo" -- Installing: /root/work/confluo/build/external/thrift/lib/libthrift.a -- Installing: /root/work/confluo/build/external/thrift/include/thrift -- Installing: /root/work/confluo/build/external/thrift/include/thrift/TToString.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/TBase.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TSimpleFileTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/THttpTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TShortReadTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TTransportException.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/THttpClient.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TZlibTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TBufferTransports.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/PlatformSocket.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TNonblockingServerTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/THeaderTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TPipe.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TNonblockingServerSocket.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TSocketPool.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TVirtualTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TFDTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TServerSocket.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TTransportUtils.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TSSLServerSocket.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TPipeServer.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TSocket.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TServerTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TNonblockingSSLServerSocket.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/THttpServer.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TFileTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/transport/TSSLSocket.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/TProcessor.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/TApplicationException.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/windows -- Installing: /root/work/confluo/build/external/thrift/include/thrift/windows/SocketPair.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/windows/OverlappedSubmissionThread.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/windows/Operators.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/windows/config.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/windows/Sync.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/windows/WinFcntl.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/windows/TWinsockSingleton.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/windows/GetTimeOfDay.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/ThreadManager.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/Mutex.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/Monitor.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/PosixThreadFactory.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/TimerManager.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/Util.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/PlatformThreadFactory.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/StdThreadFactory.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/BoostThreadFactory.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/FunctionRunner.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/Thread.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/concurrency/Exception.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/TDispatchProcessor.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/thrift-config.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/async -- Installing: /root/work/confluo/build/external/thrift/include/thrift/async/TAsyncChannel.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/async/TAsyncBufferProcessor.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/async/TEvhttpClientChannel.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/async/TConcurrentClientSyncInfo.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/async/TAsyncProcessor.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/async/TAsyncProtocolProcessor.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/async/TAsyncDispatchProcessor.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/async/TEvhttpServer.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/server -- Installing: /root/work/confluo/build/external/thrift/include/thrift/server/TThreadPoolServer.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/server/TServer.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/server/TThreadedServer.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/server/TServerFramework.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/server/TNonblockingServer.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/server/TSimpleServer.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/server/TConnectedClient.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/stdcxx.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/processor -- Installing: /root/work/confluo/build/external/thrift/include/thrift/processor/TMultiplexedProcessor.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/processor/PeekProcessor.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/processor/StatsProcessor.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/qt -- Installing: /root/work/confluo/build/external/thrift/include/thrift/qt/TQIODeviceTransport.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/qt/TQTcpServer.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/TLogging.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/TOutput.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TBase64Utils.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/THeaderProtocol.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TCompactProtocol.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TJSONProtocol.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TVirtualProtocol.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TCompactProtocol.tcc -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TMultiplexedProtocol.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TProtocolTypes.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TProtocol.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TBinaryProtocol.tcc -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TProtocolTap.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TDebugProtocol.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TBinaryProtocol.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TProtocolException.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/protocol/TProtocolDecorator.h -- Installing: /root/work/confluo/build/external/thrift/include/thrift/Thrift.h -- Up-to-date: /root/work/confluo/build/external/thrift/include/thrift -- Installing: /root/work/confluo/build/external/thrift/include/thrift/config.h [ 13%] Completed 'thrift' [ 13%] Built target thrift Scanning dependencies of target jemalloc [ 14%] Creating directories for 'jemalloc' [ 14%] Performing download step (download, verify and extract) for 'jemalloc' -- Downloading... dst='/root/work/confluo/build/external/jemalloc/src/jemalloc-5.0.1.tar.bz2' timeout='none' -- Using src='https://github.com/jemalloc/jemalloc/releases/download/5.0.1/jemalloc-5.0.1.tar.bz2' -- [download 0% complete] -- [download 3% complete] -- [download 7% complete] -- [download 10% complete] -- [download 14% complete] -- [download 17% complete] -- [download 21% complete] -- [download 24% complete] -- [download 28% complete] -- [download 31% complete] -- [download 35% complete] -- [download 38% complete] -- [download 42% complete] -- [download 45% complete] -- [download 49% complete] -- [download 52% complete] -- [download 55% complete] -- [download 56% complete] -- [download 59% complete] -- [download 62% complete] -- [download 63% complete] -- [download 66% complete] -- [download 69% complete] -- [download 70% complete] -- [download 73% complete] -- [download 76% complete] -- [download 77% complete] -- [download 80% complete] -- [download 83% complete] -- [download 84% complete] -- [download 87% complete] -- [download 90% complete] -- [download 91% complete] -- [download 94% complete] -- [download 97% complete] -- [download 98% complete] -- [download 100% complete] -- Downloading... done -- extracting... src='/root/work/confluo/build/external/jemalloc/src/jemalloc-5.0.1.tar.bz2' dst='/root/work/confluo/build/external/jemalloc/src/jemalloc' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 15%] No patch step for 'jemalloc' [ 16%] No update step for 'jemalloc' [ 17%] Performing configure step for 'jemalloc' -- jemalloc configure command succeeded. See also /root/work/confluo/build/external/jemalloc/src/jemalloc-stamp/jemalloc-configure-.log [ 18%] Performing build step for 'jemalloc' -- jemalloc build command succeeded. See also /root/work/confluo/build/external/jemalloc/src/jemalloc-stamp/jemalloc-build-.log [ 19%] Performing install step for 'jemalloc' -- jemalloc install command succeeded. See also /root/work/confluo/build/external/jemalloc/src/jemalloc-stamp/jemalloc-install-*.log [ 20%] Completed 'jemalloc' [ 20%] Built target jemalloc Scanning dependencies of target confluoutils [ 20%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/assertions.cc.o [ 21%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/cmd_parse.cc.o [ 22%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/config_utils.cc.o [ 23%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/error_handling.cc.o [ 24%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/file_utils.cc.o [ 24%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/io_utils.cc.o [ 25%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/logger.cc.o [ 26%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/math_utils.cc.o [ 27%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/mmap_utils.cc.o [ 28%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/rand_utils.cc.o [ 28%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/string_utils.cc.o [ 29%] Building CXX object libutils/CMakeFiles/confluoutils.dir/src/utils/time_utils.cc.o [ 30%] Linking CXX static library libconfluoutils.a [ 30%] Built target confluoutils Scanning dependencies of target confluo [ 30%] Building CXX object libconfluo/CMakeFiles/confluo.dir/src/confluo_store.cc.o In file included from /root/work/confluo/libconfluo/../libutils/utils/atomic.h:7:0, from /root/work/confluo/libconfluo/confluo/archival/archival_utils.h:4, from /root/work/confluo/libconfluo/confluo/archival/load_utils.h:4, from /root/work/confluo/libconfluo/confluo/atomic_multilog.h:11, from /root/work/confluo/libconfluo/confluo/confluo_store.h:8, from /root/work/confluo/libconfluo/src/confluo_store.cc:1: /usr/include/c++/4.8.2/atomic: In instantiation of ‘struct std::atomic<confluo::storage::encoded_ptr >’: /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:367:32: required from ‘class confluo::storage::swappable_encoded_ptr’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear_bucket.h:292:22: required from ‘class confluo::monolog::monolog_linear_bucket<unsigned char, 1048576ul>’ /usr/include/c++/4.8.2/array:97:56: required from ‘struct std::array<confluo::monolog::monolog_linear_bucket<unsigned char, 1048576ul>, 65536ul>’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear.h:273:66: required from ‘class confluo::monolog::monolog_linear_base<unsigned char, 65536ul, 67108864ul, 1048576ul>’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_linear.h:282:7: required from ‘class confluo::monolog::monolog_linear<unsigned char, 65536ul, 67108864ul, 1048576ul>’ /root/work/confluo/libconfluo/confluo/atomic_multilog.h:539:17: required from here /usr/include/c++/4.8.2/atomic:167:7: error: function ‘std::atomic<_Tp>::atomic() [with _Tp = confluo::storage::encoded_ptr]’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration ‘std::atomic<confluo::storage::encoded_ptr >::atomic()’ atomic() noexcept = default; ^ /usr/include/c++/4.8.2/atomic: In instantiation of ‘struct std::atomic<confluo::storage::encoded_ptr >’: /root/work/confluo/libconfluo/confluo/storage/swappable_encoded_ptr.h:367:32: required from ‘class confluo::storage::swappable_encoded_ptr’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_exp2_linear.h:54:53: required from ‘confluo::monolog::monolog_exp2_linear_base<T, NCONTAINERS, BUCKET_SIZE>::~monolog_exp2_linear_base() [with T = long unsigned int; long unsigned int NCONTAINERS = 18ul; long unsigned int BUCKET_SIZE = 1024ul]’ /root/work/confluo/libconfluo/confluo/container/monolog/monolog_exp2_linear.h:406:7: required from ‘confluo::string_map::~string_map() [with V = long unsigned int]’ /root/work/confluo/libconfluo/src/confluo_store.cc:6:57: required from here /usr/include/c++/4.8.2/atomic:167:7: error: function ‘std::atomic<_Tp>::atomic() [with _Tp = confluo::storage::encoded_ptr]’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration ‘std::atomic<confluo::storage::encoded_ptr >::atomic()’ make[2]: [libconfluo/CMakeFiles/confluo.dir/src/confluo_store.cc.o] Error 1 make[1]: [libconfluo/CMakeFiles/confluo.dir/all] Error 2 make: *** [all] Error 2

anuragkh commented 5 years ago

The first two lines of your CMake configure output indicate that you are still using gcc/g++ 4.8.5:

-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5

You need to make sure you are using gcc/g++ 5.3. If you have multiple gcc/g++ versions installed, you can explicitly specify the path to the gcc/g++ version you want to use in cmake as follows:

cmake -DCMAKE_C_COMPILER=/path/to/gcc -DCMAKE_CXX_COMPILER=/path/to/g++ ../
futurekey commented 5 years ago

Sorry, I have 2 versions gcc/g++, default use the lower one, and i use specify version then build success.

So, once again, thank you for help.

anuragkh commented 5 years ago

No problem! I’m glad it worked out. Closing the issue..