FS#74882 - [audit] FTBFS with linux-headers 5.17+
Attached to Project:
Arch Linux
Opened by loqs (loqs) - Saturday, 28 May 2022, 17:14 GMT
Last edited by Toolybird (Toolybird) - Sunday, 08 January 2023, 01:09 GMT
Opened by loqs (loqs) - Saturday, 28 May 2022, 17:14 GMT
Last edited by Toolybird (Toolybird) - Sunday, 08 January 2023, 01:09 GMT
|
Details
Description:
linux 5.17 replace a zero-length array with flexible-array member in the user-space audit header [1]. This caused audit to fail to build [2] as swig produces invalid code for flexible-arrays [3]. The suggested fix from upstream is copy the header, patch it, build with the patched copy, then restore header to point to its original location [4]. I applied the suggested changes to the PKGBUILD in [5] which built successfully. There does not appear to be a less awful alternative available that allows building the package against 5.17+ headers. Additional info: * audit 3.0.8-1 * linux-api-headers 5.17.5-2 * swig 4.0.2-5 [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ed98ea2128b6fd83bce13716edf8f5fe6c47f574 [2] https://github.com/linux-audit/audit-userspace/issues/236 [3] https://github.com/swig/swig/issues/1699 [4] https://listman.redhat.com/archives/linux-audit/2022-February/msg00085.html [5] PKGBUILD.diff Steps to reproduce: |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 08 January 2023, 01:09 GMT
Reason for closing: Fixed
Additional comments about closing: audit 3.0.9-1
Sunday, 08 January 2023, 01:09 GMT
Reason for closing: Fixed
Additional comments about closing: audit 3.0.9-1