arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Pivarski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARROW-230) Python: Do not name modules like native ones (i.e. rename pyarrow.io)
Date Wed, 19 Oct 2016 12:44:58 GMT

    [ https://issues.apache.org/jira/browse/ARROW-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588659#comment-15588659
] 

Jim Pivarski commented on ARROW-230:
------------------------------------

I made sure my PYTHONPATH and LD_LIBRARY_PATH were blank, installed a new directory, compiled
the C++ library from source, and then attempted to compile the Python library. I'm including
a log of that process below with some of the early steps truncated (...) and the Python compilation
completely untruncated. My prompt is a single percent (%).

{noformat}
% echo $PYTHONPATH  

% echo $LD_LIBRARY_PATH  

% export ARROW_HOME=/opt/apache-arrow-0.1.0/cpp/dist
% cd /opt

% tar -xzvf /tmp/downloads/apache-arrow-0.1.0.tar.gz
apache-arrow-0.1.0/
apache-arrow-0.1.0/.travis.yml
apache-arrow-0.1.0/LICENSE.txt
apache-arrow-0.1.0/NOTICE.txt
apache-arrow-0.1.0/README.md
...

% cd apache-arrow-0.1.0/cpp
% source setup_build_env.sh
+ set -e
+++ dirname ./thirdparty/download_thirdparty.sh
++ cd ./thirdparty
++ pwd
+ TP_DIR=/opt/apache-arrow-0.1.0/cpp/thirdparty
+ source /opt/apache-arrow-0.1.0/cpp/thirdparty/versions.sh
++ GTEST_VERSION=1.7.0
...

% mkdir release
% cd release
% cmake .. -DCMAKE_INSTALL_PREFIX:PATH=$ARROW_HOME
clang-tidy not found                                                                     
     
clang-format not found
Configured for DEBUG build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
-- Build Type: DEBUG
INFO Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
...
-- Flatbuffers static library: /opt/apache-arrow-0.1.0/cpp/thirdparty/installed/lib/libflatbuffers.a
-- Flatbuffers compiler: /opt/apache-arrow-0.1.0/cpp/thirdparty/installed/bin/flatc
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/apache-arrow-0.1.0/cpp/release

% make unittest
Scanning dependencies of target metadata_fbs
[  2%] Running flatc compiler on /opt/apache-arrow-0.1.0/format/Message.fbs;/opt/apache-arrow-0.1.0/format/File.fbs
[  2%] Built target metadata_fbs
Scanning dependencies of target arrow_objlib
[  4%] Building CXX object CMakeFiles/arrow_objlib.dir/src/arrow/array.cc.o
[  6%] Building CXX object CMakeFiles/arrow_objlib.dir/src/arrow/builder.cc.o
...
17/18 Test #17: ipc-file-test ....................   Passed    0.12 sec
      Start 18: ipc-metadata-test
18/18 Test #18: ipc-metadata-test ................   Passed    0.12 sec

100% tests passed, 0 tests failed out of 18

Label Time Summary:
unittest    =   2.29 sec

Total Test time (real) =   2.31 sec
[100%] Built target unittest

% make install
[  2%] Built target metadata_fbs
[ 42%] Built target arrow_objlib
[ 42%] Built target arrow_shared
[ 42%] Built target arrow_static
[ 44%] Built target arrow_test_main
[ 46%] Built target array-test
[ 48%] Built target column-test
...
-- Installing: /opt/apache-arrow-0.1.0/cpp/dist/include/arrow/types/union.h
-- Installing: /opt/apache-arrow-0.1.0/cpp/dist/include/arrow/ipc/adapter.h
-- Installing: /opt/apache-arrow-0.1.0/cpp/dist/include/arrow/ipc/file.h
-- Installing: /opt/apache-arrow-0.1.0/cpp/dist/include/arrow/ipc/metadata.h
-- Installing: /opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow_ipc.so
-- Removed runtime path from "/opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow_ipc.so"

