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

parallel developer build sometimes fails on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.3
    • 5.6.2
    • Build System
    • None
    • 435e7b17a35f4aa2cc2a7cb3ac935cf56ee27d62

      How to reproduce:

      • configure -developer-build ...
      • jom (with -j at least 2)

      What happens:

      	copy /y D:\dev\qt\5.6\qtquickcontrols\src\extras\designer\images\gauge-icon.png D:\dev\qt\5.6-lalala\qtbase\qml\QtQuick\Extras\designer\images
              1 file(s) copied.
      ...
      	copy /y D:\dev\qt\5.6\qtquickcontrols\src\extras\designer\images\gauge-icon.png D:\dev\qt\5.6-lalala\qtbase\qml\QtQuick\Extras\designer\images
      The process cannot access the file because it is being used by another process.
              0 file(s) copied.
      jom: D:\dev\qt\5.6-lalala\qtquickcontrols\src\extras\Makefile.Release [D:\dev\qt\5.6-lalala\qtbase\qml\QtQuick\Extras\designer\images\gauge-icon.png] Error 1
      

      qtquickcontrols\src\extras\Makefile.Debug and qtquickcontrols\src\extras\Makefile.Relase both copy the same files to the same destinations.
      This is bound to fail in parallel builds on Windows.

      This affects all QML modules due to the unconditional COPIES assignment in qt_module.prf.

      There's a fix for that in 5.7 already:
      https://codereview.qt-project.org/#/c/168018/

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

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes