[R] Install from sources on Alpine Linux (error: 'int32_t' does not name a type)
- 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
Assessment
This issue has not been assessed yet.