% cd ../../python
% tree $ARROW_HOME
/opt/apache-arrow-0.1.0/cpp/dist
|-- include
|   `-- arrow
|       |-- api.h
|       |-- array.h
|       |-- builder.h
|       |-- column.h
|       |-- io
|       |   |-- file.h
|       |   |-- hdfs.h
|       |   |-- interfaces.h
|       |   `-- memory.h
|       |-- ipc
|       |   |-- adapter.h
|       |   |-- file.h
|       |   `-- metadata.h
|       |-- schema.h
|       |-- table.h
|       |-- test-util.h
|       |-- type.h
|       |-- types
|       |   |-- collection.h
|       |   |-- construct.h
|       |   |-- datetime.h
|       |   |-- decimal.h
|       |   |-- json.h
|       |   |-- list.h
|       |   |-- primitive.h
|       |   |-- string.h
|       |   |-- struct.h
|       |   `-- union.h
|       `-- util
|           |-- bit-util.h
|           |-- buffer.h
|           |-- logging.h
|           |-- macros.h
|           |-- memory-pool.h
|           |-- random.h
|           |-- status.h
|           `-- visibility.h
`-- lib
    |-- libarrow.a
    |-- libarrow.so
    |-- libarrow_io.so
    `-- libarrow_ipc.so

7 directories, 37 files

% python setup.py build_ext --inplace
/home/pivarski/.local/lib/python2.7/site-packages/setuptools/dist.py:331: UserWarning: Normalizing
'0.1.0dev' to '0.1.0.dev0'
  normalized_version,
running build_ext
creating build
creating build/temp.linux-x86_64-2.7
cmake  -DPYTHON_EXECUTABLE=/usr/bin/python   /opt/apache-arrow-0.1.0/python
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- 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
Configured for DEBUG build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
INFO Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.3' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8
--enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre
--enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc
--enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) 

Selected compiler gcc 4.8.4
Using dynamic linking for DEBUG builds
collect2 version 4.8.4
/usr/bin/ld --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed
-dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o
-L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib
-L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../..
--version -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o
Using ld linker
-- Found PythonInterp: /usr/bin/python (found version "2.7.6") 
-- Searching for Python libs in /usr/lib64;/usr/lib;/usr/lib/python2.7/config-x86_64-linux-gnu
-- Found Python lib /usr/lib/x86_64-linux-gnu/libpython2.7.so
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so
-- Found NumPy: version "1.8.2" /usr/lib/python2.7/dist-packages/numpy/core/include
-- Found Cython: /home/pivarski/.local/bin/cython  
-- Searching for Python libs in /usr/lib64;/usr/lib;/usr/lib/python2.7/config-x86_64-linux-gnu
-- Found Python lib /usr/lib/x86_64-linux-gnu/libpython2.7.so
-- Could not find the Parquet library. Looked in  system search paths.
-- Found the Arrow core library: /opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow.so
-- Found the Arrow IO library: /opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow_io.so
-- Added shared library dependency arrow: /opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow.so
-- Added shared library dependency arrow_io: /opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow_io.so
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
make VERBOSE=1
/usr/bin/cmake -H/opt/apache-arrow-0.1.0/python -B/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make -f CMakeFiles/array_pyx.dir/build.make CMakeFiles/array_pyx.dir/depend
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
cd /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/apache-arrow-0.1.0/python /opt/apache-arrow-0.1.0/python
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/array_pyx.dir/DependInfo.cmake
--color=
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/array_pyx.dir/DependInfo.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/array_pyx.dir/depend.internal".
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/array_pyx.dir/depend.internal".
Scanning dependencies of target array_pyx
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make -f CMakeFiles/array_pyx.dir/build.make CMakeFiles/array_pyx.dir/build
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
2
[  4%] Compiling Cython CXX source for array...
/home/pivarski/.local/bin/cython --cplus --output-file array.cxx /opt/apache-arrow-0.1.0/python/pyarrow/array.pyx
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
 2
