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

standalone_examples: CI build fails when calling lrelease on Linux QEMU armv7

    XMLWordPrintable

Details

    • Linux/X11

    Description

      https://codereview.qt-project.org/c/qt/qtdoc/+/640579 currently fails to integrate due to a persistent problem on Linux QEMU (gcc-armv7) on Linux Ubuntu_22_04 (gcc-x86_64) :

      agent:2025/05/12 07:05:16 build.go:412: cd /home/qt/work/qt/qtdoc_standalone_examples/examples/demos/documentviewer/plugins/imageviewer && /opt/cmake-3.30.5/bin/cmake -E make_directory /home/qt/work/qt/qtdoc_standalone_examples/examples/demos/documentviewer/plugins/imageviewer && /home/qt/work/install/target/bin/lrelease /home/qt/work/qt/qtdoc/examples/demos/documentviewer/plugins/imageviewer/imgviewer_de.ts -qm /home/qt/work/qt/qtdoc_standalone_examples/examples/demos/documentviewer/plugins/imageviewer/imgviewer_de.qm
      agent:2025/05/12 07:05:16 build.go:412: /lib/ld-linux-armhf.so.3: No such file or directory
      

      This is caused by lrelease not finding above tool, and can be locally fixed by setting QEMU_LD_PREFIX

      export QEMU_LD_PREFIX=/opt/b2qt/3.2/sysroots/armv7vet2hf-neon-poky-linux-gnueabi
      

      Where in the CI infrastructure should one set this though?

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes