Wind River Support Network

HomeDefectsLIN5-3717
Fixed

LIN5-3717 : audit fails to build (host contamination)

Created: Jul 27, 2013    Updated: Dec 19, 2017
Resolved Date: Sep 22, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.8
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Networking

Description

ovp-ovirt-node platform build fails during bulid of audit package:

| make[2]: Entering directory `/proj/wrs/ovp/build-ovp-ovirt-node/bitbake_build/tmp/work/x86_64-wrs-linux/audit-2.2.1-r6/audit-2.2.1/swig'
| swig -o audit_wrap.c -python -I. -I.. -I../lib -I/proj/wrs/ovp/build-ovp-ovirt-node/bitbake_build/tmp/sysroots/intel-xeon-core/usr/include/python2.7 ./auditswig.i
| ./auditswig.i:26: Warning 124: Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead.
| ../lib/libaudit.h:382: Warning 312: Nested union not currently supported (ignored).
| ./auditswig.i:32: Warning 118: %typemap(except) is deprecated. Use the %exception directive.
| ../x86_64-wrs-linux-libtool --tag=CC   --mode=compile x86-64-wrswrap-linux-gnu-gcc   -m64 --sysroot=/proj/wrs/ovp/build-ovp-ovirt-node/bitbake_build/tmp/sysroots/intel-xeon-core -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../lib -I/proj/wrs/ovp/build-ovp-ovirt-node/bitbake_build/tmp/sysroots/intel-xeon-core/usr/include/python2.7   -fPIC -DPIC -fno-strict-aliasing -O2 -pipe -g -c -o audit_wrap.lo audit_wrap.c
| x86_64-wrs-linux-libtool: compile:  x86-64-wrswrap-linux-gnu-gcc -m64 --sysroot=/proj/wrs/ovp/build-ovp-ovirt-node/bitbake_build/tmp/sysroots/intel-xeon-core -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../lib -I/proj/wrs/ovp/build-ovp-ovirt-node/bitbake_build/tmp/sysroots/intel-xeon-core/usr/include/python2.7 -fPIC -DPIC -fno-strict-aliasing -O2 -pipe -g -c audit_wrap.c  -fPIC -DPIC -o .libs/audit_wrap.o
| audit_wrap.c: In function '_wrap_audit_tty_status_log_passwd_set':
| audit_wrap.c:3643:19: error: 'struct audit_tty_status' has no member named 'log_passwd'
| audit_wrap.c: In function '_wrap_audit_tty_status_log_passwd_get':
| audit_wrap.c:3665:27: error: 'struct audit_tty_status' has no member named 'log_passwd'
| make[2]: *** [audit_wrap.lo] Error 1
| make[2]: Leaving directory `/proj/wrs/ovp/build-ovp-ovirt-node/bitbake_build/tmp/work/x86_64-wrs-linux/audit-2.2.1-r6/audit-2.2.1/swig'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/proj/wrs/ovp/build-ovp-ovirt-node/bitbake_build/tmp/work/x86_64-wrs-linux/audit-2.2.1-r6/audit-2.2.1'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /proj/wrs/ovp/build-ovp-ovirt-node/bitbake_build/tmp/work/x86_64-wrs-linux/audit-2.2.1-r6/temp/do_compile/run.do_compile.2623:110 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (see /proj/wrs/ovp/build-ovp-ovirt-node/bitbake_build/tmp/work/x86_64-wrs-linux/audit-2.2.1-r6/temp/do_compile/log.do_compile.2623 for further information)
ERROR: Task 2751 (/proj/wrs/ovp/build-ovp-ovirt-node/layers/meta-selinux/recipes-security/audit/audit_2.2.1.bb, do_compile) failed with exit code '1'

Steps to Reproduce

On a host with fairly new header files under /usr/include, run:

$ <WRL5.0.1.5_installpath>/wrlinux-5/wrlinux/configure --enable-board=intel-xeon-core --enable-addons=wr-ovp --enable-rootfs=ovp-ovirt-node --with-rcpl-version=0005

$ make

Other Downloads


Live chat
Online