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

NativeSDK build with MultiLib failed on yocto

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.3, 6.9
    • Yocto: meta-qt6 layer
    • None
    • Linux/Yocto

    Description

      git clone git://code.qt.io/yocto/meta-qt6.git
      git clone git://git.yoctoproject.org/poky -b master 
      git clone git://git.openembedded.org/meta-openembedded -b master 
      cd poky 
      source ./oe-init-build-env 
      bitbake-layers add-layer ../../meta-openembedded/meta-oe 
      bitbake-layers add-layer ../../meta-openembedded/meta-python 
      bitbake-layers add-layer ../../meta-openembedded/meta-multimedia 
      bitbake-layers add-layer ../../meta-qt6

      modify conf/local.conf add 32bit and 64bit qtbase into image

      MACHINE ??= "qemux86-64"
      require conf/multilib.conf
      MULTILIBS = "multilib:lib32"
      DEFAULTTUNE:virtclass-multilib-lib32 = "i586"
      IMAGE_INSTALL:append = " lib32-qtbase qtbase"
      DISTRO ?= "poky"
      EXTRA_IMAGE_FEATURES ?= "allow-empty-password empty-root-password allow-root-login"
      USER_CLASSES ?= "buildstats"
      PATCHRESOLVE = "noop"
      BB_DISKMON_DIRS ??= "\
          STOPTASKS,${TMPDIR},1G,100K \
          STOPTASKS,${DL_DIR},1G,100K \
          STOPTASKS,${SSTATE_DIR},1G,100K \
          STOPTASKS,/tmp,100M,100K \
          HALT,${TMPDIR},100M,1K \
          HALT,${DL_DIR},100M,1K \
          HALT,${SSTATE_DIR},100M,1K \
          HALT,/tmp,10M,1K"
      PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
      CONF_VERSION = "2"

       build nativesdk

      bitbake core-image-minimal -c populate_sdk

      the errors occur when populate sdk:

      Error: Transaction test error:
      
        file /usr/share/modules/Concurrent.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/Core.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/DBus.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/DeviceDiscoverySupportPrivate.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/ExampleIconsPrivate.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/ExamplesAssetDownloaderPrivate.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/FbSupportPrivate.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/Gui.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/InputSupportPrivate.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/Network.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/OpenGL.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/OpenGLWidgets.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/PrintSupport.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/Sql.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/Test.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/Widgets.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/XcbQpaPrivate.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
        file /usr/share/modules/Xml.json conflicts between attempted installs of lib32-qtbase-dev-6.9.0-r0.i586 and qtbase-dev-6.9.0-r0.core2_64
      ERROR: Logfile of failure stored in: /poky/build_qt1/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/temp/log.do_populate_sdk.710073
      ERROR: Task (/poky/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk) failed with exit code '1'

      Attachments

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

        Activity

          People

            sapiippo Samuli Piippo
            pengzh Peng Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes