Wind River Support Network

HomeDefectsLIN6-3872
Fixed

LIN6-3872 : Build fails with --enable-rm-work=yes on NFS due to open files in pseudo

Created: Apr 8, 2013    Updated: Mar 10, 2016
Resolved Date: Nov 29, 2013
Previous ID: LIN5-3953, LIN6-3087
Found In Version: 6.0
Fix Version: 6.0
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

customer used below config to build ISO on NFS filesystem,
/tc/platform/ERS_platform_20120604/platform/WindRiver5.0.1_Release/wrlinux-5/wrlinux/configure --enable-kernel=standard --enable-rootfs=glibc_std+debug --enable-board=intel-xeon-core-32 --enable-rm-work=yes --enable-bootimage=iso --enable-target-installer=yes --enable-parallel-pkgbuilds=8 --enable-jobs=8 --with-rcpl-version=0001

And it failed as below,

OTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
$<50>NOTE: Executing RunQueue Tasks
$<50>ERROR: Function failed: do_rm_work (see /justfordeliver/ers_rp/build-rp-wrl5/build/projectDir-intel-xeon-core_32-uZCIlI/bitbake_build/tmp/work/core2-wrs-linux/bitbake-gitAUTOINC+14fa04455135ad56e67c944d921d51f7a8e8a7d2-r0/temp/do_rm_work/log.do_rm_work.1572 for further information)
$<50>ERROR: Logfile of failure stored in: /justfordeliver/ers_rp/build-rp-wrl5/build/projectDir-intel-xeon-core_32-uZCIlI/bitbake_build/tmp/work/core2-wrs-linux/bitbake-gitAUTOINC+14fa04455135ad56e67c944d921d51f7a8e8a7d2-r0/temp/do_rm_work/log.do_rm_work.1572
Log data follows:
| DEBUG: Executing shell function do_rm_work
| rm: cannot remove `pseudo/.nfs0000000003dbb6220007a487': Device or resource busy
| WARNING: /justfordeliver/ers_rp/build-rp-wrl5/build/projectDir-intel-xeon-core_32-uZCIlI/bitbake_build/tmp/work/core2-wrs-linux/bitbake-gitAUTOINC+14fa04455135ad56e67c944d921d51f7a8e8a7d2-r0/temp/do_rm_work/run.do_rm_work.1572:151 exit 1 from
|   rm -rf $dir
| ERROR: Function failed: do_rm_work (see /justfordeliver/ers_rp/build-rp-wrl5/build/projectDir-intel-xeon-core_32-uZCIlI/bitbake_build/tmp/work/core2-wrs-linux/bitbake-gitAUTOINC+14fa04455135ad56e67c944d921d51f7a8e8a7d2-r0/temp/do_rm_work/log.do_rm_work.1572 for further information)
$<50>ERROR: Task 2594 (/justfordeliver/ers_rp/build-rp-wrl5/build/projectDir-intel-xeon-core_32-uZCIlI/layers/wr-installer/recipes-installer/bitbake/bitbake_git.bb, do_rm_work) failed with exit code '1'
$<50>Waiting for 1 running tasks to finish:
0: linux-windriver-3.4-r0 do_package_write_rpm (pid 24280)
 

Workaround

used local disk rather than NFS mounted disk to build the project could workaround this issue.

Steps to Reproduce

configure a project with --enable-rm-work=yes on NFS file system for WR Linux 5011,
/tc/platform/ERS_platform_20120604/platform/WindRiver5.0.1_Release/wrlinux-5/wrlinux/configure --enable-kernel=standard --enable-rootfs=glibc_std+debug --enable-board=intel-xeon-core-32 --enable-rm-work=yes --enable-bootimage=iso --enable-target-installer=yes --enable-parallel-pkgbuilds=8 --enable-jobs=8 --with-rcpl-version=0001

make fs, and then during the building, it aborted with below info,
 rm: cannot remove `pseudo/.nfs0000000003dbb6220007a487': Device or resource busy

Other Downloads


Live chat
Online