Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
I had this error message while I was trying to reproduce another issue in docker.
To reproduce:
```
FROM debian:buster
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y git build-essential cmake
WORKDIR /app
RUN git clone https://github.com/apache/arrow.git
WORKDIR /app/arrow/cpp/build
RUN git checkout 167cea0 # HEAD as of 10-Aug-19
RUN cmake -DARROW_PARQUET=ON -DARROW_DEPENDENCY_SOURCE=BUNDLED ..
RUN cmake --build . --target thrift_ep -j 8
```
Relevant part of output:
```
Scanning dependencies of target thrift_ep
[ 66%] Creating directories for 'thrift_ep'
[ 66%] Performing download step (verify and extract) for 'thrift_ep'
CMake Error at thrift_ep-stamp/verify-thrift_ep.cmake:11 (message):
File not found: /thrift/0.12.0/thrift-0.12.0.tar.gz
make[3]: *** [CMakeFiles/thrift_ep.dir/build.make:90: thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-download] Error 1
make[2]: *** [CMakeFiles/Makefile2:916: CMakeFiles/thrift_ep.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:928: CMakeFiles/thrift_ep.dir/rule] Error 2
make: *** [Makefile:487: thrift_ep] Error 2
```
Installing python fixes the problem, but this isn't directly clear from the error message. The source of issue is that execute_process in get_apache_mirrors macro silently fails and returns empty APACHE_MIRROR value since PYTHON_EXECUTABLE was empty.
Attachments
Issue Links
- links to