Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-1271

make `make -jx` fails if run only once

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • v3.0.0
    • Build System
    • None

    Description

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

      failure

      -- 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
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nkak Nikhil Kak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: