Error: The postinstall intercept hook 'update_gtk_icon_cache' failed - On running bitbake for creating Boot to Qt Image
Unsolved
Mobile and Embedded
-
Hello.
I am trying to build a Boot to Qt Image for my Raspberry Pi 3B+. I am following this guide: https://doc.qt.io/QtForDeviceCreation/b2qt-customization-requirements.html
When I run
$ bitbake b2qt-embedded-qt6-image
I get the following output:dellpc@latitude:~/b2qt_yocto/build-raspberrypi3$ bitbake b2qt-embedded-qt6-image Loading cache: 100% |##################################################################################################################| Time: 0:00:00 Loaded 3417 entries from dependency cache. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi3" DISTRO = "b2qt" DISTRO_VERSION = "3.1.6" TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard" TARGET_FPU = "hard" SDKMACHINE = "x86_64" meta meta-poky = "HEAD:a13bda44fcda4e79e9aed39ca1495eabecb6a7b7" meta-raspberrypi = "HEAD:77190af02d48adc2b28216775e6318e9eeda571c" meta-oe meta-python meta-networking meta-initramfs meta-multimedia = "HEAD:346681e7bf9c78008a845fc89031be4fd4ceb3a1" meta-boot2qt meta-boot2qt-distro = "HEAD:1441661a1aa48cfabd9e26b4cd446236c09eb26d" meta-mingw = "HEAD:524de686205b5d6736661d4532f5f98fee8589b7" meta-qt6 = "HEAD:e11ec7f68dd69fe412fbef8ae108427b581e2b13" Initialising tasks: 100% |#############################################################################################################| Time: 0:00:08 Sstate summary: Wanted 300 Found 298 Missed 2 Current 2198 (99% match, 99% complete) NOTE: Executing Tasks ERROR: b2qt-embedded-qt6-image-1.0-r0 do_rootfs: The postinstall intercept hook 'update_gtk_icon_cache' failed, details in /home/dellpc/b2qt_yocto/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/b2qt-embedded-qt6-image/1.0-r0/temp/log.do_rootfs ERROR: Logfile of failure stored in: /home/dellpc/b2qt_yocto/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/b2qt-embedded-qt6-image/1.0-r0/temp/log.do_rootfs.4182 ERROR: Task (/home/dellpc/b2qt_yocto/sources/meta-boot2qt/meta-boot2qt-distro/recipes-qt/images/b2qt-embedded-qt6-image.bb:do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 7026 tasks of which 7025 didn't need to be rerun and 1 failed.
I am very new to Qt, Boot2Qt as well as Yocto. I have only a very basic understanding of it.
I would really appreciate it, If someone could help me out here by pointing me in the right direction to solve this issue.
Also, I was wondering whether the MACHINE values for Raspberry Pi 3B and 3B+ are the same. I looked it up and it seems like there are differences in hardware between the two models. Shouldn't the target image be different for both?
Thanks.