* [meta-oe][kirkstone][PATCH] audit: Install audit.h from audit package.
@ 2022-09-23 2:13 Jeremy A. Puhlman
2022-09-23 3:25 ` [oe] " Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Jeremy A. Puhlman @ 2022-09-23 2:13 UTC (permalink / raw)
To: openembedded-devel; +Cc: Jeremy A. Puhlman
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 <jpuhlman@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
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [oe] [meta-oe][kirkstone][PATCH] audit: Install audit.h from audit package.
2022-09-23 2:13 [meta-oe][kirkstone][PATCH] audit: Install audit.h from audit package Jeremy A. Puhlman
@ 2022-09-23 3:25 ` Khem Raj
2022-09-23 3:38 ` Jeremy Puhlman
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2022-09-23 3:25 UTC (permalink / raw)
To: Jeremy Puhlman; +Cc: openembedded-devel
does this backport fix it for you
https://patchwork.yoctoproject.org/project/oe/patch/20220921081916.17313-1-mikko.rapeli@linaro.org/
On Thu, Sep 22, 2022 at 10:13 PM Jeremy Puhlman <jpuhlman@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 <jpuhlman@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 (#98934): https://lists.openembedded.org/g/openembedded-devel/message/98934
> Mute This Topic: https://lists.openembedded.org/mt/93862901/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [oe] [meta-oe][kirkstone][PATCH] audit: Install audit.h from audit package.
2022-09-23 3:25 ` [oe] " Khem Raj
@ 2022-09-23 3:38 ` Jeremy Puhlman
[not found] ` <6fe4ae19-24e1-e212-4f38-ea5767e4f8bd@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Puhlman @ 2022-09-23 3:38 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-devel
Yup.
On 9/22/2022 8:25 PM, Khem Raj wrote:
> does this backport fix it for you
>
> https://patchwork.yoctoproject.org/project/oe/patch/20220921081916.17313-1-mikko.rapeli@linaro.org/
>
> On Thu, Sep 22, 2022 at 10:13 PM Jeremy Puhlman <jpuhlman@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 <jpuhlman@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 (#98934): https://lists.openembedded.org/g/openembedded-devel/message/98934
>> Mute This Topic: https://lists.openembedded.org/mt/93862901/1997914
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-10-12 19:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-23 2:13 [meta-oe][kirkstone][PATCH] audit: Install audit.h from audit package Jeremy A. Puhlman
2022-09-23 3:25 ` [oe] " Khem Raj
2022-09-23 3:38 ` Jeremy Puhlman
[not found] ` <6fe4ae19-24e1-e212-4f38-ea5767e4f8bd@gmail.com>
2022-10-12 19:28 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.