[  4%] Built target array_pyx
make -f CMakeFiles/pyarrow.dir/build.make CMakeFiles/pyarrow.dir/depend
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
cd /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/apache-arrow-0.1.0/python /opt/apache-arrow-0.1.0/python
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/pyarrow.dir/DependInfo.cmake
--color=
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/pyarrow.dir/DependInfo.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/pyarrow.dir/depend.internal".
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/pyarrow.dir/depend.internal".
Scanning dependencies of target pyarrow
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make -f CMakeFiles/pyarrow.dir/build.make CMakeFiles/pyarrow.dir/build
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
9
[  9%] Building CXX object CMakeFiles/pyarrow.dir/src/pyarrow/common.cc.o
/usr/bin/c++   -Dpyarrow_EXPORTS -std=c++11 -Wall -ggdb -O0 -g -fPIC -isystem /usr/lib/python2.7/dist-packages/numpy/core/include
-isystem /usr/include/python2.7 -isystem /opt/apache-arrow-0.1.0/python/src -isystem /opt/apache-arrow-0.1.0/cpp/dist/include
   -fPIC -o CMakeFiles/pyarrow.dir/src/pyarrow/common.cc.o -c /opt/apache-arrow-0.1.0/python/src/pyarrow/common.cc
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
10
[ 14%] Building CXX object CMakeFiles/pyarrow.dir/src/pyarrow/config.cc.o
/usr/bin/c++   -Dpyarrow_EXPORTS -std=c++11 -Wall -ggdb -O0 -g -fPIC -isystem /usr/lib/python2.7/dist-packages/numpy/core/include
-isystem /usr/include/python2.7 -isystem /opt/apache-arrow-0.1.0/python/src -isystem /opt/apache-arrow-0.1.0/cpp/dist/include
   -fPIC -o CMakeFiles/pyarrow.dir/src/pyarrow/config.cc.o -c /opt/apache-arrow-0.1.0/python/src/pyarrow/config.cc
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
11
[ 19%] Building CXX object CMakeFiles/pyarrow.dir/src/pyarrow/helpers.cc.o
/usr/bin/c++   -Dpyarrow_EXPORTS -std=c++11 -Wall -ggdb -O0 -g -fPIC -isystem /usr/lib/python2.7/dist-packages/numpy/core/include
-isystem /usr/include/python2.7 -isystem /opt/apache-arrow-0.1.0/python/src -isystem /opt/apache-arrow-0.1.0/cpp/dist/include
   -fPIC -o CMakeFiles/pyarrow.dir/src/pyarrow/helpers.cc.o -c /opt/apache-arrow-0.1.0/python/src/pyarrow/helpers.cc
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
12
[ 23%] Building CXX object CMakeFiles/pyarrow.dir/src/pyarrow/io.cc.o
/usr/bin/c++   -Dpyarrow_EXPORTS -std=c++11 -Wall -ggdb -O0 -g -fPIC -isystem /usr/lib/python2.7/dist-packages/numpy/core/include
-isystem /usr/include/python2.7 -isystem /opt/apache-arrow-0.1.0/python/src -isystem /opt/apache-arrow-0.1.0/cpp/dist/include
   -fPIC -o CMakeFiles/pyarrow.dir/src/pyarrow/io.cc.o -c /opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc: In member function 'arrow::Status pyarrow::PythonFile::Close()':
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc:61:62: warning: deprecated conversion from
string constant to 'char*' [-Wwrite-strings]
   PyObject* result = PyObject_CallMethod(file_, "close", "()");
                                                              ^
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc:61:62: warning: deprecated conversion from
string constant to 'char*' [-Wwrite-strings]
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc: In member function 'arrow::Status pyarrow::PythonFile::Seek(int64_t,
int)':
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc:69:81: warning: deprecated conversion from
string constant to 'char*' [-Wwrite-strings]
   PyObject* result = PyObject_CallMethod(file_, "seek", "(ii)", position, whence);
                                                                                 ^
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc:69:81: warning: deprecated conversion from
string constant to 'char*' [-Wwrite-strings]
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc: In member function 'arrow::Status pyarrow::PythonFile::Read(int64_t,
PyObject**)':
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc:76:70: warning: deprecated conversion from
string constant to 'char*' [-Wwrite-strings]
   PyObject* result = PyObject_CallMethod(file_, "read", "(i)", nbytes);
                                                                      ^
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc:76:70: warning: deprecated conversion from
string constant to 'char*' [-Wwrite-strings]
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc: In member function 'arrow::Status pyarrow::PythonFile::Write(const
uint8_t*, int64_t)':
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc:87:72: warning: deprecated conversion from
string constant to 'char*' [-Wwrite-strings]
   PyObject* result = PyObject_CallMethod(file_, "write", "(O)", py_data);
                                                                        ^
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc:87:72: warning: deprecated conversion from
string constant to 'char*' [-Wwrite-strings]
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc: In member function 'arrow::Status pyarrow::PythonFile::Tell(int64_t*)':
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc:95:61: warning: deprecated conversion from
string constant to 'char*' [-Wwrite-strings]
   PyObject* result = PyObject_CallMethod(file_, "tell", "()");
                                                             ^
/opt/apache-arrow-0.1.0/python/src/pyarrow/io.cc:95:61: warning: deprecated conversion from
string constant to 'char*' [-Wwrite-strings]
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
13
[ 28%] Building CXX object CMakeFiles/pyarrow.dir/src/pyarrow/status.cc.o
/usr/bin/c++   -Dpyarrow_EXPORTS -std=c++11 -Wall -ggdb -O0 -g -fPIC -isystem /usr/lib/python2.7/dist-packages/numpy/core/include
-isystem /usr/include/python2.7 -isystem /opt/apache-arrow-0.1.0/python/src -isystem /opt/apache-arrow-0.1.0/cpp/dist/include
   -fPIC -o CMakeFiles/pyarrow.dir/src/pyarrow/status.cc.o -c /opt/apache-arrow-0.1.0/python/src/pyarrow/status.cc
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
14
[ 33%] Building CXX object CMakeFiles/pyarrow.dir/src/pyarrow/adapters/builtin.cc.o
/usr/bin/c++   -Dpyarrow_EXPORTS -std=c++11 -Wall -ggdb -O0 -g -fPIC -isystem /usr/lib/python2.7/dist-packages/numpy/core/include
-isystem /usr/include/python2.7 -isystem /opt/apache-arrow-0.1.0/python/src -isystem /opt/apache-arrow-0.1.0/cpp/dist/include
   -fPIC -o CMakeFiles/pyarrow.dir/src/pyarrow/adapters/builtin.cc.o -c /opt/apache-arrow-0.1.0/python/src/pyarrow/adapters/builtin.cc
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
15
[ 38%] Building CXX object CMakeFiles/pyarrow.dir/src/pyarrow/adapters/pandas.cc.o
/usr/bin/c++   -Dpyarrow_EXPORTS -std=c++11 -Wall -ggdb -O0 -g -fPIC -isystem /usr/lib/python2.7/dist-packages/numpy/core/include
-isystem /usr/include/python2.7 -isystem /opt/apache-arrow-0.1.0/python/src -isystem /opt/apache-arrow-0.1.0/cpp/dist/include
   -fPIC -o CMakeFiles/pyarrow.dir/src/pyarrow/adapters/pandas.cc.o -c /opt/apache-arrow-0.1.0/python/src/pyarrow/adapters/pandas.cc
Linking CXX shared library libpyarrow.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/pyarrow.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -std=c++11 -Wall -ggdb -O0 -g   -shared -Wl,-soname,libpyarrow.so -o
libpyarrow.so CMakeFiles/pyarrow.dir/src/pyarrow/common.cc.o CMakeFiles/pyarrow.dir/src/pyarrow/config.cc.o
CMakeFiles/pyarrow.dir/src/pyarrow/helpers.cc.o CMakeFiles/pyarrow.dir/src/pyarrow/io.cc.o
CMakeFiles/pyarrow.dir/src/pyarrow/status.cc.o CMakeFiles/pyarrow.dir/src/pyarrow/adapters/builtin.cc.o
CMakeFiles/pyarrow.dir/src/pyarrow/adapters/pandas.cc.o /opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow.so
/opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow_io.so -Wl,-rpath,/opt/apache-arrow-0.1.0/cpp/dist/lib

make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
 9 10 11 12 13 14 15
