apache / apache/arrow

[R] The R development documentation nightly fails to load Arrow

Open
#33,898 5 comments 0 reactions 0 assignees View on GitHub
Component: R Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

We've got a DLL loading error when loading the arrow package on Ubuntu in the development documentation nightly: https://github.com/ursacomputing/crossbow/actions/runs/4020387995/jobs/6908263935#step:10:39

```
> Sys.getenv("LD_LIBRARY_PATH")
[1] "/opt/R/4.1.3/lib/R/lib:/usr/local/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/temurin-11-jdk-amd64/lib/server:/home/runner/work/crossbow/crossbow/dist/lib:/home/runner/work/crossbow/crossbow/dist/lib:"
> library(arrow)
Error: Error: package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/runner/work/_temp/Library/arrow/libs/arrow.so':
/home/runner/work/crossbow/crossbow/dist/lib/libparquet.so.1100: undefined symbol: _ZN5arrow6Status14AddContextLineEPKciS2_
Execution halted
Error: Process completed with exit code 1.
```

### Component(s)

R

Contributor guide

Open the contributing guide

Research direction

Start with the linked crossbow GitHub Actions job at step 10:39 and inspect the Ubuntu R development documentation nightly environment, including LD_LIBRARY_PATH. Reproduce the arrow package load failure and trace the conflicting libparquet.so and arrow symbols; done means the nightly can load arrow without the undefined-symbol error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, r
Domain
ci-cd, documentation
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.