Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13123

[Python][Docker] Cannot build Pyarro on python38 docker image

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Python
    • None

    Description

      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.

      FROM lambci/lambda:build-python3.7
      FROM lambci/lambda:build-python3.8

      which leads me to think that something else has changed. 

      #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
      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.

      Note: Dockerfile has plenty of commented out code. Output above corresponds to the non commented out code built attempt. 

       

      Thank you

      Alex

       

      Attachments

        1. Dockerfile
          4 kB
          Alexandre Campino

        Activity

          People

            Unassigned Unassigned
            alexandrec Alexandre Campino
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: