[ 
https://issues.apache.org/jira/browse/ARROW-16016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kouhei Sutou resolved ARROW-16016.
----------------------------------
    Fix Version/s: 8.0.0
       Resolution: Fixed

Issue resolved by pull request 12703
[https://github.com/apache/arrow/pull/12703]

> [C++] Recursive ccache invocation error
> ---------------------------------------
>
>                 Key: ARROW-16016
>                 URL: https://issues.apache.org/jira/browse/ARROW-16016
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 8.0.0
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> When you try to enable ccache globally by setting the 
> {{CMAKE_CXX_COMPILER_LAUNCHER}} environment variable to {{ccache}}, compiling 
> Arrow can fail with the following errors:
> {code}
> [1/430] Building CXX object 
> src/arrow/CMakeFiles/arrow_objlib.dir/array/array_base.cc.o
> FAILED: src/arrow/CMakeFiles/arrow_objlib.dir/array/array_base.cc.o 
> /usr/bin/ccache ccache /usr/bin/clang++-10 -DARROW_EXPORTING 
> -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 
> -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 
> -DARROW_HDFS -DARROW_JEMALLOC -DARROW_JEMALLOC_INCLUDE_DIR="" 
> -DARROW_MIMALLOC -DARROW_WITH_BACKTRACE -DARROW_WITH_BENCHMARKS_REFERENCE 
> -DARROW_WITH_BROTLI -DARROW_WITH_BZ2 -DARROW_WITH_LZ4 -DARROW_WITH_RE2 
> -DARROW_WITH_SNAPPY -DARROW_WITH_TIMING_TESTS -DARROW_WITH_UTF8PROC 
> -DARROW_WITH_ZLIB -DARROW_WITH_ZSTD -DURI_STATIC_BUILD 
> -I/home/antoine/arrow/dev/cpp/build-release/src 
> -I/home/antoine/arrow/dev/cpp/src -I/home/antoine/arrow/dev/cpp/src/generated 
> -isystem /home/antoine/arrow/dev/cpp/thirdparty/flatbuffers/include -isystem 
> /home/antoine/miniconda3/envs/pyarrow/include -isystem 
> /home/antoine/arrow/dev/cpp/build-release/jemalloc_ep-prefix/src -isystem 
> /home/antoine/arrow/dev/cpp/build-release/mimalloc_ep/src/mimalloc_ep/include/mimalloc-1.7
>  -isystem 
> /home/antoine/arrow/dev/cpp/build-release/xsimd_ep/src/xsimd_ep-install/include
>  -isystem /home/antoine/arrow/dev/cpp/thirdparty/hadoop/include 
> -Qunused-arguments -fcolor-diagnostics  -Wall -Wextra -Wdocumentation 
> -Wno-missing-braces -Wno-unused-parameter -Wno-constant-logical-operand 
> -Wno-unknown-warning-option -Wno-pass-failed -msse4.2  -O2 -g -DNDEBUG -fPIC 
> -std=c++11 -MD -MT 
> src/arrow/CMakeFiles/arrow_objlib.dir/array/array_base.cc.o -MF 
> src/arrow/CMakeFiles/arrow_objlib.dir/array/array_base.cc.o.d -o 
> src/arrow/CMakeFiles/arrow_objlib.dir/array/array_base.cc.o -c 
> /home/antoine/arrow/dev/cpp/src/arrow/array/array_base.cc
> ccache: error: Recursive invocation (the name of the ccache binary must be 
> "ccache")
> {code}
> I'm not sure what triggers this exactly because I get the issue with a 
> certain build configuration and not another.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to