Wind River Support Network

HomeDefectsLIN9-3848
Fixed

LIN9-3848 : Failed to install eSDK on wrlinux-image-glibc-std-sato with gnome-common error

Created: Apr 6, 2017    Updated: Jan 19, 2018
Resolved Date: Dec 26, 2017
Found In Version: 9.0.0.5
Fix Version: 9.0.0.6
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace

Description

Failed to install eSDK on wrlinux-image-glibc-std-sato:
....
ERROR: gnome-common-3.18.0-r0 do_populate_sysroot_setscene: The recipe gnome-common is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /buildarea1/WRL9_regression/build_dir/buildsystem/04060040-eSDK/intel-x86-64-standard-glibc-std-sato-OE/build/esdk-2/tmp/sysroots/intel-x86-64/usr/share/aclocal/ax_check_enable_debug.m4
 Matched in b'manifest-intel-x86-64-autoconf-archive.populate_sysroot'
 /buildarea1/WRL9_regression/build_dir/buildsystem/04060040-eSDK/intel-x86-64-standard-glibc-std-sato-OE/build/esdk-2/tmp/sysroots/intel-x86-64/usr/share/aclocal/ax_code_coverage.m4
 Matched in b'manifest-intel-x86-64-autoconf-archive.populate_sysroot'
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: gnome-common-3.18.0-r0 do_populate_sysroot_setscene: 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
....

Steps to Reproduce

1. Build project and eSDK with new DVD
/WRL90_RCPL0005_LX01/wrlinux-9/setup.sh --machines=intel-x86-64 --kernel=standard --dl-layers --distros=wrlinux-std-sato --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
bitbake  wrlinux-image-glibc-std-sato
2. Install eSDK
 tmp/deploy/sdk/wrlinux-std-sato-9.0.0.5-glibc-x86_64-intel_x86_64-wrlinux-image-glibc-std-sato-sdk-ext.sh -d esdk_dir
Live chat
Online