Wind River Support Network

HomeDefectsCGP8-192
Not to be fixed

CGP8-192 : Some files are not removed when building with --enable-rm-work=yes

Created: Feb 23, 2016    Updated: Apr 28, 2018
Resolved Date: Apr 17, 2018
Found In Version: 8.0.0.2
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

with --enable-rm-work=yes, temp work files should be removed after the build is finished.

e.g. for util-linux-native, the build, sysroot-destdir, license-destdir, etc should be removed but they are not:

$ ls bitbake_build/tmp/work/x86_64-linux/util-linux-native/2.26.2-r0.3/
build
license-destdir
sstate-install-populate_lic
sstate-install-populate_sysroot
sysroot-destdir
temp

The following lists some of the packages that fail this test:
ca-certificates
logcheck
os-release
packagegroup-core-ssh-openssh
run-postinsts
systemd-compat-units
tzdata
update-rc.d
volatile-binds
acl
alsa-lib
alsa-state
alsa-utils
aoetools
apache2
apr
apr-util
at
attr
audit
avahi
base-passwd
bash
bc
beecrypt
bind
binutils
bison
bluez5
boost
bridge-utils
busybox
bzip2
cairo
checkpolicy
cluster-glue
cluster-resource-agents
coreutils
corosync
cpio
cracklib
crash
crmsh
cronie
cryptodev-linux
cryptsetup
ctdb
cups
curl
cyrus-sasl


Steps to Reproduce

1. configure --enable-board=qemux86-64 --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-rm-work=yes

2. make all 

3. Check if temp files for each package are removed:
ls bitbake_build/tmp/work/<arch>/<pkg>/<pkg_ver>/

Live chat
Online