Fixed
Created: May 23, 2018
Updated: Dec 3, 2018
Resolved Date: Jun 19, 2018
Found In Version: 8.0.0.25
Fix Version: 8.0.0.27
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Toolchain
We getting a sporadic compilation problem with libtalloc :
libtalloc log.do_compile:
DEBUG: Executing shell function do_compile
NOTE: make -j 32 -e MAKEFLAGS=
WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$PATH waf build
Waf: Entering directory `/wrl8/projects/may22bn-intel-x86-64/bitbake_build/tmp/work/corei7-64-gcgl-linux/libtalloc/2.1.3-r0/talloc-2.1.3/bin'
Checking project rules ...
Project rules pass
[ 1/22] Generating talloc.vscript
[ 2/22] Generating pytalloc-util.vscript
[ 3/22] Compiling lib/replace/replace.c
[ 4/22] Compiling lib/replace/cwrap.c
[ 5/22] Generating PKGCONFIG_talloc.pc
[ 6/22] Generating PKGCONFIG_pytalloc-util.pc
[ 7/22] Compiling lib/replace/replace.c
[ 8/22] Compiling lib/replace/test/testsuite.c
In file included from ../lib/replace/test/testsuite.c:34:0:
../lib/replace/system/capability.h:40:28: fatal error: sys/capability.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/wrl8/projects/may22bn-intel-x86-64/bitbake_build/tmp/work/corei7-64-gcgl-linux/libtalloc/2.1.3-r0/talloc-2.1.3/bin'
Build failed: -> task failed (err #1):
{task: cc testsuite.c -> testsuite_3.o}
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 1
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /wrl8/projects/may22bn-intel-x86-64/bitbake_build/tmp/work/corei7-64-gcgl-linux/libtalloc/2.1.3-r0/temp/do_compile/log.do_compile.94052)
According to the customer, the issue happens once every hundred compilations:
/wr/installs/lx8/wrlinux-8/wrlinux/configure --with-layer=wr-bsps/intel-x86,cgp --enable-board=intel-x86-64 --enable-addons=wr-cgp --with-custom-distro=gcgl --enable-kernel=cgl --enable-rootfs=glibc-cgl --with-rcpl-version=0025
make fs