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

No data signature found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.7.0 FF
    • 5.9.5, 5.12.1
    • Build tools: rcc
    • None
    • Linux x64
    • Linux/Wayland, Linux/X11, Linux/Other display system
    • fe5d9340b (dev)

    Description

      One Customer in China built Qt embedded linux image with Yocto, but he failed when building their Qt application or Qt 3D. Here are the logs:

      [customer's application building log]

      02:03:19 | No data signature found
      02:03:19 | Makefile:629: recipe for target 'qrc_images.o' failed
      02:03:19 | make: *** [qrc_images.o] Error 1
      02:03:19 | make: *** Waiting for unfinished jobs....

      [customer's application building log]

      /qt5/QtNetwork I../recipe-sysroot/usr/include/qt5/QtCore -I. -I../recipe
      sysroot/usr/lib/qt5/mkspecs/linux-oe-g++ -o ktxprovider.o
      ../git/ktxprovider.cpp

      /home/jenkins/workspace/beta2-ecockpit-m85-releasebuild-cluster/build-
      wayland/tmp/work/aarch64-poky-linux/cluster-hmi-base/AUTOINC+157ae0ff17-r0
      /recipe-sysroot-native/usr/bin/qt5/rcc -name hybridqml ../git/hybridqml.qrc
      -pass 2 -temp ./qrc_hybridqml.tmp.o -o qrc_hybridqml.o
      /home/jenkins/workspace/beta2-ecockpit-m85-releasebuild-cluster/build-
      wayland/tmp/work/aarch64-poky-linux/cluster-hmi-base/AUTOINC+157ae0ff17-r0
      /recipe-sysroot-native/usr/bin/qt5/rcc -name qtcluster ../git/qtcluster.qrc
      -pass 2 -temp ./qrc_qtcluster.tmp.o -o qrc_qtcluster.o
      No data signature found
      Makefile:479: recipe for target 'qrc_hybridqml.o' failed
      make: *** [qrc_hybridqml.o] Error 1
      make: *** Waiting for unfinished jobs...

      [Qt3D building log]

      make[3]: Leaving directory '/home/jenkins/workspace/p9-4.14-beta-ecockpit-
      nubis-cluster/build-wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/build/examples/qt3d/simple-qml'
      make[3]: Leaving directory '/home/jenkins/workspace/p9-4.14-beta-ecockpit-
      nubis-cluster/build-wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/build/examples/qt3d/controls'
      cd anaglyph-rendering/ && ( test -e Makefile

      /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0
      /recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile
      /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/git/examples/qt3d/anaglyph-rendering
      /anaglyph-rendering.pro ) && make -f Makefile

      cd planets-qml/ && ( test -e Makefile

      /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0
      /recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile
      /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/git/examples/qt3d/planets-qml
      /planets-qml.pro ) && make -f Makefile

      make[3]: Leaving directory '/home/jenkins/workspace/p9-4.14-beta-ecockpit-
      nubis-cluster/build-wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/build/examples/qt3d/scene3d'
      generating .moc/moc_predefs.h
      moc /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/git/examples/qt3d/simple-
      cpp/orbittransformcontroller.h
      compiling .moc/moc_orbittransformcontroller.cpp
      make[3]: Leaving directory '/home/jenkins/workspace/p9-4.14-beta-ecockpit-
      nubis-cluster/build-wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/build/examples/qt3d/wave'
      cd instanced-arrays-qml/ && ( test -e Makefile

      /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0
      /recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile
      /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/git/examples/qt3d/instanced-arrays-
      qml/instanced-arrays-qml.pro ) && make -f Makefile

      make[3]: Entering directory '/home/jenkins/workspace/p9-4.14-beta-ecockpit-
      nubis-cluster/build-wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/build/examples/qt3d/planets-qml'
      rcc /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/git/examples/qt3d/planets-qml
      /planets-qml.qrc
      make[3]: Entering directory '/home/jenkins/workspace/p9-4.14-beta-ecockpit-
      nubis-cluster/build-wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/build/examples/qt3d/anaglyph-
      rendering'
      rcc /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/git/examples/qt3d/anaglyph-
      rendering/resources.qrc
      make[3]: Leaving directory '/home/jenkins/workspace/p9-4.14-beta-ecockpit-
      nubis-cluster/build-wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/build/examples/qt3d/multiviewport'
      rcc /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/git/examples/qt3d/planets-qml
      /planets-qml-images.qrc
      rcc /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/git/ex
      amples/qt3d/exampleresources/cubemaps.qrc
      make[3]: Entering directory '/home/jenkins/workspace/p9-4.14-beta-ecockpit-
      nubis-cluster/build-wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/build/examples/qt3d/instanced-
      arrays-qml'
      rcc /home/jenkins/workspace/p9-4.14-beta-ecockpit-nubis-cluster/build-
      wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/git/examples/qt3d/instanced-arrays-
      qml/instanced-arrays-qml.qrc
      No data signature found
      Makefile:457: recipe for target '.rcc/qrc_instanced-arrays-qml.o' failed
      make[3]: *** [.rcc/qrc_instanced-arrays-qml.o] Error 1
      make[3]: Leaving directory '/home/jenkins/workspace/p9-4.14-beta-ecockpit-
      nubis-cluster/build-wayland/tmp/work/aarch64-poky-
      linux/qt3d/5.9.5+gitAUTOINC+2970ef3dac-r0/build/examples/qt3d/instanced-
      arrays-qml'
      Makefile:314: recipe for target 'sub-instanced-arrays-qml-make_first' failed
      make[2]: *** [sub-instanced-arrays-qml-make_first] Error 2
      make[2]: *** Waiting for unfinished jobs....

       

      After a period of investigation, they found there's some charator string liking"QQRC_DATA" in the temporary file(e.g. .rcc/qrc_controls.tmp.o) generated by RCC or other build tools, so that RCC return false when checking data signature("QRC_DATA").

      Attachments

        1. qrc_controls.tmp.o
          43 kB
        2. controls.tar.gz
          42 kB
        3. QTBUG-73834.diff
          0.9 kB
        4. BigResourcesFailOptim.zip
          14.05 MB

        Issue Links

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

          Activity

            People

              hjk hjk
              mawang Mark Wang
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes