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

qmake make install with multiple jobs leads to failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.4
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      Manjaro Linux
    • Platform/s:
      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

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            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