Dewey Dunnington created ARROW-16639:
----------------------------------------

             Summary: [R] Improve package installation on Fedora 36
                 Key: ARROW-16639
                 URL: https://issues.apache.org/jira/browse/ARROW-16639
             Project: Apache Arrow
          Issue Type: Improvement
          Components: R
            Reporter: Dewey Dunnington


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): 
https://github.com/paleolimbot/narrow/issues/7

Reproducble using the {{fedora:36}} docker container:


{code:bash}
# 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'
{code}




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to