Hi,

I hacked together a Dockerfile that reproduced what I had tried previously on 
CentOS/Fedora since someone else ran into this issue. This does not follow the 
development guide nor the recommendation from Uwe.

https://github.com/ryanmackenziewhite/dockers/blob/master/centos7-py36-arrowbuild/Dockerfile

Ryan

-----Original Message-----
From: Wes McKinney [mailto:[email protected]] 
Sent: Sunday, January 13, 2019 5:36 PM
To: [email protected]
Subject: Re: Tests fail with PyArrow

hi Suvayu,

0.12 has not been released yet -- we are voting on it now.

I haven't seen the error you listed but it appears to be an ABI
conflict to me. We would need more information about your environment
to help you. Please open a JIRA if you can provide a reproducible way
to make the issue (e.g. a Dockerfile) happen.

Thanks

On Sun, Jan 13, 2019 at 2:45 PM Suvayu Ali <[email protected]> wrote:
>
> 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