[ 38%] Built target pyarrow
make -f CMakeFiles/array.dir/build.make CMakeFiles/array.dir/depend
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
cd /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/apache-arrow-0.1.0/python /opt/apache-arrow-0.1.0/python
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/array.dir/DependInfo.cmake
--color=
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/array.dir/DependInfo.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/array.dir/depend.internal".
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/array.dir/depend.internal".
Scanning dependencies of target array
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make -f CMakeFiles/array.dir/build.make CMakeFiles/array.dir/build
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
1
[ 42%] Building CXX object CMakeFiles/array.dir/array.cxx.o
/usr/bin/c++   -Darray_EXPORTS -std=c++11 -Wall -ggdb -O0 -g -fPIC -isystem /usr/lib/python2.7/dist-packages/numpy/core/include
-isystem /usr/include/python2.7 -isystem /opt/apache-arrow-0.1.0/python/src -isystem /opt/apache-arrow-0.1.0/cpp/dist/include
   -fPIC -Wno-unused-function -o CMakeFiles/array.dir/array.cxx.o -c /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/array.cxx
Linking CXX shared module array.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/array.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -std=c++11 -Wall -ggdb -O0 -g -Wl,-undefined,dynamic_lookup   -shared
-Wl,-soname,array.so -o array.so CMakeFiles/array.dir/array.cxx.o libpyarrow.so /opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow.so
/opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow_io.so -Wl,-rpath,"\$ORIGIN:/opt/apache-arrow-0.1.0/cpp/dist/lib"

make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
 1
[ 42%] Built target array
make -f CMakeFiles/config_pyx.dir/build.make CMakeFiles/config_pyx.dir/depend
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
cd /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/apache-arrow-0.1.0/python /opt/apache-arrow-0.1.0/python
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/config_pyx.dir/DependInfo.cmake
--color=
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/config_pyx.dir/DependInfo.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/config_pyx.dir/depend.internal".
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/config_pyx.dir/depend.internal".
Scanning dependencies of target config_pyx
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make -f CMakeFiles/config_pyx.dir/build.make CMakeFiles/config_pyx.dir/build
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
4
[ 47%] Compiling Cython CXX source for config...
/home/pivarski/.local/bin/cython --cplus --output-file config.cxx /opt/apache-arrow-0.1.0/python/pyarrow/config.pyx
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
 4
[ 47%] Built target config_pyx
make -f CMakeFiles/config.dir/build.make CMakeFiles/config.dir/depend
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
cd /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/apache-arrow-0.1.0/python /opt/apache-arrow-0.1.0/python
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/config.dir/DependInfo.cmake
--color=
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/config.dir/DependInfo.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/config.dir/depend.internal".
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/config.dir/depend.internal".
Scanning dependencies of target config
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make -f CMakeFiles/config.dir/build.make CMakeFiles/config.dir/build
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
3
[ 52%] Building CXX object CMakeFiles/config.dir/config.cxx.o
/usr/bin/c++   -Dconfig_EXPORTS -std=c++11 -Wall -ggdb -O0 -g -fPIC -isystem /usr/lib/python2.7/dist-packages/numpy/core/include
-isystem /usr/include/python2.7 -isystem /opt/apache-arrow-0.1.0/python/src -isystem /opt/apache-arrow-0.1.0/cpp/dist/include
   -fPIC -Wno-unused-function -o CMakeFiles/config.dir/config.cxx.o -c /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/config.cxx
Linking CXX shared module config.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/config.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -std=c++11 -Wall -ggdb -O0 -g -Wl,-undefined,dynamic_lookup   -shared
-Wl,-soname,config.so -o config.so CMakeFiles/config.dir/config.cxx.o libpyarrow.so /opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow.so
/opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow_io.so -Wl,-rpath,"\$ORIGIN:/opt/apache-arrow-0.1.0/cpp/dist/lib"

make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
 3
[ 52%] Built target config
make -f CMakeFiles/error_pyx.dir/build.make CMakeFiles/error_pyx.dir/depend
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
cd /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/apache-arrow-0.1.0/python /opt/apache-arrow-0.1.0/python
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/error_pyx.dir/DependInfo.cmake
--color=
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/error_pyx.dir/DependInfo.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/error_pyx.dir/depend.internal".
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/error_pyx.dir/depend.internal".
Scanning dependencies of target error_pyx
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make -f CMakeFiles/error_pyx.dir/build.make CMakeFiles/error_pyx.dir/build
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
6
[ 57%] Compiling Cython CXX source for error...
/home/pivarski/.local/bin/cython --cplus --output-file error.cxx /opt/apache-arrow-0.1.0/python/pyarrow/error.pyx
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
 6
