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

FTBFS qtdeclarative: Cannot create /Users/tjmaciei/obj/qt/qt5/qtbase/qml/QtQml/WorkerScript.2/plugins.qmltypes for output

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.15.0
    • 5.15.0 Beta4
    • Build System, QML: Tooling
    • None
    • 829da623961b9d4e8c3a2236cb9580dec97c2483 (qt/qtdeclarative/5.15.0)

    Description

      WARNING: Failure to find: qtqmlworkerscript_debug_metatypes.json
      WARNING: Failure to find: /Users/tjmaciei/obj/qt/qt5/qtdeclarative/src/qmlworkerscript/plugins.qmltypes
      WARNING: Failure to find: /Users/tjmaciei/obj/qt/qt5/qtdeclarative/src/qmlworkerscript/qtqmlworkerscript_debug_metatypes.json
      WARNING: Failure to find: qtqmlworkerscript_metatypes.json
      WARNING: Failure to find: /Users/tjmaciei/obj/qt/qt5/qtdeclarative/src/qmlworkerscript/plugins.qmltypes
      WARNING: Failure to find: /Users/tjmaciei/obj/qt/qt5/qtdeclarative/src/qmlworkerscript/qtqmlworkerscript_metatypes.json
      Cannot open foreign types file /Users/tjmaciei/obj/qt/qt5/qtbase/lib/metatypes/qtnetwork_metatypes.json
      Cannot open foreign types file /Users/tjmaciei/obj/qt/qt5/qtbase/lib/metatypes/qtnetwork_metatypes.json
      Error copying /Users/tjmaciei/obj/qt/qt5/qtdeclarative/src/qmlworkerscript/plugins.qmltypes to /Users/tjmaciei/obj/qt/qt5/qtbase/qml/QtQml/WorkerScript.2/plugins.qmltypes: Cannot create /Users/tjmaciei/obj/qt/qt5/qtbase/qml/QtQml/WorkerScript.2/plugins.qmltypes for output
      make[4]: *** [/Users/tjmaciei/obj/qt/qt5/qtbase/qml/QtQml/WorkerScript.2/plugins.qmltypes] Error 3
      make[4]: Target `all' not remade because of errors.
      make[3]: *** [release-all] Error 2
      make[3]: Target `first' not remade because of errors.
      make[2]: *** [sub-qmlworkerscript-make_first-ordered] Error 2
      make[2]: Target `first' not remade because of errors.
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Target `first' not remade because of errors.
      make: *** [module-qtdeclarative-make_first] Error 2
      make: Target `first' not remade because of errors.
      

      Rerunning with without -s:

      $ rm /Users/tjmaciei/obj/qt/qt5/qtbase/qml/QtQml/WorkerScript.2/plugins.qmltypes
      $ gmake
      /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Debug all
      /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Release all
      /Users/tjmaciei/obj/qt/qt5/qtbase/bin/qmake -install qinstall /Users/tjmaciei/obj/qt/qt5/qtdeclarative/src/qmlworkerscript/plugins.qmltypes /Users/tjmaciei/obj/qt/qt5/qtbase/qml/QtQml/WorkerScript.2/plugins.qmltypes
      /Users/tjmaciei/obj/qt/qt5/qtbase/bin/qmake -install qinstall /Users/tjmaciei/obj/qt/qt5/qtdeclarative/src/qmlworkerscript/plugins.qmltypes /Users/tjmaciei/obj/qt/qt5/qtbase/qml/QtQml/WorkerScript.2/plugins.qmltypes
      Error copying /Users/tjmaciei/obj/qt/qt5/qtdeclarative/src/qmlworkerscript/plugins.qmltypes to /Users/tjmaciei/obj/qt/qt5/qtbase/qml/QtQml/WorkerScript.2/plugins.qmltypes: Cannot create /Users/tjmaciei/obj/qt/qt5/qtbase/qml/QtQml/WorkerScript.2/plugins.qmltypes for output
      make[1]: *** [/Users/tjmaciei/obj/qt/qt5/qtbase/qml/QtQml/WorkerScript.2/plugins.qmltypes] Error 3
      make: *** [debug-all] Error 2
      

      It's a race condition, since both qmake are trying to write to the same file at the same time. Why they fail is beyond me.

      Attachments

        For Gerrit Dashboard: QTBUG-84019
        # Subject Branch Project Status CR V

        Activity

          People

            kkohne Kai Köhne
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes