[
https://issues.apache.org/jira/browse/ARROW-13123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacob Wujciak-Jens updated ARROW-13123:
---------------------------------------
Component/s: Python
> Cannot build Pyarro on python38 docker image
> --------------------------------------------
>
> Key: ARROW-13123
> URL: https://issues.apache.org/jira/browse/ARROW-13123
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Alexandre Campino
> Priority: Major
> Attachments: Dockerfile
>
>
> Hi all,
>
> Trying to build pyarrow on a python38 docker image in order to build a
> aws-lambda layer.
> I had success on doing this couple months back with the dockerfile attached.
> (Python37) but now getting the error either I try either python version below.
> {code:java}
> FROM lambci/lambda:build-python3.7{code}
> {code:java}
> FROM lambci/lambda:build-python3.8{code}
> which leads me to think that something else has changed.
> {noformat}
> #8 6.648 Scanning dependencies of target boost_ep
> #8 6.657 [ 0%] Creating directories for 'boost_ep'
> #8 6.689 [ 1%] Performing download step (download, verify and extract) for
> 'boost_ep'
> #8 8.038 -- boost_ep download command succeeded. See also
> /arrow/cpp/build/boost_ep-prefix/src/boost_ep-stamp/boost_ep-download-*.log
> #8 8.049 [ 1%] No patch step for 'boost_ep'
> #8 8.060 [ 1%] No update step for 'boost_ep'
> #8 8.071 [ 2%] Performing configure step for 'boost_ep'
> #8 8.088 CMake Error at
> /arrow/cpp/build/boost_ep-prefix/src/boost_ep-stamp/boost_ep-configure-RELEASE.cmake:16
> (message):
> #8 8.088 Command failed: 1
> #8 8.088
> #8 8.088 './bootstrap.sh'
> '--prefix=/arrow/cpp/build/boost_ep-prefix/src/boost_ep'
> '--with-libraries=filesystem,regex,system'
> #8 8.088
> #8 8.088 See also
> #8 8.088
> #8 8.088
> /arrow/cpp/build/boost_ep-prefix/src/boost_ep-stamp/boost_ep-configure-*.log
> #8 8.088
> #8 8.088
> #8 8.089 make[2]: *** [boost_ep-prefix/src/boost_ep-stamp/boost_ep-configure]
> Error 1
> #8 8.089 make[1]: *** [CMakeFiles/boost_ep.dir/all] Error 2
> #8 8.090 make: *** [all] Error 2{noformat}
> {noformat}
> executor failed running [/bin/sh -c mkdir /arrow && 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 /arrow/dist && export LD_LIBRARY_PATH=/dist/lib:$LD_LIBRARY_PATH
> && 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_WITH_SNAPPY=on -DARROW_BUILD_TESTS=OFF .. && make
> && make install]: exit code: 2
> The terminal process "C:\WINDOWS\System32\cmd.exe /K
> C:\tools\cmder\vendor\bin\vscode_init.cmd /d /c docker build --pull --rm -f
> "Docker\pyarrow\Dockerfile" -t pyarrow37:lambci-lambda "Docker\pyarrow""
> terminated with exit code: 1.{noformat}
> Note: Dockerfile has plenty of commented out code. Output above corresponds
> to the non commented out code built attempt.
>
> Thank you
> Alex
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)