[ 57%] Built target error_pyx
make -f CMakeFiles/error.dir/build.make CMakeFiles/error.dir/depend
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
cd /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/apache-arrow-0.1.0/python /opt/apache-arrow-0.1.0/python
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/error.dir/DependInfo.cmake
--color=
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/error.dir/DependInfo.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/error.dir/depend.internal".
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/error.dir/depend.internal".
Scanning dependencies of target error
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make -f CMakeFiles/error.dir/build.make CMakeFiles/error.dir/build
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
5
[ 61%] Building CXX object CMakeFiles/error.dir/error.cxx.o
/usr/bin/c++   -Derror_EXPORTS -std=c++11 -Wall -ggdb -O0 -g -fPIC -isystem /usr/lib/python2.7/dist-packages/numpy/core/include
-isystem /usr/include/python2.7 -isystem /opt/apache-arrow-0.1.0/python/src -isystem /opt/apache-arrow-0.1.0/cpp/dist/include
   -fPIC -Wno-unused-function -o CMakeFiles/error.dir/error.cxx.o -c /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/error.cxx
Linking CXX shared module error.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/error.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -std=c++11 -Wall -ggdb -O0 -g -Wl,-undefined,dynamic_lookup   -shared
-Wl,-soname,error.so -o error.so CMakeFiles/error.dir/error.cxx.o libpyarrow.so /opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow.so
/opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow_io.so -Wl,-rpath,"\$ORIGIN:/opt/apache-arrow-0.1.0/cpp/dist/lib"

make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
 5
[ 61%] Built target error
make -f CMakeFiles/io_pyx.dir/build.make CMakeFiles/io_pyx.dir/depend
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
cd /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/apache-arrow-0.1.0/python /opt/apache-arrow-0.1.0/python
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/io_pyx.dir/DependInfo.cmake
--color=
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/io_pyx.dir/DependInfo.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/io_pyx.dir/depend.internal".
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/io_pyx.dir/depend.internal".
Scanning dependencies of target io_pyx
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make -f CMakeFiles/io_pyx.dir/build.make CMakeFiles/io_pyx.dir/build
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
8
[ 66%] Compiling Cython CXX source for io...
/home/pivarski/.local/bin/cython --cplus --output-file io.cxx /opt/apache-arrow-0.1.0/python/pyarrow/io.pyx
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
 8
[ 66%] Built target io_pyx
make -f CMakeFiles/io.dir/build.make CMakeFiles/io.dir/depend
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
cd /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/apache-arrow-0.1.0/python /opt/apache-arrow-0.1.0/python
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/io.dir/DependInfo.cmake
--color=
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/io.dir/DependInfo.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/io.dir/depend.internal".
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/io.dir/depend.internal".
Scanning dependencies of target io
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make -f CMakeFiles/io.dir/build.make CMakeFiles/io.dir/build
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
7
[ 71%] Building CXX object CMakeFiles/io.dir/io.cxx.o
/usr/bin/c++   -Dio_EXPORTS -std=c++11 -Wall -ggdb -O0 -g -fPIC -isystem /usr/lib/python2.7/dist-packages/numpy/core/include
-isystem /usr/include/python2.7 -isystem /opt/apache-arrow-0.1.0/python/src -isystem /opt/apache-arrow-0.1.0/cpp/dist/include
   -fPIC -Wno-unused-function -o CMakeFiles/io.dir/io.cxx.o -c /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/io.cxx
Linking CXX shared module io.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/io.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -std=c++11 -Wall -ggdb -O0 -g -Wl,-undefined,dynamic_lookup   -shared
-Wl,-soname,io.so -o io.so CMakeFiles/io.dir/io.cxx.o libpyarrow.so /opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow.so
/opt/apache-arrow-0.1.0/cpp/dist/lib/libarrow_io.so -Wl,-rpath,"\$ORIGIN:/opt/apache-arrow-0.1.0/cpp/dist/lib"

make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
 7
