Skip to content

R Build Failing #2929

@sadatnfs

Description

@sadatnfs

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 functionstd::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_OKwas 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 functionstd::shared_ptr<arrow::Schema> ipc___ReadSchema_InputStream(const std::shared_ptr<arrow::io::InputStream>&)’:
message.cpp:69:3: error:R_ERROR_NOT_OKwas 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 functionstd::unique_ptr<arrow::ipc::Message> ipc___MessageReader__ReadNextMessage(const std::unique_ptr<arrow::ipc::MessageReader>&)’:
message.cpp:85:3: error:R_ERROR_NOT_OKwas 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 functionstd::unique_ptr<arrow::ipc::Message> ipc___ReadMessage(const std::shared_ptr<arrow::io::InputStream>&)’:
message.cpp:93:3: error:R_ERROR_NOT_OKwas 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 packagearrow* removing/opt/R/lib/R/library/arrow

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions