Wind River Support Network

HomeDefectsLIN8-6822
Fixed

LIN8-6822 : libdevmapper_2.02.125 failed (do_populate_sysroot) of intel-x86-64_wrinstaller_world_8.

Created: Jun 8, 2017    Updated: Dec 3, 2018
Resolved Date: Jun 15, 2017
Found In Version: 8.0.0.18
Fix Version: 8.0.0.19
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

ERROR: The recipe lvm2 is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /buildarea/raid0/xxxx/test/bitbake_build/tmp/sysroots/intel-x86-64/usr/include/libdevmapper.h
 Matched in manifest-intel-x86-64-libdevmapper.populate_sysroot
 /buildarea/raid0/xxxx/test/bitbake_build/tmp/sysroots/intel-x86-64/usr/lib64/libdevmapper.so.1.02
 Matched in manifest-intel-x86-64-libdevmapper.populate_sysroot
 /buildarea/raid0/xxxx/test/bitbake_build/tmp/sysroots/intel-x86-64/usr/lib64/libdevmapper.so
 Matched in manifest-intel-x86-64-libdevmapper.populate_sysroot
 /buildarea/raid0/xxxx/test/bitbake_build/tmp/sysroots/intel-x86-64/usr/lib64/pkgconfig/devmapper.pc
 Matched in manifest-intel-x86-64-libdevmapper.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: 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: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /buildarea/raid0/xxxx/test/bitbake_build/tmp/work/corei7-64-wrs-linux/lvm2/2.02.97-r4.0/temp/do_populate_sysroot/log.do_populate_sysroot.36408
ERROR: Task 3 (/buildarea/raid0/xxxx/test/layers/wr-base/recipes-installer-support/lvm2/lvm2_2.02.97.bb, do_populate_sysroot) failed with exit code '1'

Steps to Reproduce

$configure --enable-board=intel-x86-64 --enable-kernel=ovp --enable-rootfs=ovp_kvm --enable-reconfig --enable-addons=wr-ovp --enable-jobs=8 --enable-parallel-pkgbuilds=8
$make lvm2;make libdevmapper

Other Downloads


Live chat
Online