You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "SHOBHIT SHUKLA (Jira)" <ji...@apache.org> on 2020/08/25 19:49:00 UTC
[jira] [Created] (ARROW-9857) Failed to install Arrow 0.14.1
SHOBHIT SHUKLA created ARROW-9857:
-------------------------------------
Summary: Failed to install Arrow 0.14.1
Key: ARROW-9857
URL: https://issues.apache.org/jira/browse/ARROW-9857
Project: Apache Arrow
Issue Type: Bug
Affects Versions: 0.14.1
Reporter: SHOBHIT SHUKLA
We are seeing issue to install arrow R package on RHEL machines. Using below command to install arrow.
R -e "install.packages(\"remotes\",repos = \"http://cran.r-project.org\");remotes::install_github(\"apache/arrow\", subdir = \"r\", ref = \"apache-arrow-0.14.1\")"
*Error logs :*
The downloaded source packages are in
'/tmp/Rtmpycmy4e/downloaded_packages'
[0m[91mUpdating HTML index of packages in '.Library'
[0m[91mMaking 'packages.html' ...[0m[91m done
[0m[91mRunning `R CMD build`...
[0m* checking for file '/tmp/Rtmpycmy4e/remotesa23015b2/apache-arrow-8d09de2/r/DESCRIPTION' ... OK
* preparing 'arrow':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* running 'cleanup'
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building 'arrow_0.14.1.tar.gz'
[91m* installing *source* package 'arrow' ...
[0m[91m** using staged installation
[0m$ pkg-config --cflags --silence-errors arrow parquet
PKGCONFIG_CFLAGS = "-DNDEBUG "
$ pkg-config --libs arrow parquet
PKGCONFIG_LIBS = "-lparquet -larrow "
Found pkg-config cflags and libs!
PKG_CFLAGS=-DNDEBUG -DARROW_R_WITH_ARROW
PKG_LIBS=-lparquet -larrow
[91m** libs
[0mg++ -std=gnu++11 -I"/opt/ibm/conda/R/lib64/R/include" -DNDEBUG -DNDEBUG -DARROW_R_WITH_ARROW -I"/opt/ibm/conda/R/lib64/R/library/Rcpp/include" -I/usr/local/include -fvisibility=hidden -fpic -g -O2 -c array.cpp -o array.o
[91mIn file included from /opt/ibm/conda/R/lib64/R/library/Rcpp/include/Rcpp/macros/macros.h:134:0,
from /opt/ibm/conda/R/lib64/R/library/Rcpp/include/Rcpp/r/headers.h:69,
from /opt/ibm/conda/R/lib64/R/library/Rcpp/include/RcppCommon.h:29,
from ./arrow_types.h:24,
from array.cpp:18:
./arrow_types.h:188:26: error: 'Type' is not a member of 'arrow::ipc::Message'
RCPP_EXPOSED_ENUM_NODECL(arrow::ipc::Message::Type)
^
/opt/ibm/conda/R/lib64/R/library/Rcpp/include/Rcpp/macros/module.h:76:106: note: in definition of macro 'RCPP_EXPOSED_ENUM_AS'
#define RCPP_EXPOSED_ENUM_AS(CLASS) namespace Rcpp{ namespace traits{ template<> struct r_type_traits< CLASS >{ typedef r_type_enum_tag r_category ; } ; }}
^
./arrow_types.h:188:1: note: in expansion of macro 'RCPP_EXPOSED_ENUM_NODECL'
RCPP_EXPOSED_ENUM_NODECL(arrow::ipc::Message::Type)
^
./arrow_types.h:188:26: error: 'Type' is not a member of 'arrow::ipc::Message'
RCPP_EXPOSED_ENUM_NODECL(arrow::ipc::Message::Type)
^
/opt/ibm/conda/R/lib64/R/library/Rcpp/include/Rcpp/macros/module.h:76:106: note: in definition of macro 'RCPP_EXPOSED_ENUM_AS'
#define RCPP_EXPOSED_ENUM_AS(CLASS) namespace Rcpp{ namespace traits{ template<> struct r_type_traits< CLASS >{ typedef r_type_enum_tag r_category ; } ; }}
^
./arrow_types.h:188:1: note: in expansion of macro 'RCPP_EXPOSED_ENUM_NODECL'
RCPP_EXPOSED_ENUM_NODECL(arrow::ipc::Message::Type)
^
[0m[91m/opt/ibm/conda/R/lib64/R/library/Rcpp/include/Rcpp/macros/module.h:76:112: error: template argument 1 is invalid
#define RCPP_EXPOSED_ENUM_AS(CLASS) namespace Rcpp{ namespace traits{ template<> struct r_type_traits< CLASS >{ typedef r_type_enum_tag r_category ; } ; }}
^
/opt/ibm/conda/R/lib64/R/library/Rcpp/include/Rcpp/macros/module.h:80:3: note: in expansion of macro 'RCPP_EXPOSED_ENUM_AS'
RCPP_EXPOSED_ENUM_AS(CLASS) \
^
./arrow_types.h:188:1: note: in expansion of macro 'RCPP_EXPOSED_ENUM_NODECL'
RCPP_EXPOSED_ENUM_NODECL(arrow::ipc::Message::Type)
^
[0m[91m./arrow_types.h:188:26: error: 'Type' is not a member of 'arrow::ipc::Message'
RCPP_EXPOSED_ENUM_NODECL(arrow::ipc::Message::Type)
^
/opt/ibm/conda/R/lib64/R/library/Rcpp/include/Rcpp/macros/module.h:77:109: note: in definition of macro 'RCPP_EXPOSED_ENUM_WRAP'
#define RCPP_EXPOSED_ENUM_WRAP(CLASS) namespace Rcpp{ namespace traits{ template<> struct wrap_type_traits< CLASS >{typedef wrap_type_enum_tag wrap_category ; } ; }}
^
./arrow_types.h:188:1: note: in expansion of macro 'RCPP_EXPOSED_ENUM_NODECL'
RCPP_EXPOSED_ENUM_NODECL(arrow::ipc::Message::Type)
^
[0m[91m./arrow_types.h:188:26: error: 'Type' is not a member of 'arrow::ipc::Message'
RCPP_EXPOSED_ENUM_NODECL(arrow::ipc::Message::Type)
^
/opt/ibm/conda/R/lib64/R/library/Rcpp/include/Rcpp/macros/module.h:77:109: note: in definition of macro 'RCPP_EXPOSED_ENUM_WRAP'
#define RCPP_EXPOSED_ENUM_WRAP(CLASS) namespace Rcpp{ namespace traits{ template<> struct wrap_type_traits< CLASS >{typedef wrap_type_enum_tag wrap_category ; } ; }}
^
./arrow_types.h:188:1: note: in expansion of macro 'RCPP_EXPOSED_ENUM_NODECL'
RCPP_EXPOSED_ENUM_NODECL(arrow::ipc::Message::Type)
^
[0m[91m/opt/ibm/conda/R/lib64/R/library/Rcpp/include/Rcpp/macros/module.h:77:115: error: template argument 1 is invalid
#define RCPP_EXPOSED_ENUM_WRAP(CLASS) namespace Rcpp{ namespace traits{ template<> struct wrap_type_traits< CLASS >{typedef wrap_type_enum_tag wrap_category ; } ; }}
^
/opt/ibm/conda/R/lib64/R/library/Rcpp/include/Rcpp/macros/module.h:81:3: note: in expansion of macro 'RCPP_EXPOSED_ENUM_WRAP'
RCPP_EXPOSED_ENUM_WRAP(CLASS)
^
./arrow_types.h:188:1: note: in expansion of macro 'RCPP_EXPOSED_ENUM_NODECL'
RCPP_EXPOSED_ENUM_NODECL(arrow::ipc::Message::Type)
^
[0m[91mIn file included from array.cpp:18:0:
array.cpp: In function 'arrow::ArrayVector StructArray__Flatten(const std::shared_ptr<arrow::StructArray>&)':
array.cpp:139:67: error: no matching function for call to 'arrow::StructArray::Flatten(arrow::MemoryPool*, arrow::ArrayVector*)'
STOP_IF_NOT_OK(array->Flatten(arrow::default_memory_pool(), &out));
^
./arrow_types.h:41:11: note: in definition of macro 'STOP_IF_NOT'
if (!(TEST)) Rcpp::stop(MSG); \
^
array.cpp:139:3: note: in expansion of macro 'STOP_IF_NOT_OK'
STOP_IF_NOT_OK(array->Flatten(arrow::default_memory_pool(), &out));
^
[0m[91marray.cpp:139:67: note: candidate is:
STOP_IF_NOT_OK(array->Flatten(arrow::default_memory_pool(), &out));
^
./arrow_types.h:41:11: note: in definition of macro 'STOP_IF_NOT'
if (!(TEST)) Rcpp::stop(MSG); \
^
array.cpp:139:3: note: in expansion of macro 'STOP_IF_NOT_OK'
STOP_IF_NOT_OK(array->Flatten(arrow::default_memory_pool(), &out));
^
In file included from /usr/include/arrow/array.h:29:0,
from /usr/include/arrow/api.h:22,
from ./arrow_types.h:167,
from array.cpp:18:
/usr/include/arrow/array/array_nested.h:362:23: note: arrow::Result<std::vector<std::shared_ptr<arrow::Array> > > arrow::StructArray::Flatten(arrow::MemoryPool*) const
Result<ArrayVector> Flatten(MemoryPool* pool = default_memory_pool()) const;
^
/usr/include/arrow/array/array_nested.h:362:23: note: candidate expects 1 argument, 2 provided
[0m[91mIn file included from array.cpp:18:0:
array.cpp:139:67: error: no matching function for call to 'arrow::StructArray::Flatten(arrow::MemoryPool*, arrow::ArrayVector*)'
STOP_IF_NOT_OK(array->Flatten(arrow::default_memory_pool(), &out));
^
./arrow_types.h:41:29: note: in definition of macro 'STOP_IF_NOT'
if (!(TEST)) Rcpp::stop(MSG); \
^
array.cpp:139:3: note: in expansion of macro 'STOP_IF_NOT_OK'
STOP_IF_NOT_OK(array->Flatten(arrow::default_memory_pool(), &out));
^
[0m[91marray.cpp:139:67: note: candidate is:
STOP_IF_NOT_OK(array->Flatten(arrow::default_memory_pool(), &out));
^
./arrow_types.h:41:29: note: in definition of macro 'STOP_IF_NOT'
if (!(TEST)) Rcpp::stop(MSG); \
^
array.cpp:139:3: note: in expansion of macro 'STOP_IF_NOT_OK'
STOP_IF_NOT_OK(array->Flatten(arrow::default_memory_pool(), &out));
^
[0m[91mIn file included from /usr/include/arrow/array.h:29:0,
from /usr/include/arrow/api.h:22,
from ./arrow_types.h:167,
from array.cpp:18:
/usr/include/arrow/array/array_nested.h:362:23: note: arrow::Result<std::vector<std::shared_ptr<arrow::Array> > > arrow::StructArray::Flatten(arrow::MemoryPool*) const
Result<ArrayVector> Flatten(MemoryPool* pool = default_memory_pool()) const;
^
/usr/include/arrow/array/array_nested.h:362:23: note: candidate expects 1 argument, 2 provided
[0m[91mmake: *** [array.o] Error 1
[0m[91mERROR: compilation failed for package 'arrow'
[0m[91m* removing '/opt/ibm/conda/R/lib64/R/library/arrow'
[0m[91mError: Failed to install 'arrow' from GitHub:
(converted from warning) installation of package '/tmp/Rtmpycmy4e/filea4b08588a/arrow_0.14.1.tar.gz' had non-zero exit status
Execution halted
--
This message was sent by Atlassian Jira
(v8.3.4#803005)