[ 71%] Built target io
make -f CMakeFiles/scalar_pyx.dir/build.make CMakeFiles/scalar_pyx.dir/depend
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
cd /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/apache-arrow-0.1.0/python /opt/apache-arrow-0.1.0/python
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7 /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7
/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/scalar_pyx.dir/DependInfo.cmake
--color=
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/scalar_pyx.dir/DependInfo.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/scalar_pyx.dir/depend.internal".
Dependee "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender "/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles/scalar_pyx.dir/depend.internal".
Scanning dependencies of target scalar_pyx
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make -f CMakeFiles/scalar_pyx.dir/build.make CMakeFiles/scalar_pyx.dir/build
make[2]: Entering directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
/usr/bin/cmake -E cmake_progress_report /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/CMakeFiles
17
[ 76%] Compiling Cython CXX source for scalar...
/home/pivarski/.local/bin/cython --cplus --output-file scalar.cxx /opt/apache-arrow-0.1.0/python/pyarrow/scalar.pyx
Traceback (most recent call last):
  File "/home/pivarski/.local/bin/cython", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/home/pivarski/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
21, in <module>
    import io
ImportError: /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/libpyarrow.so: undefined
symbol: pyarrow_ARRAY_API
make[2]: *** [CMakeFiles/scalar_pyx] Error 1
make[2]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make[1]: *** [CMakeFiles/scalar_pyx.dir/all] Error 2
make[1]: Leaving directory `/opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7'
make: *** [all] Error 2
error: command 'make' failed with exit status 2
{noformat}

And just to show that the error message isn't literally true:

{noformat}
% nm /opt/apache-arrow-0.1.0/python/build/temp.linux-x86_64-2.7/libpyarrow.so | fgrep pyarrow_ARRAY_API
                 U pyarrow_ARRAY_API
{noformat}




> Python: Do not name modules like native ones (i.e. rename pyarrow.io)
> ---------------------------------------------------------------------
>
>                 Key: ARROW-230
>                 URL: https://issues.apache.org/jira/browse/ARROW-230
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Uwe L. Korn
>
> Although you can rename it in imports, still weird stuff can happen.
> E.g. if you re-run make in the build directory (only happens probably if you change pyarrow's
CMakeLists.txt and do not call it via setup.py) you will get the following error:
> {noformat}
>     -- Found Python lib /usr/lib/x86_64-linux-gnu/libpython2.7.so
>     CMake Error at cmake_modules/FindNumPy.cmake:62 (message):
>       NumPy import failure:
>       Traceback (most recent call last):
>         File "<string>", line 1, in <module>
>         File "/home/uwe/.virtualenvs/pyarrow/local/lib/python2.7/site-packages/numpy/__init__.py",
line 180, in <module>
>           from . import add_newdocs
>         File "/home/uwe/.virtualenvs/pyarrow/local/lib/python2.7/site-packages/numpy/add_newdocs.py",
line 13, in <module>
>           from numpy.lib import add_newdoc
>         File "/home/uwe/.virtualenvs/pyarrow/local/lib/python2.7/site-packages/numpy/lib/__init__.py",
line 8, in <module>
>           from .type_check import *
>         File "/home/uwe/.virtualenvs/pyarrow/local/lib/python2.7/site-packages/numpy/lib/type_check.py",
line 11, in <module>
>           import numpy.core.numeric as _nx
>         File "/home/uwe/.virtualenvs/pyarrow/local/lib/python2.7/site-packages/numpy/core/__init__.py",
line 58, in <module>
>           from numpy.testing import Tester
>         File "/home/uwe/.virtualenvs/pyarrow/local/lib/python2.7/site-packages/numpy/testing/__init__.py",
line 14, in <module>
>           from .utils import *
>         File "/home/uwe/.virtualenvs/pyarrow/local/lib/python2.7/site-packages/numpy/testing/utils.py",
line 15, in <module>
>           from tempfile import mkdtemp
>         File "/usr/lib/python2.7/tempfile.py", line 32, in <module>
>           import io as _io
>       ImportError:
>       /home/uwe/Development/arrow/python/build/temp.linux-x86_64-2.7/./libpyarrow.so:
>       undefined symbol: pyarrow_ARRAY_API
>     Call Stack (most recent call first):
>       CMakeLists.txt:223 (find_package)
> {noformat}
> The actual error message here is confusing but the basic problem is that here the wrong
io module is imported. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message