[ 
https://issues.apache.org/jira/browse/ARROW-8586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094013#comment-17094013
 ] 

Neal Richardson commented on ARROW-8586:
----------------------------------------

Thanks. A few thoughts. Apologies if this is confusing; we're going deep in 
some different directions:

* {{ARROW_R_DEV=true}} is for installation verbosity only, not for crash 
reporting, and from the install logs you shared, I can see that apparently 
thrift failed to build/install. I haven't seen it fail in that specific way 
before, I don't think. If you want to go deeper into the Matrix with me, try 
reinstalling with {{ARROW_R_DEV=true}} and 
{{EXTRA_CMAKE_ARGS="-DARROW_VERBOSE_THIRDPARTY_BUILD=ON"}} (but unset 
{{LIBARROW_BINARY}} so that we build from source) and maybe we'll see what's 
going on there.
* Alternatively, you could try installing {{thrift}} from {{yum}}, though I'm 
not sure that they have a new enough version (0.11 is the minimum).
* Odd that you got a segfault when reading a parquet file. Is there anything 
special about how your system is configured (compilers, toolchains, etc.) 
beyond a vanilla CentOS 7 environment? The centos-7 binary is built on a base 
centos image with this Dockerfile: 
https://github.com/ursa-labs/arrow-r-nightly/blob/master/linux/yum.Dockerfile 
So maybe see if setting {{CC=/usr/bin/gcc CXX=/usr/bin/g++}} before installing 
the R package (with {{LIBARROW_BINARY=centos-7}}).
* If that makes a difference, I wonder if 
https://github.com/ursa-labs/arrow-r-nightly/blob/master/linux/yum.Dockerfile#L18-L20
 is what is needed to get the thrift compilation when building everything from 
source to work.
* Thanks for the {{lsb_release}} output. That confirms my suspicion about why 
it did not try to download the centos-7 binary to begin with (though obviously 
that's not desirable unless we get it not to segfault for you).

> [R] installation failure on CentOS 7
> ------------------------------------
>
>                 Key: ARROW-8586
>                 URL: https://issues.apache.org/jira/browse/ARROW-8586
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 0.17.0
>         Environment: CentOS 7
>            Reporter: Hei
>            Priority: Major
>
> Hi,
> I am trying to install arrow via RStudio, but it seems like it is not working 
> that after I installed the package, it kept asking me to run 
> arrow::install_arrow() even after I did:
> {code}
> > install.packages("arrow")
> Installing package into ‘/home/hc/R/x86_64-redhat-linux-gnu-library/3.6’
> (as ‘lib’ is unspecified)
> trying URL 'https://cran.rstudio.com/src/contrib/arrow_0.17.0.tar.gz'
> Content type 'application/x-gzip' length 242534 bytes (236 KB)
> ==================================================
> downloaded 236 KB
> * installing *source* package ‘arrow’ ...
> ** package ‘arrow’ successfully unpacked and MD5 sums checked
> ** using staged installation
> *** Successfully retrieved C++ source
> *** Building C++ libraries
> **** cmake
> **** arrow  
> ./configure: line 132: cd: libarrow/arrow-0.17.0/lib: Not a directory
> ------------------------- NOTE ---------------------------
> After installation, please run arrow::install_arrow()
> for help installing required runtime libraries
> ---------------------------------------------------------
> ** libs
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c array.cpp -o array.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c array_from_vector.cpp -o 
> array_from_vector.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c array_to_vector.cpp -o 
> array_to_vector.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c arraydata.cpp -o arraydata.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c arrowExports.cpp -o 
> arrowExports.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c buffer.cpp -o buffer.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c chunkedarray.cpp -o 
> chunkedarray.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c compression.cpp -o 
> compression.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c compute.cpp -o compute.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c csv.cpp -o csv.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c dataset.cpp -o dataset.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c datatype.cpp -o datatype.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c expression.cpp -o expression.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c feather.cpp -o feather.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c field.cpp -o field.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c filesystem.cpp -o filesystem.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c io.cpp -o io.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c json.cpp -o json.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c memorypool.cpp -o memorypool.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c message.cpp -o message.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c parquet.cpp -o parquet.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c py-to-r.cpp -o py-to-r.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c recordbatch.cpp -o 
> recordbatch.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c recordbatchreader.cpp -o 
> recordbatchreader.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c recordbatchwriter.cpp -o 
> recordbatchwriter.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c schema.cpp -o schema.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c symbols.cpp -o symbols.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c table.cpp -o table.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c threadpool.cpp -o threadpool.o
> g++ -m64 -std=gnu++11 -shared -L/usr/lib64/R/lib -Wl,-z,relro -o arrow.so 
> array.o array_from_vector.o array_to_vector.o arraydata.o arrowExports.o 
> buffer.o chunkedarray.o compression.o compute.o csv.o dataset.o datatype.o 
> expression.o feather.o field.o filesystem.o io.o json.o memorypool.o 
> message.o parquet.o py-to-r.o recordbatch.o recordbatchreader.o 
> recordbatchwriter.o schema.o symbols.o table.o threadpool.o 
> -L/usr/lib64/R/lib -lR
> installing to 
> /home/hc/R/x86_64-redhat-linux-gnu-library/3.6/00LOCK-arrow/00new/arrow/libs
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> ** help
> *** installing help indices
>   converting help for package ‘arrow’
>     finding HTML links ... done
>     ArrayData                               html  
>     ChunkedArray                            html  
>     Codec                                   html  
>     CsvReadOptions                          html  
> Rd warning: 
> /tmp/RtmpEMszQs/R.INSTALL6254154cd713/arrow/man/CsvReadOptions.Rd:61: file 
> link ‘read.csv’ in package ‘utils’ does not exist and so has been treated as 
> a topic
>     CsvTableReader                          html  
>     DataType                                html  
>     Dataset                                 html  
>     DictionaryType                          html  
>     Expression                              html  
>     FeatherReader                           html  
>     Field                                   html  
>     FileFormat                              html  
>     FileInfo                                html  
>     FileSelector                            html  
>     FileSystem                              html  
>     FixedWidthType                          html  
>     InputStream                             html  
>     MemoryPool                              html  
>     Message                                 html  
>     MessageReader                           html  
>     OutputStream                            html  
>     ParquetFileReader                       html  
>     ParquetFileWriter                       html  
>     ParquetReaderProperties                 html  
>     ParquetWriterProperties                 html  
>     Partitioning                            html  
>     RecordBatch                             html  
>     RecordBatchReader                       html  
>     RecordBatchWriter                       html  
>     Scanner                                 html  
>     Schema                                  html  
>     Table                                   html  
>     array                                   html  
>     arrow-package                           html  
>     arrow_available                         html  
>     buffer                                  html  
>     cast_options                            html  
>     codec_is_available                      html  
>     compression                             html  
>     cpu_count                               html  
>     data-type                               html  
>     dataset_factory                         html  
>     default_memory_pool                     html  
>     dictionary                              html  
>     enums                                   html  
>     hive_partition                          html  
>     install_arrow                           html  
>     install_pyarrow                         html  
>     make_readable_file                      html  
>     map_batches                             html  
>     mmap_create                             html  
>     mmap_open                               html  
>     open_dataset                            html  
>     read_delim_arrow                        html  
>     read_feather                            html  
>     read_ipc_stream                         html  
>     read_json_arrow                         html  
>     read_message                            html  
>     read_parquet                            html  
>     read_record_batch                       html  
>     read_schema                             html  
>     reexports                               html  
> Rd warning: /tmp/RtmpEMszQs/R.INSTALL6254154cd713/arrow/man/reexports.Rd:24: 
> file link ‘print.integer64’ in package ‘bit64’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmpEMszQs/R.INSTALL6254154cd713/arrow/man/reexports.Rd:24: 
> file link ‘str.integer64’ in package ‘bit64’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmpEMszQs/R.INSTALL6254154cd713/arrow/man/reexports.Rd:26: 
> file link ‘contains’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmpEMszQs/R.INSTALL6254154cd713/arrow/man/reexports.Rd:26: 
> file link ‘ends_with’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmpEMszQs/R.INSTALL6254154cd713/arrow/man/reexports.Rd:26: 
> file link ‘everything’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmpEMszQs/R.INSTALL6254154cd713/arrow/man/reexports.Rd:26: 
> file link ‘last_col’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmpEMszQs/R.INSTALL6254154cd713/arrow/man/reexports.Rd:26: 
> file link ‘matches’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmpEMszQs/R.INSTALL6254154cd713/arrow/man/reexports.Rd:26: 
> file link ‘num_range’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmpEMszQs/R.INSTALL6254154cd713/arrow/man/reexports.Rd:26: 
> file link ‘starts_with’ in package ‘tidyselect’ does not exist and so has 
> been treated as a topic
>     type                                    html  
>     unify_schemas                           html  
>     write_feather                           html  
>     write_ipc_stream                        html  
>     write_parquet                           html  
>     write_to_raw                            html  
> ** building package indices
> ** installing vignettes
> ** testing if installed package can be loaded from temporary location
> ** checking absolute paths in shared objects and dynamic libraries
> ** testing if installed package can be loaded from final location
> ** testing if installed package keeps a record of temporary installation path
> * DONE (arrow)
> The downloaded source packages are in
>       ‘/tmp/Rtmpo9otzy/downloaded_packages’
> > library(arrow)
> Attaching package: ‘arrow’
> The following object is masked from ‘package:utils’:
>     timestamp
> > df <- read_parquet('/home/hc/my.10.level.20200331.2book.parquet')
> Error in io___MemoryMappedFile__Open(path, mode) : 
>   Cannot call io___MemoryMappedFile__Open(). Please use 
> arrow::install_arrow() to install required runtime libraries. 
> > arrow::install_arrow()
> Installing package into ‘/home/hc/R/x86_64-redhat-linux-gnu-library/3.6’
> (as ‘lib’ is unspecified)
> trying URL 'https://cran.rstudio.com/src/contrib/arrow_0.17.0.tar.gz'
> Content type 'application/x-gzip' length 242534 bytes (236 KB)
> ==================================================
> downloaded 236 KB
> * installing *source* package ‘arrow’ ...
> ** package ‘arrow’ successfully unpacked and MD5 sums checked
> ** using staged installation
> *** No C++ binaries found for centos-7.7.1908
> *** Successfully retrieved C++ source
> *** Building C++ libraries
> **** cmake
> **** arrow  
> ./configure: line 132: cd: libarrow/arrow-0.17.0/lib: Not a directory
> ------------------------- NOTE ---------------------------
> After installation, please run arrow::install_arrow()
> for help installing required runtime libraries
> ---------------------------------------------------------
> ** libs
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c array.cpp -o array.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c array_from_vector.cpp -o 
> array_from_vector.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c array_to_vector.cpp -o 
> array_to_vector.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c arraydata.cpp -o arraydata.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c arrowExports.cpp -o 
> arrowExports.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c buffer.cpp -o buffer.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c chunkedarray.cpp -o 
> chunkedarray.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c compression.cpp -o 
> compression.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c compute.cpp -o compute.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c csv.cpp -o csv.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c dataset.cpp -o dataset.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c datatype.cpp -o datatype.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c expression.cpp -o expression.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c feather.cpp -o feather.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c field.cpp -o field.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c filesystem.cpp -o filesystem.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c io.cpp -o io.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c json.cpp -o json.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c memorypool.cpp -o memorypool.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c message.cpp -o message.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c parquet.cpp -o parquet.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c py-to-r.cpp -o py-to-r.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c recordbatch.cpp -o 
> recordbatch.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c recordbatchreader.cpp -o 
> recordbatchreader.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c recordbatchwriter.cpp -o 
> recordbatchwriter.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c schema.cpp -o schema.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c symbols.cpp -o symbols.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c table.cpp -o table.o
> g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG  
> -I"/home/hc/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" 
> -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
> -grecord-gcc-switches   -m64 -mtune=generic  -c threadpool.cpp -o threadpool.o
> g++ -m64 -std=gnu++11 -shared -L/usr/lib64/R/lib -Wl,-z,relro -o arrow.so 
> array.o array_from_vector.o array_to_vector.o arraydata.o arrowExports.o 
> buffer.o chunkedarray.o compression.o compute.o csv.o dataset.o datatype.o 
> expression.o feather.o field.o filesystem.o io.o json.o memorypool.o 
> message.o parquet.o py-to-r.o recordbatch.o recordbatchreader.o 
> recordbatchwriter.o schema.o symbols.o table.o threadpool.o 
> -L/usr/lib64/R/lib -lR
> installing to 
> /home/hc/R/x86_64-redhat-linux-gnu-library/3.6/00LOCK-arrow/00new/arrow/libs
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> ** help
> *** installing help indices
>   converting help for package ‘arrow’
>     finding HTML links ... done
>     ArrayData                               html  
>     ChunkedArray                            html  
>     Codec                                   html  
>     CsvReadOptions                          html  
> Rd warning: 
> /tmp/RtmppYi3Tc/R.INSTALL7ba654278045/arrow/man/CsvReadOptions.Rd:61: file 
> link ‘read.csv’ in package ‘utils’ does not exist and so has been treated as 
> a topic
>     CsvTableReader                          html  
>     DataType                                html  
>     Dataset                                 html  
>     DictionaryType                          html  
>     Expression                              html  
>     FeatherReader                           html  
>     Field                                   html  
>     FileFormat                              html  
>     FileInfo                                html  
>     FileSelector                            html  
>     FileSystem                              html  
>     FixedWidthType                          html  
>     InputStream                             html  
>     MemoryPool                              html  
>     Message                                 html  
>     MessageReader                           html  
>     OutputStream                            html  
>     ParquetFileReader                       html  
>     ParquetFileWriter                       html  
>     ParquetReaderProperties                 html  
>     ParquetWriterProperties                 html  
>     Partitioning                            html  
>     RecordBatch                             html  
>     RecordBatchReader                       html  
>     RecordBatchWriter                       html  
>     Scanner                                 html  
>     Schema                                  html  
>     Table                                   html  
>     array                                   html  
>     arrow-package                           html  
>     arrow_available                         html  
>     buffer                                  html  
>     cast_options                            html  
>     codec_is_available                      html  
>     compression                             html  
>     cpu_count                               html  
>     data-type                               html  
>     dataset_factory                         html  
>     default_memory_pool                     html  
>     dictionary                              html  
>     enums                                   html  
>     hive_partition                          html  
>     install_arrow                           html  
>     install_pyarrow                         html  
>     make_readable_file                      html  
>     map_batches                             html  
>     mmap_create                             html  
>     mmap_open                               html  
>     open_dataset                            html  
>     read_delim_arrow                        html  
>     read_feather                            html  
>     read_ipc_stream                         html  
>     read_json_arrow                         html  
>     read_message                            html  
>     read_parquet                            html  
>     read_record_batch                       html  
>     read_schema                             html  
>     reexports                               html  
> Rd warning: /tmp/RtmppYi3Tc/R.INSTALL7ba654278045/arrow/man/reexports.Rd:24: 
> file link ‘print.integer64’ in package ‘bit64’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmppYi3Tc/R.INSTALL7ba654278045/arrow/man/reexports.Rd:24: 
> file link ‘str.integer64’ in package ‘bit64’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmppYi3Tc/R.INSTALL7ba654278045/arrow/man/reexports.Rd:26: 
> file link ‘contains’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmppYi3Tc/R.INSTALL7ba654278045/arrow/man/reexports.Rd:26: 
> file link ‘ends_with’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmppYi3Tc/R.INSTALL7ba654278045/arrow/man/reexports.Rd:26: 
> file link ‘everything’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmppYi3Tc/R.INSTALL7ba654278045/arrow/man/reexports.Rd:26: 
> file link ‘last_col’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmppYi3Tc/R.INSTALL7ba654278045/arrow/man/reexports.Rd:26: 
> file link ‘matches’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmppYi3Tc/R.INSTALL7ba654278045/arrow/man/reexports.Rd:26: 
> file link ‘num_range’ in package ‘tidyselect’ does not exist and so has been 
> treated as a topic
> Rd warning: /tmp/RtmppYi3Tc/R.INSTALL7ba654278045/arrow/man/reexports.Rd:26: 
> file link ‘starts_with’ in package ‘tidyselect’ does not exist and so has 
> been treated as a topic
>     type                                    html  
>     unify_schemas                           html  
>     write_feather                           html  
>     write_ipc_stream                        html  
>     write_parquet                           html  
>     write_to_raw                            html  
> ** building package indices
> ** installing vignettes
> ** testing if installed package can be loaded from temporary location
> ** checking absolute paths in shared objects and dynamic libraries
> ** testing if installed package can be loaded from final location
> ** testing if installed package keeps a record of temporary installation path
> * DONE (arrow)
> The downloaded source packages are in
>       ‘/tmp/Rtmpo9otzy/downloaded_packages’
> Please restart R to use the 'arrow' package.
> Restarting R session...
> > library(arrow)
> Attaching package: ‘arrow’
> The following object is masked from ‘package:utils’:
>     timestamp
> > read_parquet('/home/hc/my.10.level.20200331.1.book.parquet')
> Error in io___MemoryMappedFile__Open(path, mode) : 
>   Cannot call io___MemoryMappedFile__Open(). Please use 
> arrow::install_arrow() to install required runtime libraries. 
> > library(arrow)
> > df <- read_parquet('/home/hc/my.10.level.20200331.1.book.parquet')
> Error in io___MemoryMappedFile__Open(path, mode) : 
>   Cannot call io___MemoryMappedFile__Open(). Please use 
> arrow::install_arrow() to install required runtime libraries. 
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to