rsync configure: error: Failed to find ACL support
Question
bitbake rsync
configure:4828: gcc -c -isystem/[...]/tmp/work/x86_64-linux/rsync-native/3.2.5-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/[...]/tmp/work/x86_64-linux/rsync-native/3.2.5-r0/recipe-sysroot-native/usr/include conftest.c >&5
conftest.c:80:10: fatal error: sys/acl.h: No such file or directory
80 | #include <sys/acl.h>
| ^~~~~~~~~~~
compilation terminated.
[...]
conftest.c:80:10: fatal error: acl/libacl.h: No such file or directory
80 | #include <acl/libacl.h>
| ^~~~~~~~~~~~~~
compilation terminated.
[...]
configure:11884: checking for ACL support
configure:11908: gcc -o conftest -I./zlib -isystem/data/home/huafeng/davinci/build-rk3326-soc/tmp/work/x86_64-linux/rsync-native/3.2.5-r0/recipe-sysroot-native/usr/include -O2 -pipe -DHAVE_CONFIG_H -Wall -W -isystem/data/home/huafeng/davinci/build-rk3326-soc/tmp/work/x86_64-linux/rsync-native/3.2.5-r0/recipe-sysroot-native/usr/include -L/data/home/huafeng/davinci/build-rk3326-soc/tmp/work/x86_64-linux/rsync-native/3.2.5-r0/recipe-sysroot-native/usr/lib -L/data/home/huafeng/davinci/build-rk3326-soc/tmp/work/x86_64-linux/rsync-native/3.2.5-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/data/home/huafeng/davinci/build-rk3326-soc/tmp/work/x86_64-linux/rsync-native/3.2.5-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/data/home/huafeng/davinci/build-rk3326-soc/tmp/work/x86_64-linux/rsync-native/3.2.5-r0/recipe-sysroot-native/lib -Wl,-rpath,/data/home/huafeng/davinci/build-rk3326-soc/tmp/work/x86_64-linux/rsync-native/3.2.5-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/data/home/huafeng/davinci/build-rk3326-soc/tmp/work/x86_64-linux/rsync-native/3.2.5-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/data/home/huafeng/davinci/build-rk3326-soc/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 conftest.c -lpopt >&5
conftest.c: In function 'main':
conftest.c:200:2: error: unknown type name 'acl_t'
200 | acl_t acl; int entry_id; acl_entry_t *entry_p; return acl_get_entry( acl, entry_id, entry_p);
| ^~~~~
conftest.c:200:27: error: unknown type name 'acl_entry_t'
200 | acl_t acl; int entry_id; acl_entry_t *entry_p; return acl_get_entry( acl, entry_id, entry_p);
| ^~~~~~~~~~~
conftest.c:200:56: warning: implicit declaration of function 'acl_get_entry' [-Wimplicit-function-declaration]
200 | acl_t acl; int entry_id; acl_entry_t *entry_p; return acl_get_entry( acl, entry_id, entry_p);
| ^~~~~~~~~~~~~
[...]
| checking ACL test results... configure: error: Failed to find ACL support
| NOTE: The following config.log files may provide further information.
| NOTE: /data/home/huafeng/davinci/build-rk3326-soc/tmp/work/x86_64-linux/rsync-native/3.2.5-r0/rsync-3.2.5/config.log
| ERROR: configure failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (virtual:native:/data/home/huafeng/davinci/external/poky/meta/recipes-devtools/rsync/rsync_3.2.5.bb:do_configure) failed with exit code '1'
Answer
rm -fr build-rk3326-soc
rebuild for now