I am building custom linux image by following developer link to build custom image for my project which contains all libraries for Qt5.
I get the following error after stating the build but the build continues after error also.
binariesystem343@binariesystem343:~/oe-core/build$ bitbake -k angstrom-lxde-image
Loading cache: 100% |##########################################################| Time: 0:00:01
Loaded 3900 entries from dependency cache.
WARNING: No recipes available for:
/home/binariesystem343/oe-core/build/../layers/meta-freescale/dynamic-layers/browser-layer/recipes-browser/chromium/chromium-wayland_48.0.2548.0.bbappend
/home/binariesystem343/oe-core/build/../layers/meta-freescale/dynamic-layers/browser-layer/recipes-browser/chromium/chromium_52.0.2743.76.bbappend
/home/binariesystem343/oe-core/build/../layers/meta-toradex-tegra/recipes-graphics/wayland/weston_1.%.bbappend
/home/binariesystem343/oe-core/build/../layers/meta-toradex-tegra/jetson-tk1/recipes-graphics/xorg-xserver/xserver-xorg_1.17.2.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-angstrom-linux-gnueabi"
MACHINE = "colibri-imx7-emmc"
DISTRO = "angstrom"
DISTRO_VERSION = "v2017.12"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-angstrom = "HEAD:4318892e08ea9102d29bdd92af83539bea985e4b"
meta-toradex-nxp = "HEAD:dcb75200b15086bcd69f7ff396da7caf413ffb93"
meta-freescale = "HEAD:1d40ea34fc2c06af79fc59f6ea54f2e9335d61d6"
meta-freescale-3rdparty = "HEAD:9056f60d81abacc2d8ee0f83ef0f70dfeedc76c7"
meta-toradex-tegra = "HEAD:16b6bd18785a7cc8d9024a071d3fbc968ff63e83"
meta-jetson-tk1 = "HEAD:b430756e711b6b29381c8467185f475f5a505f96"
meta-toradex-bsp-common = "HEAD:362865913ed40f6cadeaf9111cf83269dc111248"
meta-oe
meta-filesystems
meta-gnome
meta-xfce
meta-initramfs
meta-networking
meta-multimedia
meta-python = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
meta-lxde = "HEAD:f436137fcc4ac700dc5c1b5e31e5b3c27568fc3e"
meta-browser = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-qt4 = "HEAD:e290738759ef3f39c9e079eaa9b606a62107e5ba"
meta-qt5 = "HEAD:180edd66444db330301f22266cac7d588fd48c6a"
meta-qt5-extra = "HEAD:c16ba209a93c3e55f5aef07fbb1d584e228765b3"
meta-freescale-distro = "HEAD:51756d1c2058139c8a21f89b86cfd8007b71b7f0"
meta-toradex-demos = "HEAD:c73893a3377ebb557b0fb41f75b26dff40da4442"
meta = "HEAD:3638cb32ba9ba32b4d498fc31ab7fdf82f0d2495"
Initialising tasks: 100% |#####################################################| Time: 0:00:27
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-libc-headers-4.12-r0 do_package_write_ipk: The recipe linux-libc-headers is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/binariesystem343/oe-core/deploy/ipk/armv7at2hf-neon/linux-libc-headers-dev_4.12-r0_armv7at2hf-neon.ipk
(not matched to any task)
/home/binariesystem343/oe-core/deploy/ipk/armv7at2hf-neon/linux-libc-headers-dbg_4.12-r0_armv7at2hf-neon.ipk
(not matched to any task)
Please verify which recipe should provide the above files.
The build has stopped, as continuing in this scenario WILL break things - if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would, however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error, however switching DISTRO_FEATURES on an existing build directory is not supported - you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: linux-libc-headers-4.12-r0 do_package_write_ipk: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: linux-libc-headers-4.12-r0 do_package_write_ipk: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/binariesystem343/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/linux-libc-headers/4.12-r0/temp/log.do_package_write_ipk.5528
ERROR: Task (/home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_package_write_ipk) failed with exit code '1'
ERROR: base-files-3.0.14-r89 do_package_write_ipk: The recipe base-files is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/binariesystem343/oe-core/deploy/ipk/colibri_imx7_emmc/base-files-doc_3.0.14-r89_colibri_imx7_emmc.ipk
(not matched to any task)
/home/binariesystem343/oe-core/deploy/ipk/colibri_imx7_emmc/base-files_3.0.14-r89_colibri_imx7_emmc.ipk
(not matched to any task)
/home/binariesystem343/oe-core/deploy/ipk/colibri_imx7_emmc/base-files-dbg_3.0.14-r89_colibri_imx7_emmc.ipk
(not matched to any task)
/home/binariesystem343/oe-core/deploy/ipk/colibri_imx7_emmc/base-files-dev_3.0.14-r89_colibri_imx7_emmc.ipk
(not matched to any task)
Please verify which recipe should provide the above files.
The build has stopped, as continuing in this scenario WILL break things - if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would, however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error, however switching DISTRO_FEATURES on an existing build directory is not supported - you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: base-files-3.0.14-r89 do_package_write_ipk: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: base-files-3.0.14-r89 do_package_write_ipk: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/binariesystem343/oe-core/build/tmp-glibc/work/colibri_imx7_emmc-angstrom-linux-gnueabi/base-files/3.0.14-r89/temp/log.do_package_write_ipk.6062
ERROR: Task (/home/binariesystem343/oe-core/build/../layers/openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb:do_package_write_ipk) failed with exit code '1'
Currently 4 running tasks (1590 of 8847) 17% |######## |
0: qemu-native-2.10.0-r0 do_compile - 567s (pid 4078)
1: qtbase-native-5.9.9+gitAUTOINC+86b933c430-r0 do_compile - 567s (pid 4083)
2: glibc-2.26-r0 do_compile - 471s (pid 1225)
Since i am new to building Linux images i may need help.
can you guide me what could be problem here?
I only edited the local.conf file to added Qt5 layers in the default file as below
#Image install addition to
IMAGE_INSTALL_append = " qt5-plugin-generic-vboxtouch qtbase qtcharts qtconnectivity qtdeclarative qtenginio qtgraphicaleffects qtimageformats qtlocation qtmultimedia qtquick1 qtquickcontrols2 qtquickcontrols qtscript qtsensors qtserialport qtsvg qtsystems qttools qttranslations qtvirtualkeyboard qtwebchannel qtxmlpatterns openssh-sftp-server gdb gdbserver "
PACKAGECONFIG_append_pn-qtbase = " sql-sqlite"
And started build command.