apache / apache/arrow

[R] R bindings fail to build on WinARM

Open
#50,612 1 comment 0 reactions 0 assignees View on GitHub
Component: R Type: enhancement
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.

See https://github.com/r-universe/cran/actions/runs/29991693952/job/89157083157

The problem is that it is using static libs for win x64:
```
** using staged installation
*** pkg-config found.
trying URL 'https://github.com/apache/arrow/releases/download/apache-arrow-25.0.0/r-libarrow-windows-x86_64-25.0.0.zip'

```

Sadly `Sys.setenv("LIBARROW_BINARY" = FALSE)` does not seem to work on Windows either.

### Component(s)

R

Contributor guide

Open the contributing guide

Research direction

Start with the linked GitHub Actions job and inspect the R binding build configuration and the handling of LIBARROW_BINARY on Windows. Confirm why the WinARM build selects the win x64 static archive, then verify that the R bindings build successfully on WinARM without that incorrect artifact.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.