Fixed
Created: Jan 22, 2014
Updated: Dec 3, 2018
Resolved Date: Feb 26, 2014
Found In Version: 6.0.0.2
Fix Version: 6.0.0.4
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace
Problem Description
======================
util-linux-native do_compile failed.
Expected Behavior
======================
Build without error.
Observed Behavior
======================
| gcc -std=gnu99 -DHAVE_CONFIG_H -I. -include config.h -I./include -DLOCALEDIR=\"/qsu-debug/prjs/qemux86-64-1/bitbake_build/tmp/sysroots/x86_64-linux/usr/share/locale\" -D_PATH_LOCALSTATEDIR=\"/qsu-debug/prjs/qemux86-64-1/bitbake_build/tmp/sysroots/x86_64-linux/var\" -isystem/qsu-debug/prjs/qemux86-64-1/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -fsigned-char -fno-common -Wall -Werror=sequence-point -Wextra -Wmissing-declarations -Wmissing-parameter-type -Wmissing-prototypes -Wno-missing-field-initializers -Wredundant-decls -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-variable -Wnested-externs -Wpointer-arith -Wstrict-prototypes -isystem/qsu-debug/prjs/qemux86-64-1/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o sys-utils/unshare.o sys-utils/unshare.c
| In file included from sys-utils/unshare.c:31:
| ./include/namespace.h: In function 'setns':
| ./include/namespace.h:40: error: '__NR_setns' undeclared (first use in this function)
| ./include/namespace.h:40: error: (Each undeclared identifier is reported only once
| ./include/namespace.h:40: error: for each function it appears in.)
| make[2]: *** [sys-utils/unshare.o] Error 1
| make[2]: Leaving directory `/qsu-debug/prjs/qemux86-64-1/bitbake_build/tmp/work/x86_64-linux/util-linux-native/2.23.2-r5/util-linux-2.23.2'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/qsu-debug/prjs/qemux86-64-1/bitbake_build/tmp/work/x86_64-linux/util-linux-native/2.23.2-r5/util-linux-2.23.2'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /qsu-debug/prjs/qemux86-64-1/bitbake_build/tmp/work/x86_64-linux/util-linux-native/2.23.2-r5/temp/do_compile/run.do_compile.31796:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /qsu-debug/prjs/qemux86-64-1/bitbake_build/tmp/work/x86_64-linux/util-linux-native/2.23.2-r5/temp/do_compile/log.do_compile.31796)
ERROR: Task 985 (virtual:native:/qsu-debug/prjs/qemux86-64-1/layers/oe-core/meta/recipes-core/util-linux/util-linux_2.23.2.bb, do_compile) failed with exit code '1'
Logs
======================
Attached.
Misc Info
======================
N/A
step 1; /product/WRL6002_LX05A/wrlinux-6/wrlinux/configure --enable-board=qemux86-64 --enable-kernel=standard --enable-rootfs=glibc-small --with-sstate-dir=/build/qsu-debug/build/SSTATE_CACHE
step 2; make host-tools