Skip to content

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

Description

@m-martin

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

Component(s)

R

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions