| Summary: | libarchive doesn't respect disable-acl | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Gary Thomas <gary> | ||||
| Component: | multimedia | Assignee: | Maxin B. John <maxin.john> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, randy.macleod | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 2.2 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
|
Description
Gary Thomas
2016-05-24 10:05:33 UTC
Apparently not easy to reproduce so being treated as a medium priority defect. Created attachment 3209 [details]
add check for acl/libacl.h
Hi Gary,
This build failure is hard to re-create. However, based on the configure.ac code, header check exists only for <sys/acl.h>. It should also include check for <acl/libacl.h> which contains additional API in linux.
ie:
if test "x$enable_acl" != "xno"; then
AC_CHECK_HEADERS([sys/acl.h])
AC_CHECK_LIB([acl],[acl_get_file])
AC_CHECK_FUNCS([acl_create_entry acl_init acl_set_fd acl_set_fd_np acl_set_file])
I have attached a patch to fix it. Is it possible for you to verify that this failure still occurs on poky (master branch) ?
Please note that libarchive was upgraded to version 3.2.0 recently
Please apply this patch on top of poky (master) and check if we can recreate this error. Submitted an upstream pull request. https://github.com/libarchive/libarchive/pull/712 (In reply to comment #3) > Please apply this patch on top of poky (master) and check if we can recreate > this error. I was able to get my build to break again and then applied this patch. It now builds correctly, thanks |