does this backport fix it for you

https://patchwork.yoctoproject.org/project/oe/patch/20220921081916.17313-1-mikko.rap...@linaro.org/

On Thu, Sep 22, 2022 at 10:13 PM Jeremy Puhlman <jpuhl...@mvista.com> wrote:
>
> Source: MontaVista Software, LLC
> MR: 121884
> Type: Defect Fix
> Disposition: Submitted to meta-oe
> ChangeID: 2708329947da5ec2f96a8478771f56cfce95f616
> Description:
>
> The last upgrade to audit, changed libaudit.h to use "audit.h", which
> makes the build work for this package, but breaks any other package
> trying to use libaudit.h, like libsemanage.
>
> build/tmp/work/aarch64-montavista-linux/libsemanage/3.3-r0/recipe-sysroot/usr/include/libaudit.h:30:10:
>  fatal error: audit.h: No such file or directory
>    30 | #include "audit.h"
>       |          ^~~~~~~~~
> compilation terminated.
>
> Install audit.h so other applications can use it.
>
> Signed-off-by: Jeremy A. Puhlman <jpuhl...@mvista.com>
> ---
>  meta-oe/recipes-security/audit/audit_3.0.8.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-security/audit/audit_3.0.8.bb 
> b/meta-oe/recipes-security/audit/audit_3.0.8.bb
> index 3dbfc9e60..6195b6749 100644
> --- a/meta-oe/recipes-security/audit/audit_3.0.8.bb
> +++ b/meta-oe/recipes-security/audit/audit_3.0.8.bb
> @@ -110,4 +110,5 @@ do_install:append() {
>
>         # Create /var/spool/audit directory for audisp-remote
>         install -m 0700 -d ${D}${localstatedir}/spool/audit
> +       install -m 644 ${S}/lib/audit.h ${D}${includedir}/audit.h
>  }
> --
> 2.35.4
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98935): 
https://lists.openembedded.org/g/openembedded-devel/message/98935
Mute This Topic: https://lists.openembedded.org/mt/93862901/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to