-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
I'm trying to install the R bindings for Apache Arrow and it's been erroring out for me for the last 3-5 days with the following trace (I'm building in a Debian Stretch Docker, with Arrow already built and make installd:
g++ -std=gnu++11 -I"/opt/R/lib/R/include" -DNDEBUG -DNDEBUG -I/usr/local/include -I"/opt/R/lib/R/library/Rcpp/include" -w -g -O3 -m64 -fno-gnu-unique -I/opt/intel/compilers_and_libraries/linux/mkl/include -I/usr/include -mavx -msse3 -msse4.1 -msse4.2 -msse2 -mfpmath=sse -fvisibility=hidden -fPIC -w -g -O3 -m64 -fno-gnu-unique -I/opt/intel/compilers_and_libraries/linux/mkl/include -I/usr/include -mavx -msse3 -msse4.1 -msse4.2 -msse2 -mfpmath=sse -c message.cpp -o message.o
message.cpp: In function ‘std::shared_ptr<arrow::RecordBatch> ipc___ReadRecordBatch__Message__Schema(const std::unique_ptr<arrow::ipc::Message>&, const std::shared_ptr<arrow::Schema>&)’:
message.cpp:61:3: error: ‘R_ERROR_NOT_OK’ was not declared in this scope
R_ERROR_NOT_OK(arrow::ipc::ReadRecordBatch(*message, schema, &batch));
^~~~~~~~~~~~~~
message.cpp:61:3: note: suggested alternative: ‘RETURN_NOT_OK’
R_ERROR_NOT_OK(arrow::ipc::ReadRecordBatch(*message, schema, &batch));
^~~~~~~~~~~~~~
RETURN_NOT_OK
message.cpp: In function ‘std::shared_ptr<arrow::Schema> ipc___ReadSchema_InputStream(const std::shared_ptr<arrow::io::InputStream>&)’:
message.cpp:69:3: error: ‘R_ERROR_NOT_OK’ was not declared in this scope
R_ERROR_NOT_OK(arrow::ipc::ReadSchema(stream.get(), &schema));
^~~~~~~~~~~~~~
message.cpp:69:3: note: suggested alternative: ‘RETURN_NOT_OK’
R_ERROR_NOT_OK(arrow::ipc::ReadSchema(stream.get(), &schema));
^~~~~~~~~~~~~~
RETURN_NOT_OK
message.cpp: In function ‘std::unique_ptr<arrow::ipc::Message> ipc___MessageReader__ReadNextMessage(const std::unique_ptr<arrow::ipc::MessageReader>&)’:
message.cpp:85:3: error: ‘R_ERROR_NOT_OK’ was not declared in this scope
R_ERROR_NOT_OK(reader->ReadNextMessage(&message));
^~~~~~~~~~~~~~
message.cpp:85:3: note: suggested alternative: ‘RETURN_NOT_OK’
R_ERROR_NOT_OK(reader->ReadNextMessage(&message));
^~~~~~~~~~~~~~
RETURN_NOT_OK
message.cpp: In function ‘std::unique_ptr<arrow::ipc::Message> ipc___ReadMessage(const std::shared_ptr<arrow::io::InputStream>&)’:
message.cpp:93:3: error: ‘R_ERROR_NOT_OK’ was not declared in this scope
R_ERROR_NOT_OK(arrow::ipc::ReadMessage(stream.get(), &message));
^~~~~~~~~~~~~~
message.cpp:93:3: note: suggested alternative: ‘RETURN_NOT_OK’
R_ERROR_NOT_OK(arrow::ipc::ReadMessage(stream.get(), &message));
^~~~~~~~~~~~~~
RETURN_NOT_OK
/opt/R/lib/R/etc/Makeconf:168: recipe for target 'message.o' failed
make: *** [message.o] Error 1
ERROR: compilation failed for package ‘arrow’
* removing ‘/opt/R/lib/R/library/arrow’Metadata
Metadata
Assignees
Labels
No labels