Wind River Support Network

HomeDefectsLIN7-5925
Fixed

LIN7-5925 : acl: do_compile fails 'error: sys/acl.h: No such file or directory'

Created: Apr 1, 2016    Updated: Sep 8, 2018
Resolved Date: Jun 15, 2017
Found In Version: 7.0
Fix Version: 7.0.0.26
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

NX build failure:

mips-wrs-linux-libtool: compile:  mips-wrs-linux-gcc -meb -mabi=32 -mhard-float -march=octeon3 --sysroot=/nx/ala-blade9.2/builds-2015-02-13-013611/cav-octeon3_world_bd_nosplit/bitbake_build/tmp/sysroots/cav-octeon3 -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.51\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DDEBUG -funsigned-c
har -fno-strict-aliasing -Wall -DVERSION=\"2.2.51\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.51\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include perm_copy.h -c acl_free.c  -fPIC -DPIC -o .libs/acl_free.o
mips-wrs-linux-libtool: compile:  mips-wrs-linux-gcc -meb -mabi=32 -mhard-float -march=octeon3 --sysroot=/nx/ala-blade9.2/builds-2015-02-13-013611/cav-octeon3_world_bd_nosplit/bitbake_build/tmp/sysroots/cav-octeon3 -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.51\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DDEBUG -funsigned-c
har -fno-strict-aliasing -Wall -DVERSION=\"2.2.51\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.51\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include perm_copy.h -c acl_delete_def_file.c  -fPIC -DPIC -o .libs/acl_delete_def_file.o
mips-wrs-linux-libtool: compile:  mips-wrs-linux-gcc -meb -mabi=32 -mhard-float -march=octeon3 --sysroot=/nx/ala-blade9.2/builds-2015-02-13-013611/cav-octeon3_world_bd_nosplit/bitbake_build/tmp/sysroots/cav-octeon3 -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.51\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DDEBUG -funsigned-c
har -fno-strict-aliasing -Wall -DVERSION=\"2.2.51\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.51\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include perm_copy.h -c acl_create_entry.c  -fPIC -DPIC -o .libs/acl_create_entry.o
gmake[2]: *** [acl_get_permset.lo] Error 1
In file included from acl_free.c:22:0:
libacl.h:19:21: fatal error: sys/acl.h: No such file or directory
 #include <sys/acl.h>

NX build logs:
http://git.wrs.com/cgit/projects/nx-fails-6.0/.git/log/?h=cav-octeon3_world_bd_nosplit-acl_2.2.51-2015-02-13-013611

Steps to Reproduce

Configure a build with:
--enable-board=cav-octeon3 \
--enable-rootfs=glibc-std-sato \
--enable-kernel=standard \
--with-layer=meta-selinux \
--enable-bootimage=noimage \
--enable-build=debug \
--enable-debuginfo-split=no

Other Downloads


Live chat
Online