You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2017/03/30 00:24:41 UTC

[jira] [Commented] (ARROW-739) Parallel build fails non-deterministically.

    [ https://issues.apache.org/jira/browse/ARROW-739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15948149#comment-15948149 ] 

Wes McKinney commented on ARROW-739:
------------------------------------

That's very odd. It seems that race conditions with external projects are possible. I see:

{code}
  if (JEMALLOC_VENDORED)
    add_dependencies(jemalloc_shared jemalloc_ep)
    add_dependencies(jemalloc_static jemalloc_ep)
  endif()
{code}

What happens if you remove the dependency for jemalloc_static? 

> Parallel build fails non-deterministically.
> -------------------------------------------
>
>                 Key: ARROW-739
>                 URL: https://issues.apache.org/jira/browse/ARROW-739
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>         Environment: OS X 10.12.1
>            Reporter: Robert Nishihara
>         Attachments: arrow_build_make_j1.txt, arrow_build_make_j8.txt
>
>
> 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).
> {code:none}
> git clone https://github.com/apache/arrow.git
> cd arrow/cpp
> git checkout 8f386374eca26d0eebe562beac52fc75459f352c
> mkdir release
> cd release
> cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-g" -DCMAKE_CXX_FLAGS="-g" -DARROW_BUILD_TESTS=OFF ..
> make VERBOSE=1 -j8
> cd ../../..
> {code}
> 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.
> {code:none}
> install: mkdir /Users/rkn/Workspace/testingarrow/arrow/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep/dist: File exists
> make[3]: *** [install_include] Error 71
> make[3]: *** Waiting for unfinished jobs....
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)