Uploaded image for project: 'Qt License server'
  1. Qt License server
  2. QLS-1847

moc --collect-json fails randomly with Boot to Qt 6.8.3 on arm Linux

XMLWordPrintable

    • d5d9bdad3 (dev), 16c2e5c46 (3.4)
    • License server development 48

      When trying to build 'wearable' with:

       /home/qt/RTA/B2Qt_6.8.3/6.8.3/Boot2Qt/apalis-imx6/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/qt-cmake
       -GNinja CMakeLists.txt -B build
      cmake --build build --parallel
      cmake --install build --prefix /home/qt/RTA/usr --config Debug

      if fails in the linking phase with segmentation fault:

      [90/107] Linking CXX shared module WearableSettings/libwearablesettings.so
      [91/107] Running moc --collect-json for target wearablestyle
      FAILED: WearableStyle/meta_types/qt6wearablestyle_metatypes.json.gen WearableStyle/meta_types/qt6wearablestyle_metatypes.json /home/qt/RTA/B2Qt_6.8.3/Examples/Qt-6.8.3/quickcontrols/wearable/build/WearableStyle/meta_types/qt6wearablestyle_metatypes.json.gen /home/qt/RTA/B2Qt_6.8.3/Examples/Qt-6.8.3/quickcontrols/wearable/build/WearableStyle/meta_types/qt6wearablestyle_metatypes.jsonĀ 
      cd /home/qt/RTA/B2Qt_6.8.3/Examples/Qt-6.8.3/quickcontrols/wearable/build/WearableStyle && /home/qt/RTA/B2Qt_6.8.3/6.8.3/Boot2Qt/apalis-imx6/toolchain/sysroots/aarch64-pokysdk-linux/usr/libexec/moc -o /home/qt/RTA/B2Qt_6.8.3/Examples/Qt-6.8.3/quickcontrols/wearable/build/WearableStyle/meta_types/qt6wearablestyle_metatypes.json.gen --collect-json @/home/qt/RTA/B2Qt_6.8.3/Examples/Qt-6.8.3/quickcontrols/wearable/build/WearableStyle/meta_types/wearablestyle_json_file_list.txt && /home/qt/RTA/B2Qt_6.8.3/6.8.3/Boot2Qt/apalis-imx6/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/cmake -E copy_if_different /home/qt/RTA/B2Qt_6.8.3/Examples/Qt-6.8.3/quickcontrols/wearable/build/WearableStyle/meta_types/qt6wearablestyle_metatypes.json.gen /home/qt/RTA/B2Qt_6.8.3/Examples/Qt-6.8.3/quickcontrols/wearable/build/WearableStyle/meta_types/qt6wearablestyle_metatypes.json
      Segmentation fault
      ninja: build stopped: subcommand failed. 

        For Gerrit Dashboard: QLS-1847
        # Subject Branch Project Status CR V

            arttu.tarkiainen Arttu Tarkiainen
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes