Hi,

I'm on Fedora 28 with Python 3.6.7, and I'm building under a virtual
environment with pip.  I am building the tag apache-arrow-0.12.0,
and my steps are as follows.

$ cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug \
      -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
      -DCMAKE_INSTALL_LIBDIR=lib \
        -DARROW_PARQUET=ON \
        -DARROW_ORC=ON \
        -DARROW_PLASMA=ON \
        -DARROW_GANDIVA=ON \
        -DARROW_PYTHON=ON \
        -DPYTHON_EXECUTABLE=$VIRTUAL_ENV/bin/python3
        -DARROW_BUILD_TESTS=OFF ../
$ ninja -j4
$ ninja install 
$ cd ../../python/
$ python3 setup.py build_ext --cmake-generator Ninja \
      --with-parquet --with-orc --with-gandiva --with-plasma \
      --with-tensorflow -j 4 --inplace

The build succeeds, but the tests fail like this:

$ py.test-3 pyarrow
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/_pytest/config.py", line 329, in 
_getconftestmodules
    return self._path2confmods[path]
KeyError: local('/home/jallad/build/data-an/arrow/arrow/python/pyarrow/tests')

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/_pytest/config.py", line 360, in 
_importconftest
    return self._conftestpath2mod[conftestpath]
KeyError: 
local('/home/jallad/build/data-an/arrow/arrow/python/pyarrow/tests/conftest.py')

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/_pytest/config.py", line 366, in 
_importconftest
    mod = conftestpath.pyimport()
  File "/usr/lib/python3.6/site-packages/py/_path/local.py", line 668, in 
pyimport
    __import__(modname)
  File "/home/jallad/build/data-an/arrow/arrow/python/pyarrow/__init__.py", 
line 54, in <module>                                                            
                                  
    from pyarrow.lib import cpu_count, set_cpu_count
ImportError: 
/home/jallad/build/data-an/arrow/arrow/python/pyarrow/lib.cpython-36m-x86_64-linux-gnu.so:
 undefined symbol: _ZNK5arrow6Status8ToStringEv                                 
       
ERROR: could not load 
/home/jallad/build/data-an/arrow/arrow/python/pyarrow/tests/conftest.py

What am I missing?

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.

Reply via email to