You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/05/21 13:06:08 UTC

[GitHub] [arrow] eddelbuettel commented on issue #6435: CRAN package installation issues on Linux

eddelbuettel commented on issue #6435:
URL: https://github.com/apache/arrow/issues/6435#issuecomment-632074661


   CRAN package arrow (0.17.0, 0.17.1) continues to fail to install on a very standard Ubuntu 19.10 machine _which happens to have `libthrift-0.11.0` and `libthrift-dev` installed_.  Machine it reasonably powerful so it "only" takes seven minutes to run into this at the end:
   
   ```
   [...other stuff omitted...]
   ccache g++ -std=gnu++11 -Wl,-S -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o arrow.so array.o array_from_vector.o array_to_vector.o arraydata.o arrowExports.o buffer.o chunkedarray.o compress
   ion.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 symbol
   s.o table.o threadpool.o -L/tmp/Rtmp4fJ9VB/R.INSTALL74767d0fadcf/arrow/libarrow/arrow-0.17.1/lib -larrow_dataset -lparquet -larrow -larrow -larrow_dataset -ljemalloc_pic -lparquet -L/usr/lib/R/lib -lR
   installing to /usr/local/lib/R/site-library/00LOCK-arrow/00new/arrow/libs
   ** R
   ** inst
   ** byte-compile and prepare package for lazy loading
   ** help
   *** installing help indices
   ** building package indices
   ** installing vignettes
   ** testing if installed package can be loaded from temporary location
   Error: package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath = DLLpath, ...):
    unable to load shared object '/usr/local/lib/R/site-library/00LOCK-arrow/00new/arrow/libs/arrow.so':
     /usr/local/lib/R/site-library/00LOCK-arrow/00new/arrow/libs/arrow.so: undefined symbol: _ZTIN6apache6thrift8protocol9TProtocolE
   Error: loading failed
   Execution halted
   ERROR: loading failed
   * removing ‘/usr/local/lib/R/site-library/arrow’
   
   The downloaded source packages are in
           ‘/tmp/downloaded_packages’
   Warning message:
   In install.packages(pkgs = argv, lib = lib.loc, repos = repos, Ncpus = getOption("Ncpus",  :
     installation of package ‘arrow’ had non-zero exit status
   ```
   
   The package does install, however, on a (smaller) machine (that does not have thrift installed).  It would be nice if you could dive into, say, a Docker container or VM and see why the presence of Thrift leads the build astray.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org