kou edited a comment on pull request #9310:
URL: https://github.com/apache/arrow/pull/9310#issuecomment-770458676


   It seems that `tdigest_test.cc` can't be built with g++ 4.8.2. 
gandiva-jar-ubuntu nightly build is failing:
   
   https://github.com/ursacomputing/crossbow/runs/1800166679#step:3:948
   
   ```text
   FAILED: src/arrow/util/CMakeFiles/arrow-utility-test.dir/tdigest_test.cc.o 
   /usr/bin/ccache /opt/rh/devtoolset-2/root/usr/bin/c++ 
-DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_JEMALLOC 
-DARROW_JEMALLOC_INCLUDE_DIR="" -DARROW_WITH_RE2 -DARROW_WITH_TIMING_TESTS 
-DURI_STATIC_BUILD -Isrc -I/arrow/cpp/src -I/arrow/cpp/src/generated -isystem 
/arrow/cpp/thirdparty/flatbuffers/include -isystem /arrow_boost_dist/include 
-isystem gflags_ep-prefix/src/gflags_ep/include -isystem jemalloc_ep-prefix/src 
-isystem rapidjson_ep/src/rapidjson_ep-install/include -isystem 
re2_ep-install/include -isystem /arrow/cpp/thirdparty/hadoop/include -O3 
-DNDEBUG  -Wall -Wno-attributes -msse4.2  -O3 -DNDEBUG -fPIE -pthread 
-std=c++11 -MD -MT 
src/arrow/util/CMakeFiles/arrow-utility-test.dir/tdigest_test.cc.o -MF 
src/arrow/util/CMakeFiles/arrow-utility-test.dir/tdigest_test.cc.o.d -o 
src/arrow/util/CMakeFiles/arrow-utility-test.dir/tdigest_test.cc.o -c 
/arrow/cpp/src/arrow/util/tdigest_test.cc
   /arrow/cpp/src/arrow/util/tdigest_test.cc: In member function ‘virtual void 
arrow::internal::TDigestTest_MergeNonUniform_Test::TestBody()’:
   /arrow/cpp/src/arrow/util/tdigest_test.cc:217:3: error: converting to 
‘std::tuple<long unsigned int, double, double>’ from initializer list would use 
explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> 
>::tuple(_UElements&& ...) [with _UElements = {int, double, double}; 
<template-parameter-2-2> = void; _Elements = {long unsigned int, double, 
double}]’
      };
      ^
   /arrow/cpp/src/arrow/util/tdigest_test.cc:217:3: error: converting to 
‘std::tuple<long unsigned int, double, double>’ from initializer list would use 
explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> 
>::tuple(_UElements&& ...) [with _UElements = {int, int, int}; 
<template-parameter-2-2> = void; _Elements = {long unsigned int, double, 
double}]’
   /arrow/cpp/src/arrow/util/tdigest_test.cc:217:3: error: converting to 
‘std::tuple<long unsigned int, double, double>’ from initializer list would use 
explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> 
>::tuple(_UElements&& ...) [with _UElements = {int, int, int}; 
<template-parameter-2-2> = void; _Elements = {long unsigned int, double, 
double}]’
   /arrow/cpp/src/arrow/util/tdigest_test.cc:217:3: error: converting to 
‘std::tuple<long unsigned int, double, double>’ from initializer list would use 
explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> 
>::tuple(_UElements&& ...) [with _UElements = {int, double, double}; 
<template-parameter-2-2> = void; _Elements = {long unsigned int, double, 
double}]’
   /arrow/cpp/src/arrow/util/tdigest_test.cc:217:3: error: converting to 
‘std::tuple<long unsigned int, double, double>’ from initializer list would use 
explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> 
>::tuple(_UElements&& ...) [with _UElements = {int, int, int}; 
<template-parameter-2-2> = void; _Elements = {long unsigned int, double, 
double}]’
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to