Closed bascheibler closed 7 months ago
Could you also show the build log of the following part?
RUN mkdir arrow/cpp/build && \
pushd arrow/cpp/build && \
cmake -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DARROW_BUILD_TESTS=OFF \
-DARROW_COMPUTE=OFF \
-DARROW_CSV=OFF \
-DARROW_DATASET=ON \
-DARROW_FILESYSTEM=ON \
-DARROW_HDFS=OFF \
-DARROW_JSON=OFF \
-DARROW_PARQUET=ON \
-DARROW_WITH_BROTLI=OFF \
-DARROW_WITH_BZ2=OFF \
-DARROW_WITH_LZ4=OFF \
-DARROW_WITH_SNAPPY=ON \
-DARROW_WITH_ZLIB=OFF \
-DARROW_WITH_ZSTD=OFF \
-DPARQUET_REQUIRE_ENCRYPTION=OFF \
.. && \
make -j4 && \
make install && \
popd
Sure, here it is: https://pastebin.com/dvTAYhy9 Given that the part you asked for generated over 1,000 lines, I've decided to share the entire log in an external link.
Please let me know if there's any additional info that I could provide to support debugging this issue.
Thanks.
-- Installing: /var/task/arrow/cpp/build/$(pwd)/dist/lib/cmake/Arrow/ArrowConfig.cmake
is the problem. $(pwd)
isn't expanded. Could you use a static path instead of $(pwd)
?
No update. Can we close this as stalled?
Sorry for the late response. Yes, please - feel free to close this issue. Thank you for pointing out the $(pwd)
typo.
Describe the bug, including details regarding any error messages, version, and platform.
I'm trying to build a slim version of PyArrow, so that it fits in an AWS Lambda function. The base Docker image is
public.ecr.aws/lambda/python:3.12
, which is an Amazon Linux 2023 OS (based on Fedora).Building from the Dockerfile below, it fails when trying to create a wheel file. The error message I've got is:
Dockerfile:
Is there another way to deploy a Lambda function containing snowflake-connector-python==3.5.0, pandas and pyarrow without exceeding the size limit?
PS: I've tried building from PR #34234 as suggested on issue #34240 , but got the same result.
Component(s)
Python