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

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

Sorry, I should have checked before commenting. Apparently it's 
{{EXTRA_CMAKE_FLAGS}}, not {{EXTRA_CMAKE_ARGS}}. That's why there wasn't more 
output. If you're willing to try again with that correction, I'd be curious to 
see why thrift is failing to install. 

FTR, my conclusions at this point are:

1. Binary version detection on centos when lsb_release is installed isn't 
behaving correctly (so you have to specify LIBARROW_BINARY=centos-7 instead of 
that being determined automatically). Will fix that.
2. The centos-7 binary is being built with {{CC=/usr/bin/gcc 
CXX=/usr/bin/g++}}, which appears to mean gcc 4.8, and that doesn't play well 
with newer compiler versions if you have them. I'll have to explore why I set 
those in the build Dockerfile and think about ways to ensure that compatibility 
when you install.
3. We still don't know why thrift is having problems building. 

> [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