Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94543

qmake make install with multiple jobs leads to failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.4
    • Build tools: qmake
    • None
    • Manjaro Linux
    • Linux/X11

    Description

      The makepkg in Manjaro Linux adds by default

      -j $JOBS

      (which should be probably changed in arch/manjaro)

      I have seen randomly failing builds of many packages depending of some race condition. I believe, the qmake generates install target of Makefile incorrectly.

      steps to reproduce: Take some non-trivial qmake based project and run make install many times and watch for failures:

      set -e; for i in $(seq 1 100); do make -j 20 install; echo $?; done
      

      Debug output in my project is here:
      https://github.com/nemomobile-ux/glacier-dialer/pull/7

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            xmlich02 Jozef Mlich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes