[ 
https://issues.apache.org/jira/browse/ARROW-17314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neil Currie updated ARROW-17314:
--------------------------------
    Description: 
Reporting as per the instructions here:

[https://arrow.apache.org/docs/r/articles/install.html]

arrow::install_arrow(nightly = TRUE, verbose = TRUE)
trying URL 
'https://arrow-r-nightly.s3.amazonaws.com/src/contrib/arrow_9.0.0.20220804.tar.gz'
Content type 'binary/octet-stream' length 4373224 bytes (4.2 MB)
==================================================
downloaded 4.2 MB
 
* installing *source* package ‘arrow’ ...
** using staged installation
**** pkg-config not installed, setting ARROW_DEPENDENCY_SOURCE=BUNDLED
*** Building on darwin x86_64
*** Found local C++ source: 'tools/cpp'
*** Building libarrow from source
    For build options and troubleshooting, see the install vignette:
    https://cran.r-project.org/web/packages/arrow/vignettes/install.html
*** Building with MAKEFLAGS= -j2 
**** cmake
trying URL 
'https://github.com/Kitware/CMake/releases/download/v3.21.4/cmake-3.21.4-macos-universal.tar.gz'
Content type 'application/octet-stream' length 67980368 bytes (64.8 MB)
==================================================
downloaded 64.8 MB
 
sh: 
/var/folders/0x/2l4gy85n1qv_5xdqc6x4mgb00000gn/T//RtmpO4Rk8y/file10992fcbb073/cmake-3.21.4-macos-universal/bin/cmake:
 No such file or directory
Error in system(paste("export", env_vars, "&& $CMAKE --system-information"),  : 
  error in running command
Calls: build_libarrow ... cmake_gcc_version -> cmake_cxx_compiler_vars -> system
Execution halted
------------------------- NOTE ---------------------------
There was an issue preparing the Arrow C++ libraries.
See https://arrow.apache.org/docs/r/articles/install.html
---------------------------------------------------------
ERROR: configuration failed for package ‘arrow’
* removing 
‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/arrow’
* restoring previous 
‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/arrow’
 
The downloaded source packages are in
‘/private/var/folders/0x/2l4gy85n1qv_5xdqc6x4mgb00000gn/T/RtmpDJ3ZQp/downloaded_packages’
Warning message:
In install.packages("arrow", repos = arrow_repos(repos, nightly),  :
  installation of package ‘arrow’ had non-zero exit status
 

 

 

R version 4.2.0 (2022-04-22) Platform: x86_64-apple-darwin17.0 (64-bit) Running 
under: macOS Monterey 12.5 Matrix products: default LAPACK: 
/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib 
locale: [1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8 
attached base packages: [1] stats     graphics  grDevices utils     datasets  
methods   base      loaded via a namespace (and not attached):  [1] 
tidyselect_1.1.2 bit_4.0.4        compiler_4.2.0   magrittr_2.0.3   
assertthat_0.2.1  [6] R6_2.5.1         rprojroot_2.0.3  cli_3.3.0        
tools_4.2.0      glue_1.6.2       [11] rstudioapi_0.13  bit64_4.0.5      
vctrs_0.4.1      pkgload_1.3.0    arrow_8.0.0      [16] rlang_1.0.4      
purrr_0.3.4     

  was:
Reporting as per the instructions here:

[https://arrow.apache.org/docs/r/articles/install.html]

install.packages("arrow", repos = 
"https://packagemanager.rstudio.com/all/2022-08-04+Y3JhbiwyOjQ1MjYyMTU7NUNFQTk1N0Q";)

Does not work and leads to error:
installing the source package ‘arrow’
 
trying URL 
'https://packagemanager.rstudio.com/all/2022-08-04+Y3JhbiwyOjQ1MjYyMTU7NUNFQTk1N0Q/src/contrib/arrow_8.0.0.tar.gz'
Content type 'binary/octet-stream' length 4815444 bytes (4.6 MB)
==================================================
downloaded 4.6 MB
 
* installing *source* package ‘arrow’ ...
** package ‘arrow’ successfully unpacked and MD5 sums checked
** using staged installation
**** pkg-config not installed, setting ARROW_DEPENDENCY_SOURCE=BUNDLED
*** Unable to identify current OS/version
*** Found local C++ source: 'tools/cpp'
*** Building libarrow from source
    For a faster, more complete installation, set the environment variable 
NOT_CRAN=true before installing
    See install vignette for details:
    https://cran.r-project.org/web/packages/arrow/vignettes/install.html
**** cmake
sh: 
/var/folders/0x/2l4gy85n1qv_5xdqc6x4mgb00000gn/T//RtmprB5JZy/filec48c7ff5b4ec/cmake-3.21.4-macos-universal/bin/cmake:
 No such file or directory
Error in system(paste("export", env_vars, "&& $CMAKE --system-information"),  : 
  error in running command
Calls: build_libarrow ... cmake_gcc_version -> cmake_cxx_compiler_vars -> system
Execution halted
------------------------- NOTE ---------------------------
There was an issue preparing the Arrow C++ libraries.
See https://arrow.apache.org/docs/r/articles/install.html
---------------------------------------------------------
ERROR: configuration failed for package ‘arrow’
* removing 
‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/arrow’
* restoring previous 
‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/arrow’
Warning in install.packages :
  installation of package ‘arrow’ had non-zero exit status
 
The downloaded source packages are in
‘/private/var/folders/0x/2l4gy85n1qv_5xdqc6x4mgb00000gn/T/Rtmpv1beT2/downloaded_packages
 
sessionInfo() R version 4.2.0 (2022-04-22) Platform: x86_64-apple-darwin17.0 
(64-bit) Running under: macOS Monterey 12.4 Matrix products: default LAPACK: 
/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib 
locale: [1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8 
attached base packages: [1] stats     graphics  grDevices utils     datasets  
methods   base      loaded via a namespace (and not attached): [1] 
compiler_4.2.0 cli_3.3.0      tools_4.2.0   
 

 


> [R] Unable to install dev version of arrow: Unable to identify current 
> OS/version
> ---------------------------------------------------------------------------------
>
>                 Key: ARROW-17314
>                 URL: https://issues.apache.org/jira/browse/ARROW-17314
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>            Reporter: Neil Currie
>            Priority: Major
>
> Reporting as per the instructions here:
> [https://arrow.apache.org/docs/r/articles/install.html]
> arrow::install_arrow(nightly = TRUE, verbose = TRUE)
> trying URL 
> 'https://arrow-r-nightly.s3.amazonaws.com/src/contrib/arrow_9.0.0.20220804.tar.gz'
> Content type 'binary/octet-stream' length 4373224 bytes (4.2 MB)
> ==================================================
> downloaded 4.2 MB
>  
> * installing *source* package ‘arrow’ ...
> ** using staged installation
> **** pkg-config not installed, setting ARROW_DEPENDENCY_SOURCE=BUNDLED
> *** Building on darwin x86_64
> *** Found local C++ source: 'tools/cpp'
> *** Building libarrow from source
>     For build options and troubleshooting, see the install vignette:
>     https://cran.r-project.org/web/packages/arrow/vignettes/install.html
> *** Building with MAKEFLAGS= -j2 
> **** cmake
> trying URL 
> 'https://github.com/Kitware/CMake/releases/download/v3.21.4/cmake-3.21.4-macos-universal.tar.gz'
> Content type 'application/octet-stream' length 67980368 bytes (64.8 MB)
> ==================================================
> downloaded 64.8 MB
>  
> sh: 
> /var/folders/0x/2l4gy85n1qv_5xdqc6x4mgb00000gn/T//RtmpO4Rk8y/file10992fcbb073/cmake-3.21.4-macos-universal/bin/cmake:
>  No such file or directory
> Error in system(paste("export", env_vars, "&& $CMAKE --system-information"),  
> : 
>   error in running command
> Calls: build_libarrow ... cmake_gcc_version -> cmake_cxx_compiler_vars -> 
> system
> Execution halted
> ------------------------- NOTE ---------------------------
> There was an issue preparing the Arrow C++ libraries.
> See https://arrow.apache.org/docs/r/articles/install.html
> ---------------------------------------------------------
> ERROR: configuration failed for package ‘arrow’
> * removing 
> ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/arrow’
> * restoring previous 
> ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/arrow’
>  
> The downloaded source packages are in
> ‘/private/var/folders/0x/2l4gy85n1qv_5xdqc6x4mgb00000gn/T/RtmpDJ3ZQp/downloaded_packages’
> Warning message:
> In install.packages("arrow", repos = arrow_repos(repos, nightly),  :
>   installation of package ‘arrow’ had non-zero exit status
>  
>  
>  
> R version 4.2.0 (2022-04-22) Platform: x86_64-apple-darwin17.0 (64-bit) 
> Running under: macOS Monterey 12.5 Matrix products: default LAPACK: 
> /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib 
> locale: [1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8 
> attached base packages: [1] stats     graphics  grDevices utils     datasets  
> methods   base      loaded via a namespace (and not attached):  [1] 
> tidyselect_1.1.2 bit_4.0.4        compiler_4.2.0   magrittr_2.0.3   
> assertthat_0.2.1  [6] R6_2.5.1         rprojroot_2.0.3  cli_3.3.0        
> tools_4.2.0      glue_1.6.2       [11] rstudioapi_0.13  bit64_4.0.5      
> vctrs_0.4.1      pkgload_1.3.0    arrow_8.0.0      [16] rlang_1.0.4      
> purrr_0.3.4     



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to