| Summary: | Apparmor build started failing when cross-compiling | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Other YP Layers | Reporter: | om26er <om26er> | ||||
| Component: | meta-security | Assignee: | akuster <akuster808> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | Undecided | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | Other | ||||||
| OS: | arm64 | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
Looking closely on the build failure, it seems the issue is only happening when apparmor builds it's Python bindings. So to workaround the failure, I disabled python support and the compilation worked. So what would a "real" fix look like here (I am clueless right now) wonder if its related to http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dunfell&id=9dc4f3cebc93b93d8b3ba2e9caf607af34dc5572 a set of changes is making its way through the various branches. http://git.yoctoproject.org/cgit/cgit.cgi/meta-security/commit/?id=725526e0ea0283bc704a481a044d9cbf6fd99f20 |
Created attachment 4772 [details] build failure logs Apparmor compilation fails when doing cross-compilation. It was working fine yesterday but does not work today. Our multiple systems are facing this issue. We are using dunfell branch and apparmor fails to build for both RaspberryPi 4 and Nvidia Xavier NX. I have attached the logs. I should be able to help if told where the issue might be Note: it works fine when compiling for qemu