The following script fails non-deterministically (most of the time) on my machine.
With `make -j1` it seems to work (though I only tried a few times). With `make -j8` it fails most of the time (though I have seen it succeed).
git clone https://github.com/apache/arrow.git
git checkout 8f386374eca26d0eebe562beac52fc75459f352c
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-g" -DCMAKE_CXX_FLAGS="-g" -DARROW_BUILD_TESTS=OFF ..
make VERBOSE=1 -j8
The output from both a successful run (arrow_build_make_j1.txt) and an unsuccessful run (arrow_build_make_j8.txt) are attached, but the error may be the following.
install: mkdir /Users/rkn/Workspace/testingarrow/arrow/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep/dist: File exists
make: *** [install_include] Error 71
make: *** Waiting for unfinished jobs....