thisisnic commented on issue #34094:
URL: https://github.com/apache/arrow/issues/34094#issuecomment-1424082592

   I've been able to replicate the CRAN failure locally by using this 
Dockerfile, in which I install Boost (version 1.74 is the default), so it 
should be possible to test a fix by rerunning this, with `-DBoost_SOURCE=AUTO`:
   
   ```
   FROM rhub/clang16:latest
   
   RUN apt-get update && apt-get install -y cmake git libssl-dev libboost-dev
   
   # Checkout the Arrow + switch to a branch
   RUN git clone https://github.com/thisisnic/arrow.git /arrow && \
     cd /arrow && \
     git switch r-11.0.0.1
   
   RUN git config --global user.email "y...@example.com" && \
     git config --global user.name "Your Name"
   
   RUN mkdir /arrow-build && \
     cd /arrow-build && \
     cmake /arrow/cpp \
     -DCMAKE_C_COMPILER="clang-16"  -DCMAKE_CXX_COMPILER="clang++-16" \
     -DCMAKE_CXX_FLAGS="-stdlib=libc++" \
     -DARROW_CSV=ON -DARROW_DATASET=ON -DARROW_FILESYSTEM=ON \
     -DARROW_COMPUTE=ON -DARROW_PARQUET=ON -DBoost_SOURCE=SYSTEM
   
   # Pass even if the build fails so that we can copy error logs from 
/arrow-build
   ENV VERBOSE 1
   RUN cd /arrow-build && cmake --build . > /build_log.txt || true
   RUN cp 
/arrow-build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-build-*.log / || 
true
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to