kou commented on pull request #11448:
URL: https://github.com/apache/arrow/pull/11448#issuecomment-946160688


   I don't know why centos-7-amd64 build is failed with this change...:
   
   
https://github.com/ursacomputing/crossbow/runs/3928114316?check_suite_focus=true#step:8:913
   
   ```text
   FAILED: src/arrow/python/CMakeFiles/arrow_python_objlib.dir/helpers.cc.o 
   /usr/lib64/ccache/c++  -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 
-DARROW_HDFS -DARROW_JEMALLOC -DARROW_JEMALLOC_INCLUDE_DIR="" 
-DARROW_PYTHON_EXPORTING -DARROW_WITH_BROTLI -DARROW_WITH_BZ2 -DARROW_WITH_LZ4 
-DARROW_WITH_RE2 -DARROW_WITH_SNAPPY -DARROW_WITH_TIMING_TESTS 
-DARROW_WITH_UTF8PROC -DARROW_WITH_ZLIB -DARROW_WITH_ZSTD -DURI_STATIC_BUILD 
-DUTF8PROC_STATIC -Isrc -I../src -I../src/generated -isystem 
../thirdparty/flatbuffers/include -isystem /usr/include/boost169 -isystem 
thrift_ep-install/include -isystem protobuf_ep-install/include -isystem 
jemalloc_ep-prefix/src -isystem xsimd_ep/src/xsimd_ep-install/include -isystem 
re2_ep-install/include -isystem utf8proc_ep-install/include -isystem 
../thirdparty/hadoop/include -isystem orc_ep-install/include -isystem 
/usr/lib64/python3.6/site-packages/numpy/core/include -isystem 
/usr/include/python3.6m -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   
 -m64 -mtune=generic -O3 -DNDEBUG  -Wall -Wno-attributes -msse4.2  -DNDEBUG 
-fPIC   -std=c++11 -MD -MT 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/helpers.cc.o -MF 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/helpers.cc.o.d -o 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/helpers.cc.o -c 
../src/arrow/python/helpers.cc
   ../src/arrow/python/helpers.cc: In function 
'arrow::Result<arrow::py::OwnedRef> 
arrow::py::internal::{anonymous}::PyObjectToPyInt(PyObject*)':
   ../src/arrow/python/helpers.cc:170:12: error: cannot bind 
'arrow::py::OwnedRef' lvalue to 'arrow::py::OwnedRef&&'
        return ref;
               ^
   In file included from ../src/arrow/type.h:30:0,
                    from ../src/arrow/python/helpers.h:32,
                    from ../src/arrow/python/helpers.cc:21:
   ../src/arrow/result.h:177:3: error:   initializing argument 1 of 
'arrow::Result<T>::Result(T&&) [with T = arrow::py::OwnedRef]'
      Result(T&& value) noexcept {  // NOLINT(runtime/explicit)
      ^
   ../src/arrow/python/helpers.cc:180:12: error: cannot bind 
'arrow::py::OwnedRef' lvalue to 'arrow::py::OwnedRef&&'
        return ref;
               ^
   In file included from ../src/arrow/type.h:30:0,
                    from ../src/arrow/python/helpers.h:32,
                    from ../src/arrow/python/helpers.cc:21:
   ../src/arrow/result.h:177:3: error:   initializing argument 1 of 
'arrow::Result<T>::Result(T&&) [with T = arrow::py::OwnedRef]'
      Result(T&& value) noexcept {  // NOLINT(runtime/explicit)
      ^
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to