-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Description
Following the approaches outlined under C++ Development and this gist.
Dockerfile to reproduce approach and error:
FROM python:3.7-alpine
# Configure environment
RUN apk add autoconf \
bash \
bison \
boost-dev \
cmake \
cython \
flex \
g++ \
gcc \
make
RUN pip3 install --no-cache-dir \
six \
cython \
numpy
ARG ARROW_VERSION=0.15.1
ARG ARROW_BUILD_TYPE=release
ENV ARROW_HOME=/usr/local
RUN mkdir /arrow \
&& apk add --no-cache curl \
&& curl -o /tmp/apache-arrow.tar.gz -SL https://github.com/apache/arrow/archive/apache-arrow-${ARROW_VERSION}.tar.gz \
&& tar -xvf /tmp/apache-arrow.tar.gz -C /arrow --strip-components 1 \
&& mkdir -p /arrow/cpp/build \
&& cd /arrow/cpp/build \
&& cmake -DCMAKE_BUILD_TYPE=$ARROW_BUILD_TYPE \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
-DARROW_PARQUET=on \
-DARROW_PYTHON=on \
-DARROW_PLASMA=on \
-DARROW_BUILD_TESTS=OFF \
.. \
&& makeOutput:
...
Scanning dependencies of target flatbuffers_ep
[ 24%] Creating directories for 'flatbuffers_ep'
[ 24%] Performing download step (download, verify and extract) for 'flatbuffers_ep'
-- flatbuffers_ep download command succeeded. See also /arrow/cpp/build/flatbuffers_ep-prefix/src/flatbuffers_ep-stamp/flatbuffers_ep-download-*.log
[ 25%] No patch step for 'flatbuffers_ep'
[ 25%] No update step for 'flatbuffers_ep'
[ 25%] Performing configure step for 'flatbuffers_ep'
-- flatbuffers_ep configure command succeeded. See also /arrow/cpp/build/flatbuffers_ep-prefix/src/flatbuffers_ep-stamp/flatbuffers_ep-configure-*.log
[ 25%] Performing build step for 'flatbuffers_ep'
CMake Error at /arrow/cpp/build/flatbuffers_ep-prefix/src/flatbuffers_ep-stamp/flatbuffers_ep-build-RELEASE.cmake:49 (message):
Command failed: 2
'make'
See also
/arrow/cpp/build/flatbuffers_ep-prefix/src/flatbuffers_ep-stamp/flatbuffers_ep-build-*.log
make[2]: *** [CMakeFiles/flatbuffers_ep.dir/build.make:113: flatbuffers_ep-prefix/src/flatbuffers_ep-stamp/flatbuffers_ep-build] Error 1
make[1]: *** [CMakeFiles/Makefile2:772: CMakeFiles/flatbuffers_ep.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Any pointers / help appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels