apache / apache/arrow

Error compiling cython file when installing pyarrow

Open
#11,581 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

I am trying to install streamlit (which requires pyarrow as dependency) through Yocto and Bitbake.
For Pyarrow installation, I am getting cython compilation errors

PFA the Pyarrow bitbake recipe as well as the error logs (log.do_compile)
[error_logs.txt](https://github.com/apache/arrow/files/7452856/error_logs.txt)
[python3-pyarrow_5.0.0.txt](https://github.com/apache/arrow/files/7452872/python3-pyarrow_5.0.0.txt)

I am new to Cython as well as Yocto and don't understand the source of the errors. Would like some help with debugging the same. Any suggestions are welcome.

Thanks,
Aniket Limaye

Contributor guide

Open the contributing guide

Research direction

Start with the attached error_logs.txt and python3-pyarrow_5.0.0.txt files, then trace the pyarrow installation compile step in the supplied Yocto/Bitbake recipe. Reproduce the failure and identify the cause of the Cython compilation errors; done means the pyarrow recipe compiles successfully in that environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.