Wind River Support Network

HomeDefectsLIN1019-2060
Not to be fixed

LIN1019-2060 : ERROR: target-sdk-provides-dummy-1.0-r0 do_packagedata_setscene

Created: Aug 5, 2019    Updated: Apr 28, 2021
Resolved Date: Apr 28, 2021
Found In Version: 10.19.45.1
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Userspace

Description

This error only occurred when sstate cached 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

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