Wind River Support Network

HomeDefectsLINCD-302
Fixed

LINCD-302 : ERROR: target-sdk-provides-dummy-1.0-r0 do_packagedata_setscene

Created: Nov 14, 2019    Updated: Jun 16, 2020
Resolved Date: Jun 16, 2020
Found In Version: 10.20.3.0
Fix Version: 10.20.27.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

This defects only happen when sstate is used 

ERROR: target-sdk-provides-dummy-1.0-r0 do_packagedata_setscene: The recipe target-sdk-provides-dummy is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/buildarea2/WRL1019_HostSupport/build_dir/host_support_base/08060200-build_world/xilinx-zynqmp-standard-glibc-std-OE/build/tmp-glibc/pkgdata/xilinx-zynqmp/lib32-target-sdk-provides-dummy
(matched in manifest-xilinx_zynqmp-lib32-target-sdk-provides-dummy.packagedata)
/buildarea2/WRL1019_HostSupport/build_dir/host_support_base/08060200-build_world/xilinx-zynqmp-standard-glibc-std-OE/build/tmp-glibc/pkgdata/xilinx-zynqmp/runtime/lib32-target-sdk-provides-dummy-src
(matched in manifest-xilinx_zynqmp-lib32-target-sdk-provides-dummy.packagedata)
/buildarea2/WRL1019_HostSupport/build_dir/host_support_base/08060200-build_world/xilinx-zynqmp-standard-glibc-std-OE/build/tmp-glibc/pkgdata/xilinx-zynqmp/runtime/lib32-target-sdk-provides-dummy-doc
(matched in manifest-xilinx_zynqmp-lib32-target-sdk-provides-dummy.packagedata)
/buildarea2/WRL1019_HostSupport/build_dir/host_support_base/08060200-build_world/xilinx-zynqmp-standard-glibc-std-OE/build/tmp-glibc/pkgdata/xilinx-zynqmp/runtime/lib32-target-sdk-provides-dummy-locale
(matched in manifest-xilinx_zynqmp-lib32-target-sdk-provides-dummy.packagedata)
/buildarea2/WRL1019_HostSupport/build_dir/host_support_base/08060200-build_world/xilinx-zynqmp-standard-glibc-std-OE/build/tmp-glibc/pkgdata/xilinx-zynqmp/runtime/lib32-target-sdk-provides-dummy-dev
(matched in manifest-xilinx_zynqmp-lib32-target-sdk-provides-dummy.packagedata)
/buildarea2/WRL1019_HostSupport/build_dir/host_support_base/08060200-build_world/xilinx-zynqmp-standard-glibc-std-OE/build/tmp-glibc/pkgdata/xilinx-zynqmp/runtime/lib32-target-sdk-provides-dummy-staticdev
(matched in manifest-xilinx_zynqmp-lib32-target-sdk-provides-dummy.packagedata)
/buildarea2/WRL1019_HostSupport/build_dir/host_support_base/08060200-build_world/xilinx-zynqmp-standard-glibc-std-OE/build/tmp-glibc/pkgdata/xilinx-zynqmp/runtime/lib32-target-sdk-provides-dummy
(matched in manifest-xilinx_zynqmp-lib32-target-sdk-provides-dummy.packagedata)
/buildarea2/WRL1019_HostSupport/build_dir/host_support_base/08060200-build_world/xilinx-zynqmp-standard-glibc-std-OE/build/tmp-glibc/pkgdata/xilinx-zynqmp/runtime/lib32-target-sdk-provides-dummy-dbg
(matched in manifest-xilinx_zynqmp-lib32-target-sdk-provides-dummy.packagedata)
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: target-sdk-provides-dummy-1.0-r0 do_packagedata_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.
ERROR: target-sdk-provides-dummy-1.0-r0 do_packagedata_setscene:
WARNING: Logfile for failed setscene task is /buildarea2/WRL1019_HostSupport/build_dir/host_support_base/08060200-build_world/xilinx-zynqmp-standard-glibc-std-OE/build/tmp-glibc/work/sdk-provides-dummy-target-wrs-linux/target-sdk-provides-dummy/1.0-r0/temp/log.do_packagedata_setscene.1319851
WARNING: Setscene task (/buildarea2/WRL1019_HostSupport/build_dir/host_support_base/08060200-build_world/xilinx-zynqmp-standard-glibc-std-OE/layers/oe-core/meta/recipes-core/meta/target-sdk-provides-dummy.bb:do_packagedata_setscene) failed with exit code '1' - real task will be run instead
NOTE: recipe packagegroup-go-sdk-target-1.0-r0: task do_packagedata_setscene: Started
NOTE: Running setscene task 3234 of 8684 (/buildarea2/WRL1019_HostSupport/build_dir/host_support_base/08060200-build_world/xilinx-zynqmp-standard-glibc-std-OE/layers/oe-core/meta/recipes-devtools/python/python3-pygobject_3.32.2.bb:do_populate_lic_setscene)
NOTE: recipe gnutls-3.6.8-r0: task do_package_qa_setscene: Started
NOTE: recipe autoconf-archive-2019.01.06-r0: task do_package_qa_setscene: Started
NOTE: recipe gnutls-3.6.8-r0: task do_populate_lic_setscene: Started
NOTE: recipe autoconf-archive-2019.01.06-r0: task do_package_write_rpm_setscene: Started
NOTE: recipe gnutls-3.6.8-r0: task do_package_write_rpm_setscene: Started
NOTE: recipe autoconf-archive-2019.01.06-r0: task do_populate_lic_setscene: Started
NOTE: recipe autoconf-archive-2019.01.06-r0: task do_package_qa_setscene: Succeeded
NOTE: recipe gnutls-3.6.8-r0: task do_package_qa_setscene: Succeeded
NOTE: recipe packagegroup-go-sdk-target-1.0-r0: task do_packagedata_setscene: Succeeded
NOTE: recipe python3-pygobject-3.32.2-r0: task do_populate_lic_setscene: Started
NOTE: recipe autoconf-archive-2019.01.06-r0: task do_populate_lic_setscene: Succeeded

Steps to Reproduce

1. /lpg-build/cdc/fast_prod/WRL10_19/WRL10_19_GIT/wrlinux-10/setup.sh --machines=xilinx-zynqmp --all-layers --dl-layers --accept-eula=yes --templates=feature/linux-yocto-dev,feature/toolchain-next,feature/userspace-next
2. bitbake -k world
Live chat
Online