You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[R] Improve package installation (on Fedora 36) with arrow system packages #31989
Fedora 36 includes both a 'libarrow' and a 'libarrow-dataset' package under pkg-config names 'arrow' and 'arrow-dataset', respectively. When we do install.packages("arrow") on Fedora 36, the pkg-config for 'arrow' gets picked up first, and we get a minimal arrow install. Installing with NOT_CRAN=true ARROW_USE_PKG_CONFIG=false results in a full compiled installation because binaries are not available for fedora-36 (according to the install output).
Reported by Roger Bivand (while testing GDAL + Arrow support since Fedora 36 is the easiest place to do that due to system Arrow): paleolimbot/narrow#7
Reproducble using the fedora:36 docker container:
# docker run --rm -it fedora:36
dnf install -y R libarrow-dataset-devel cmake
R -e 'install.packages("arrow", repos = "https://cloud.r-project.org/")'
R -e 'arrow::arrow_info()$capabilities'
Neal Richardson / @nealrichardson:
With ARROW-16752, NOT_CRAN=true ARROW_USE_PKG_CONFIG=false should result in a full-featured package via the libarrow binaries we build.
Dewey Dunnington / @paleolimbot:
Is it worth checking the pkg-config name arrow-dataset as well as the pkg-config name arrow? (I know that's easier said than done). One could also skip the pkg-config check if it's legal to download the binaries?
Activity
asfimport commentedon Jul 6, 2022
Neal Richardson / @nealrichardson:
With ARROW-16752,
NOT_CRAN=true ARROW_USE_PKG_CONFIG=falseshould result in a full-featured package via the libarrow binaries we build.asfimport commentedon Jul 6, 2022
Dewey Dunnington / @paleolimbot:
Is it worth checking the pkg-config name
arrow-datasetas well as the pkg-config namearrow? (I know that's easier said than done). One could also skip the pkg-config check if it's legal to download the binaries?asfimport commentedon Jul 6, 2022
Neal Richardson / @nealrichardson:
We used to but that was changed in https://github.com/apache/arrow/pull/9610/files#diff-089697faebdb7820ca629a2bb316b878cc0ba18a5bfb0b60996f8dbcd1fa11e7
I'm sure there's a way to allow a limited build but also by default look for everything, or something.
GH-35140: [R] Rewrite configure script and ensure we don't use mismat…
apacheGH-35140: [R] Rewrite configure script and ensure we don't use …
apacheGH-35140: [R] Rewrite configure script and ensure we don't use …