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

[yocto] wrong template symlink for imx builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • None
    • 6.9
    • Device Creation
    • None
    • Linux/Yocto
    • ddf82ead3 (dev), e1f672cb3 (scarthgap), 8779387a0 (kirkstone), fc69b6b7a (master)

    Description

      there's a small glitch when building imx images for boot2qt, as described in https://doc.qt.io/Boot2Qt/b2qt-how-to-create-b2qt-image.html

      ➜  boot2qt-imx . ./setup-environment.sh                      
      You had no conf/local.conf file. This configuration file has therefore been
      created for you from /home/tim/dev/boot2qt-imx/sources/meta-boot2qt/meta-boot2qt-distro/conf/templates/default/local.conf.sample
      [snip]
      ➜  build-apalis-imx8 bitbake qtmultimedia                          
      WARNING: Host distribution "ubuntu-24.10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
      ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
          Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
          Following is the list of potential problems / advisories:
      
          MACHINE=apalis-imx8 is invalid. Please set a valid MACHINE in your local.conf, environment or other configuration file.
      

      reason is that the wrong template dir is used. if i change the symlink in sources/templates from meta-boot2qt/meta-boot2qt-distro/conf/templates/default to meta-boot2qt-toradex/conf/templates/default, the built configures correctly.

      not sure if it's a documentation issue or if setup-environment.sh can be improved

      Attachments

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

        Activity

          People

            sapiippo Samuli Piippo
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes