You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Micah Kornfield (JIRA)" <ji...@apache.org> on 2019/02/04 05:11:00 UTC

[jira] [Created] (ARROW-4469) [Python][C++] CI Failing for Python 2.7 and 3.6 with valgrind

Micah Kornfield created ARROW-4469:
--------------------------------------

             Summary: [Python][C++] CI Failing for Python 2.7 and 3.6 with valgrind
                 Key: ARROW-4469
                 URL: https://issues.apache.org/jira/browse/ARROW-4469
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++, Continuous Integration, Python
            Reporter: Micah Kornfield


https://travis-ci.org/apache/arrow/jobs/488317992  

The error appears to be some sort of linker or warning as error issue?:

{{cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /home/travis/build/apache/arrow/python/pyarrow/include/arrow/python/platform.h:26:0,
                 from pyarrow_cython_example.cpp:653:
/home/travis/build/apache/arrow/pyarrow-test-2.7/include/python2.7/datetime.h:188:25: warning: ‘PyDateTimeAPI’ defined but not used [-Wunused-variable]
 static PyDateTime_CAPI *PyDateTimeAPI = NULL;
                         ^
pyarrow_cython_example.cpp:2828:20: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_wrap_array’ defined but not used [-Wunused-variable]
 static PyObject *(*__pyx_f_7pyarrow_3lib_pyarrow_wrap_array)(std::shared_ptr< arrow::Array>  const &); /*proto*/
                    ^
pyarrow_cython_example.cpp:2829:20: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_wrap_chunked_array’ defined but not used [-Wunused-variable]
 static PyObject *(*__pyx_f_7pyarrow_3lib_pyarrow_wrap_chunked_array)(std::shared_ptr< arrow::ChunkedArray>  const &); /*proto*/
                    ^
pyarrow_cython_example.cpp:2830:20: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_wrap_batch’ defined but not used [-Wunused-variable]
 static PyObject *(*__pyx_f_7pyarrow_3lib_pyarrow_wrap_batch)(std::shared_ptr< arrow::RecordBatch>  const &); /*proto*/
                    ^
pyarrow_cython_example.cpp:2831:20: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_wrap_buffer’ defined but not used [-Wunused-variable]
 static PyObject *(*__pyx_f_7pyarrow_3lib_pyarrow_wrap_buffer)(std::shared_ptr< arrow::Buffer>  const &); /*proto*/
                    ^
pyarrow_cython_example.cpp:2832:20: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_wrap_column’ defined but not used [-Wunused-variable]
 static PyObject *(*__pyx_f_7pyarrow_3lib_pyarrow_wrap_column)(std::shared_ptr< arrow::Column>  const &); /*proto*/
                    ^
pyarrow_cython_example.cpp:2833:20: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_wrap_data_type’ defined but not used [-Wunused-variable]
 static PyObject *(*__pyx_f_7pyarrow_3lib_pyarrow_wrap_data_type)(std::shared_ptr< arrow::DataType>  const &); /*proto*/
                    ^
pyarrow_cython_example.cpp:2834:20: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_wrap_field’ defined but not used [-Wunused-variable]
 static PyObject *(*__pyx_f_7pyarrow_3lib_pyarrow_wrap_field)(std::shared_ptr< arrow::Field>  const &); /*proto*/
                    ^
pyarrow_cython_example.cpp:2835:20: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_wrap_resizable_buffer’ defined but not used [-Wunused-variable]
 static PyObject *(*__pyx_f_7pyarrow_3lib_pyarrow_wrap_resizable_buffer)(std::shared_ptr< arrow::ResizableBuffer>  const &); /*proto*/
                    ^
pyarrow_cython_example.cpp:2836:20: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_wrap_schema’ defined but not used [-Wunused-variable]
 static PyObject *(*__pyx_f_7pyarrow_3lib_pyarrow_wrap_schema)(std::shared_ptr< arrow::Schema>  const &); /*proto*/
                    ^
pyarrow_cython_example.cpp:2837:20: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_wrap_table’ defined but not used [-Wunused-variable]
 static PyObject *(*__pyx_f_7pyarrow_3lib_pyarrow_wrap_table)(std::shared_ptr< arrow::Table>  const &); /*proto*/
                    ^
pyarrow_cython_example.cpp:2838:20: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_wrap_tensor’ defined but not used [-Wunused-variable]
 static PyObject *(*__pyx_f_7pyarrow_3lib_pyarrow_wrap_tensor)(std::shared_ptr< arrow::Tensor>  const &); /*proto*/
                    ^
pyarrow_cython_example.cpp:2840:47: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_unwrap_batch’ defined but not used [-Wunused-variable]
 static std::shared_ptr< arrow::RecordBatch>  (*__pyx_f_7pyarrow_3lib_pyarrow_unwrap_batch)(PyObject *); /*proto*/
                                               ^
pyarrow_cython_example.cpp:2841:42: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_unwrap_buffer’ defined but not used [-Wunused-variable]
 static std::shared_ptr< arrow::Buffer>  (*__pyx_f_7pyarrow_3lib_pyarrow_unwrap_buffer)(PyObject *); /*proto*/
                                          ^
pyarrow_cython_example.cpp:2842:42: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_unwrap_column’ defined but not used [-Wunused-variable]
 static std::shared_ptr< arrow::Column>  (*__pyx_f_7pyarrow_3lib_pyarrow_unwrap_column)(PyObject *); /*proto*/
                                          ^
pyarrow_cython_example.cpp:2843:44: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_unwrap_data_type’ defined but not used [-Wunused-variable]
 static std::shared_ptr< arrow::DataType>  (*__pyx_f_7pyarrow_3lib_pyarrow_unwrap_data_type)(PyObject *); /*proto*/
                                            ^
pyarrow_cython_example.cpp:2844:41: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_unwrap_field’ defined but not used [-Wunused-variable]
 static std::shared_ptr< arrow::Field>  (*__pyx_f_7pyarrow_3lib_pyarrow_unwrap_field)(PyObject *); /*proto*/
                                         ^
pyarrow_cython_example.cpp:2845:42: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_unwrap_schema’ defined but not used [-Wunused-variable]
 static std::shared_ptr< arrow::Schema>  (*__pyx_f_7pyarrow_3lib_pyarrow_unwrap_schema)(PyObject *); /*proto*/
                                          ^
pyarrow_cython_example.cpp:2846:41: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_unwrap_table’ defined but not used [-Wunused-variable]
 static std::shared_ptr< arrow::Table>  (*__pyx_f_7pyarrow_3lib_pyarrow_unwrap_table)(PyObject *); /*proto*/
                                         ^
pyarrow_cython_example.cpp:2847:42: warning: ‘__pyx_f_7pyarrow_3lib_pyarrow_unwrap_tensor’ defined but not used [-Wunused-variable]
 static std::shared_ptr< arrow::Tensor>  (*__pyx_f_7pyarrow_3lib_pyarrow_unwrap_tensor)(PyObject *); /*proto*/
                                          ^
/home/travis/build/apache/arrow/pyarrow-test-2.7/compiler_compat/ld: build/temp.linux-x86_64-2.7/pyarrow_cython_example.o: unable to initialize decompress status for section .debug_info
/home/travis/build/apache/arrow/pyarrow-test-2.7/compiler_compat/ld: build/temp.linux-x86_64-2.7/pyarrow_cython_example.o: unable to initialize decompress status for section .debug_info
/home/travis/build/apache/arrow/pyarrow-test-2.7/compiler_compat/ld: build/temp.linux-x86_64-2.7/pyarrow_cython_example.o: unable to initialize decompress status for section .debug_info
/home/travis/build/apache/arrow/pyarrow-test-2.7/compiler_compat/ld: build/temp.linux-x86_64-2.7/pyarrow_cython_example.o: unable to initialize decompress status for section .debug_info
build/temp.linux-x86_64-2.7/pyarrow_cython_example.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1

}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)