You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Travers Ching (Jira)" <ji...@apache.org> on 2020/11/30 09:08:00 UTC

[jira] [Created] (ARROW-10774) [R] Failing to install on ubuntu 18.04 (R 4.0.3) and Mac (R 3.5.3)

Travers Ching created ARROW-10774:
-------------------------------------

             Summary: [R] Failing to install on ubuntu 18.04 (R 4.0.3) and Mac (R 3.5.3)
                 Key: ARROW-10774
                 URL: https://issues.apache.org/jira/browse/ARROW-10774
             Project: Apache Arrow
          Issue Type: Bug
         Environment: Mac and Linux
            Reporter: Travers Ching


Here's the log for ubuntu:

{{install.packages("arrow")}}
{{Installing package into '/home/tching/R/x86_64-pc-linux-gnu-library/4.0'}}
{{(as 'lib' is unspecified)}}
{{trying URL 'https://cloud.r-project.org/src/contrib/arrow_2.0.0.tar.gz'}}
{{Content type 'application/x-gzip' length 322592 bytes (315 KB)}}
{{==================================================}}
{{downloaded 315 KB}}

{{* installing *source* package 'arrow' ...}}
{{** package 'arrow' successfully unpacked and MD5 sums checked}}
{{** using staged installation}}
{{*** Arrow C++ libraries found via pkg-config}}
{{PKG_CFLAGS= -DARROW_R_WITH_ARROW}}
{{PKG_LIBS=-larrow_dataset -lparquet -larrow}}
{{** libs}}
{{g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I'/home/tching/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-7BvS0x/r-base-4.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c array.cpp -o array.o}}
{{In file included from ./arrow_types.h:22:0,}}
{{ from array.cpp:18:}}
{{././arrow_cpp11.h: In function 'SEXPREC* arrow::r::utf8_strings(SEXP)':}}
{{././arrow_cpp11.h:117:4: error: void value not ignored as it ought to be}}
{{ });}}
{{ ^}}
{{././arrow_cpp11.h: In function 'Pointer arrow::r::r6_to_pointer(SEXP)':}}
{{././arrow_cpp11.h:164:16: error: 'decay_t' is not a member of 'cpp11'}}
{{ cpp11::decay_t<typename std::remove_pointer<Pointer>::type>>();}}
{{ ^~~~~~~}}
{{././arrow_cpp11.h:164:16: error: 'decay_t' is not a member of 'cpp11'}}
{{././arrow_cpp11.h:163:42: error: parse error in template argument list}}
{{ std::string type_name = arrow::util::nameof<}}
{{ ^~~~~~~}}
{{ cpp11::decay_t<typename std::remove_pointer<Pointer>::type>>();}}
{{ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}}
{{././arrow_cpp11.h:164:70: error: expected primary-expression before ')' token}}
{{ cpp11::decay_t<typename std::remove_pointer<Pointer>::type>>();}}
{{ ^}}
{{././arrow_cpp11.h: At global scope:}}
{{././arrow_cpp11.h:322:1: error: 'enable_if_enum' does not name a type; did you mean 'enable_if_shared_ptr'?}}
{{ enable_if_enum<E, SEXP> as_sexp(E e) {}}
{{ ^~~~~~~~~~~~~~}}
{{ enable_if_shared_ptr}}
{{/usr/lib/R/etc/Makeconf:181: recipe for target 'array.o' failed}}
{{make: *** [array.o] Error 1}}
{{ERROR: compilation failed for package 'arrow'}}
{{* removing '/home/tching/R/x86_64-pc-linux-gnu-library/4.0/arrow'}}

{{The downloaded source packages are in}}
{{ '/tmp/RtmpwBcRFV/downloaded_packages'}}
{{Warning message:}}
{{In install.packages("arrow") :}}
{{ installation of package 'arrow' had non-zero exit status}}

 

On mac:

{{...}}

{{clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/private/var/folders/w9/n1w04yfs0j3fj5ftrq9vxn5nj6m7h0/T/RtmpcVzz9H/R.INSTALL3d32a98f8cd/.autobrew/build-apache-arrow/include -DARROW_R_WITH_S3 -DARROW_R_WITH_ARROW -DARROW_R_WITH_S3 -I"/Users/tching/Library/R/3.5/library/cpp11/include" -I/usr/local/include -fPIC -O3 -c array.cpp -o array.o}}
{{In file included from array.cpp:18:}}
{{In file included from ././arrow_types.h:22:}}
{{In file included from ././arrow_cpp11.h:39:}}
{{In file included from /Users/tching/Library/R/3.5/library/cpp11/include/cpp11.hpp:5:}}
{{In file included from /Users/tching/Library/R/3.5/library/cpp11/include/cpp11/as.hpp:9:}}
{{/Users/tching/Library/R/3.5/library/cpp11/include/cpp11/protect.hpp:236:10: error: definition with same mangled name as another definition}}
{{ auto operator()(A&&... a) const}}
{{ ^}}
{{/Users/tching/Library/R/3.5/library/cpp11/include/cpp11/protect.hpp:236:10: note: previous definition is here}}
{{1 error generated.}}
{{make: *** [array.o] Error 1}}
{{ERROR: compilation failed for package 'arrow'}}
{{* removing '/Users/tching/Library/R/3.5/library/arrow'}}
{{* restoring previous '/Users/tching/Library/R/3.5/library/arrow'}}
{{Warning in install.packages :}}
{{ installation of package 'arrow' had non-zero exit status}}



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