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

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

    XMLWordPrintable

Details

    Description

      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. 

      Attachments

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

        Activity

          People

            sapiippo Samuli Piippo
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes