eddelbuettel commented on issue #6435:
URL: https://github.com/apache/arrow/issues/6435#issuecomment-963504964
Ok, thanks for asking -- I now have a lead. Running a plain
`install.packages("arrow")` followed by a second one with the suggested
`ARROW_R_DEV=true` set revealed that the compilations bombed over (fairly
standard) use of `ccache` inside my `CC` and `CXX*` variables (in
`~/.R/Makevars`). Removing it lets the build succeed. So it looks like the
`cmake` setup it more fragile that we would like. That may be something worth
addressing. (I have seen it with maybe one other CRAN packages out of hundreds
so it is not unheard.
FWIW my setup is a faily benign
```
VER=
CCACHE=ccache
CC=$(CCACHE) gcc$(VER)
CXX=$(CCACHE) g++$(VER)
CXX11=$(CCACHE) g++$(VER) #-std=c++11
CXX14=$(CCACHE) g++$(VER) #-std=c++14
CXX17=$(CCACHE) g++$(VER) #-std=c++17
```
(which also needs two settings in `~/.ccache/ccache.conf` to work for R:
```
max_size = 10.0G
# important for R CMD INSTALL *.tar.gz as tarballs are expanded freshly ->
fresh ctime
sloppiness = include_file_ctime
# also important as the (temp.) directory name will differ
hash_dir = false
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]