Open asfimport opened 2 years ago
Nicola Crane / @thisisnic:
Hi [~p.r], thanks for reporting this. From the error message above, it looks like there was a failure to download an external library needed - Boost. Above, there's a reference to the file /tmp/Rtmp64sUMd/file553b4faa5f21/boost_ep-prefix/src/boost_ep-stamp/boost_ep-download-*.log
which should contain more information - I don't suppose you'd be able to try again and send us the contents of that file?
Also, out of interest, what OS are you on?
Alternatively...
This current installation above is trying to build libarrow (i.e. the Arrow C++ library) from source. If you set the environment variable LIBARROW_BINARY
to TRUE
, it'll instead download a precompiled binary of libarrow (depending on your OS, but there are binaries for the vast majority of cases), which would avoid even having to worry about Boost.
Philipp: Hi @thisisnic,
thank you for your reply. My OS is Debian GNU/Linux 10 (buster).
Following your suggestion, I tried to download the precompiled binary of libarrow. Is seems like there is no binary for my OS, see below. I will post the log files in as separate comment.
// > Sys.getenv("LIBARROW_BINARY")
[1] "TRUE"
> install.packages("arrow")
Installiere Paket nach ‘/home/*/R/x86_64-pc-linux-gnu-library/4.2’
(da ‘lib’ nicht spezifiziert)
versuche URL 'https://cloud.r-project.org/src/contrib/arrow_9.0.0.tar.gz'
Content type 'application/x-gzip' length 4900968 bytes (4.7 MB)
==================================================
downloaded 4.7 MB
* installing *source* package ‘arrow’ ...
** Paket ‘arrow’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
*** Found libcurl and openssl >= 1.0.2
versuche URL 'https://apache.jfrog.io/artifactory/arrow/r/9.0.0/libarrow/bin/ubuntu-18.04/arrow-9.0.0.zip'
Error in download.file(from_url, to_file, quiet = hush) :
kann URL 'https://apache.jfrog.io/artifactory/arrow/r/9.0.0/libarrow/bin/ubuntu-18.04/arrow-9.0.0.zip' nicht öffnen
*** No libarrow binary found for version 9.0.0 (ubuntu-18.04)
*** 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: /usr/bin/cmake
**** arrow with SOURCE_DIR='tools/cpp' BUILD_DIR='/home/*/private-fs04/R/sd-008_auto_tz_prod/log' DEST_DIR='libarrow/arrow-9.0.0' CMAKE='/usr/bin/cmake' EXTRA_CMAKE_FLAGS='' CC='gcc' CXX='g++ -std=gnu++11' LDFLAGS='-Wl,-z,relro' ARROW_S3='OFF' ARROW_GCS='OFF' ARROW_MIMALLOC='OFF'
++ pwd
+ : /tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow
+ : tools/cpp
+ : /home/*/private-fs04/R/sd-008_auto_tz_prod/log
+ : libarrow/arrow-9.0.0
+ : /usr/bin/cmake
++ cd tools/cpp
++ pwd
+ SOURCE_DIR=/tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow/tools/cpp
++ mkdir -p libarrow/arrow-9.0.0
++ cd libarrow/arrow-9.0.0
++ pwd
+ DEST_DIR=/tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow/libarrow/arrow-9.0.0
+ '[' '' '!=' '' ']'
+ '[' '' = false ']'
+ ARROW_DEFAULT_PARAM=OFF
+ mkdir -p /home/*/private-fs04/R/sd-008_auto_tz_prod/log
+ pushd /home/*/private-fs04/R/sd-008_auto_tz_prod/log
~/private-fs04/R/sd-008_auto_tz_prod/log /tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow
+ /usr/bin/cmake -DARROW_BOOST_USE_SHARED=OFF -DARROW_BUILD_TESTS=OFF -DARROW_BUILD_SHARED=OFF -DARROW_BUILD_STATIC=ON -DARROW_COMPUTE=ON -DARROW_CSV=ON -DARROW_DATASET=ON -DARROW_DEPENDENCY_SOURCE=AUTO -DAWSSDK_SOURCE= -DARROW_FILESYSTEM=ON -DARROW_GCS=OFF -DARROW_JEMALLOC=OFF -DARROW_MIMALLOC=OFF -DARROW_JSON=ON -DARROW_PARQUET=ON -DARROW_S3=OFF -DARROW_WITH_BROTLI=OFF -DARROW_WITH_BZ2=OFF -DARROW_WITH_LZ4=ON -DARROW_WITH_RE2=ON -DARROW_WITH_SNAPPY=ON -DARROW_WITH_UTF8PROC=ON -DARROW_WITH_ZLIB=OFF -DARROW_WITH_ZSTD=OFF -DARROW_VERBOSE_THIRDPARTY_BUILD=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow/libarrow/arrow-9.0.0 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_UNITY_BUILD=OFF -Dxsimd_SOURCE= -G 'Unix Makefiles' /tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow/tools/cpp
CMake Error: The source "/tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow/tools/cpp/CMakeLists.txt" does not match the source "/tmp/RtmpAw7akN/R.INSTALL66f76729afb8/arrow/tools/cpp/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
**** Error building Arrow C++.
------------------------- 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 ‘/home/*/R/x86_64-pc-linux-gnu-library/4.2/arrow’
Warning in install.packages :
Installation des Pakets ‘arrow’ hatte Exit-Status ungleich 0
Die heruntergeladenen Quellpakete sind in
‘/tmp/RtmpXC0LYV/downloaded_packages’
Philipp: Hi @thisisnic,
here is the content of the log file. Do you have any idea what is going wrong?
// -- Downloading...
dst='/home/*/private-fs04/R/sd-008_auto_tz_prod/log/boost_ep-prefix/src/boost_1_75_0.tar.gz'
timeout='none'
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz'
-- Retrying...
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz'
-- Retry after 60 seconds (attempt #5) ...
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz'
Neal Richardson / @nealrichardson: Given that both https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz and https://apache.jfrog.io/artifactory/arrow/r/9.0.0/libarrow/bin/ubuntu-18.04/arrow-9.0.0.zip cannot download, I wonder if your server/firewall is blocking traffic to some IPs.
Hi,
I try to install arrow on a RStudio Server. I tried different approaches but always ran into the same poblem. Do you have any idea what goes wrong? Thanks.
Reporter: Philipp
Note: This issue was originally created as ARROW-17497. Please see the migration documentation for further details.