apache / apache/arrow

[R] Install from sources on Alpine Linux (error: 'int32_t' does not name a type)

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

Description

Hello, I am trying to install the "arrow" R package from sources on an Alpine Linux, but am getting the errors in the logfile attached.

Steps to reproduce:
* Create a container using the alpine:3.22 image.
* apk add --no-cache alpine-sdk bash cmake linux-headers R R-dev
* R
* Sys.setenv("ARROW_R_DEV" = TRUE)
* install.packages("arrow")

This gives me multiple errors (see attached log), e.g.
> /tmp/RtmpOpIGAD/file146f6b99f13d/re2_ep-prefix/src/re2_ep/util/pcre.h:503:11: error: 'int32_t' does not name a type

Is installation on Alpine not a supported case? Or what could be the problem?

[2025_06 Alpine R Arrow.txt](https://github.com/user-attachments/files/20668722/2025_06.Alpine.R.Arrow.txt)

### Component(s)

R

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.