Nikhil created MADLIB-1271:
------------------------------

             Summary: make `make -jx` fails if run only once
                 Key: MADLIB-1271
                 URL: https://issues.apache.org/jira/browse/MADLIB-1271
             Project: Apache MADlib
          Issue Type: Bug
          Components: Build System
            Reporter: Nikhil
             Fix For: v2.0


Repro
cd ~/workspace/madlib/
mkdir build
cd build
cmake ..
make -j8

failure
{code}
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 86%] No update step for 'EP_boost'
[ 86%] No patch step for 'EP_boost'
[ 86%] Performing configure step for 
'EP_boost'
Ignored: cmake -GUnix Makefiles 
/Users/pivotal/workspace/madlib/build-gpdb-clang-madlib-clang-debug/third_party/src/EP_boost
[ 86%] Performing build step for 'EP_boost'
Ignored: make
[ 86%] Performing install step for 'EP_boost'
Ignored: make
[ 86%] Completed 'EP_boost'
[ 86%] Built target EP_boost
make: *** [all] Error 2
{code}

However if you run `make -j8` again, it works. We should fix it so that we 
don't need to run it again.

Another side effect of this issue is that if MAKEFLAGS is set to a value > 1, 
`pgxn install madlib` fails with the same error as above.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to