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

cmake based shadow build fails on missing folder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.0.0 Beta4
    • Fix Version/s: 6.0.0 RC
    • Component/s: Build System: CMake
    • Labels:
    • Environment:
      Linux x64 (Suse v15.2) using cmake v3.18.4
    • Platform/s:
      Linux/X11, WebAssembly
    • Commits:
      8c585f7b0f291463934cc4ffbddd925eff709f13 (qt/qttranslations/dev)

      Description

      When shadowbuilding, compile fails with:

      [ 14%] Automatic MOC for target qtplugininfo
      [ 14%] Automatic MOC for target qtpaths
      [ 14%] Automatic MOC and UIC for target DesignerComponents
      [ 14%] Built target qtattributionsscanner
      [ 14%] Built target qtplugininfo_autogen
      [ 14%] Built target qtpaths_autogen
      Updating '/home/development/4suse15.2-x86_64/qt-6.0.0/qttranslations/translations/qm/qtconnectivity_ca.qm'...
      lrelease error: cannot create '/home/development/4suse15.2-x86_64/qt-6.0.0/qttranslations/translations/qm/qtconnectivity_ca.qm': No such file or directory
      gmake[2]: *** [qttranslations/translations/CMakeFiles/updateqm-qtconnectivity_ca.ts.dir/build.make:76: qttranslations/translations/CMakeFiles/updateqm-qtconnectivity_ca.ts] Fout 1
      gmake[1]: *** [CMakeFiles/Makefile2:39316: qttranslations/translations/CMakeFiles/updateqm-qtconnectivity_ca.ts.dir/all] Fout 2
      gmake[1]: *** Wachten op onvoltooide taken...
      Updating '/home/development/4suse15.2-x86_64/qt-6.0.0/qttranslations/translations/qm/qtwebsockets_en.qm'...
      lrelease error: cannot create '/home/development/4suse15.2-x86_64/qt-6.0.0/qttranslations/translations/qm/qtwebsockets_en.qm': No such file or directory
      gmake[2]: *** [qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts.dir/build.make:76: qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts] Fout 1
      gmake[1]: *** [CMakeFiles/Makefile2:28912: qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts.dir/all] Fout 2
      Updating '/home/development/4suse15.2-x86_64/qt-6.0.0/qttranslations/translations/qm/qtbase_ar.qm'...
      lrelease error: cannot create '/home/development/4suse15.2-x86_64/qt-6.0.0/qttranslations/translations/qm/qtbase_ar.qm': No such file or directory
      gmake[2]: *** [qttranslations/translations/CMakeFiles/updateqm-qtbase_ar.ts.dir/build.make:76: qttranslations/translations/CMakeFiles/updateqm-qtbase_ar.ts] Fout 1
      gmake[1]: *** [CMakeFiles/Makefile2:36923: qttranslations/translations/CMakeFiles/updateqm-qtbase_ar.ts.dir/all] Fout 2
      [ 16%] Built target DesignerComponents_autogen
      gmake: *** [Makefile:160: all] Fout 2

       At this point, the folder

      /home/development/4suse15.2-x86_64/qt-6.0.0/qttranslations/translations

      does exist, but the folder

      /home/development/4suse15.2-x86_64/qt-6.0.0/qttranslations/translations/qm

      is missing.

      After manually creating the qm dir, the build happily continues and finishes.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kkohne Kai Köhne
              Reporter:
              mr.gadgets Frank van Vugt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes