* [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable multilib. @ 2024-04-30 8:27 leimaohui 2024-06-11 9:23 ` Richard Purdie 0 siblings, 1 reply; 9+ messages in thread From: leimaohui @ 2024-04-30 8:27 UTC (permalink / raw) To: openembedded-core; +Cc: Lei Maohui From: Lei Maohui <leimaohui@fujitsu.com> - Fix the conflict error by oe_multilib_header. The conflict error is as the following: Error: Transaction test error: file /usr/include/bsd/sys/cdefs.h conflicts between attempted installs of libbsd-dev-0.12.1-r0.core2_64 and lib32-libbsd-dev-0.12.1-r0.core2_32 The difference of bsd/sys/cdefs.h between libbsd-dev and lib32-libbsd-dev is as following: /* Define the ABI for the current system. */ -#define LIBBSD_SYS_TIME_BITS 64 +#define LIBBSD_SYS_TIME_BITS 32 #define LIBBSD_SYS_HAS_TIME64 1 - After oe_multilib_header on cdefs.h, the path of cdefs-64.h and cdefs-32.h in cdefs.h need to be corrected for overlay-mode. Please reference to https://man.archlinux.org/man/libbsd.7 for details. @@ -12,19 +12,19 @@ #ifdef _MIPS_SIM #if _MIPS_SIM == _ABIO32 -#include <bsd/sys/cdefs-32.h> +#include <sys/cdefs-32.h> #elif _MIPS_SIM == _ABIN32 -#include <bsd/sys/cdefs-n32.h> +#include <sys/cdefs-n32.h> #else #error "Unknown _MIPS_SIM" #endif #else /* _MIPS_SIM is not defined */ -#include <bsd/sys/cdefs-32.h> +#include <sys/cdefs-32.h> #endif #elif __WORDSIZE == 64 -#include <bsd/sys/cdefs-64.h> +#include <sys/cdefs-64.h> #else #error "Unknown __WORDSIZE detected" #endif /* matches #if __WORDSIZE == 32 */ Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> --- meta/recipes-support/libbsd/libbsd_0.12.2.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/libbsd/libbsd_0.12.2.bb b/meta/recipes-support/libbsd/libbsd_0.12.2.bb index 7d5e88f293..1791d97dfd 100644 --- a/meta/recipes-support/libbsd/libbsd_0.12.2.bb +++ b/meta/recipes-support/libbsd/libbsd_0.12.2.bb @@ -40,8 +40,16 @@ SRC_URI = "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz" SRC_URI[sha256sum] = "b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a14731014" -inherit autotools pkgconfig +inherit autotools pkgconfig multilib_header DEPENDS += "libmd" +do_install:append () { + oe_multilib_header bsd/sys/cdefs.h + # It hasn't been tested when libbsd is used in 'namespaced headers' mode according to + # https://man.archlinux.org/man/libbsd.7. + sed -i 's:#include <bsd/sys/cdefs:#include <sys/cdefs:g' ${D}${includedir}/bsd/sys/cdefs.h +} + + BBCLASSEXTEND = "native nativesdk" -- 2.34.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable multilib. 2024-04-30 8:27 [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable multilib leimaohui @ 2024-06-11 9:23 ` Richard Purdie 2024-06-19 8:34 ` Maohui Lei (Fujitsu) 0 siblings, 1 reply; 9+ messages in thread From: Richard Purdie @ 2024-06-11 9:23 UTC (permalink / raw) To: leimaohui, openembedded-core On Tue, 2024-04-30 at 16:27 +0800, leimaohui via lists.openembedded.org wrote: > From: Lei Maohui <leimaohui@fujitsu.com> > > - Fix the conflict error by oe_multilib_header. The conflict error is as the following: > Error: Transaction test error: > file /usr/include/bsd/sys/cdefs.h conflicts between attempted installs of libbsd-dev-0.12.1-r0.core2_64 and lib32-libbsd-dev-0.12.1-r0.core2_32 > > The difference of bsd/sys/cdefs.h between libbsd-dev and lib32-libbsd-dev is as following: > > /* Define the ABI for the current system. */ > -#define LIBBSD_SYS_TIME_BITS 64 > +#define LIBBSD_SYS_TIME_BITS 32 > #define LIBBSD_SYS_HAS_TIME64 1 > > - After oe_multilib_header on cdefs.h, the path of cdefs-64.h and cdefs-32.h in cdefs.h need to be corrected for overlay-mode. Please reference to https://man.archlinux.org/man/libbsd.7 for details. > @@ -12,19 +12,19 @@ > #ifdef _MIPS_SIM > > #if _MIPS_SIM == _ABIO32 > -#include <bsd/sys/cdefs-32.h> > +#include <sys/cdefs-32.h> > #elif _MIPS_SIM == _ABIN32 > -#include <bsd/sys/cdefs-n32.h> > +#include <sys/cdefs-n32.h> > #else > #error "Unknown _MIPS_SIM" > #endif > > #else /* _MIPS_SIM is not defined */ > -#include <bsd/sys/cdefs-32.h> > +#include <sys/cdefs-32.h> > #endif > > #elif __WORDSIZE == 64 > -#include <bsd/sys/cdefs-64.h> > +#include <sys/cdefs-64.h> > #else > #error "Unknown __WORDSIZE detected" > #endif /* matches #if __WORDSIZE == 32 */ > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> > --- > meta/recipes-support/libbsd/libbsd_0.12.2.bb | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-support/libbsd/libbsd_0.12.2.bb b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > index 7d5e88f293..1791d97dfd 100644 > --- a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > +++ b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > @@ -40,8 +40,16 @@ SRC_URI = "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz" > > SRC_URI[sha256sum] = "b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a14731014" > > -inherit autotools pkgconfig > +inherit autotools pkgconfig multilib_header > > DEPENDS += "libmd" > > +do_install:append () { > + oe_multilib_header bsd/sys/cdefs.h > + # It hasn't been tested when libbsd is used in 'namespaced headers' mode according to > + # https://man.archlinux.org/man/libbsd.7. > + sed -i 's:#include <bsd/sys/cdefs:#include <sys/cdefs:g' ${D}${includedir}/bsd/sys/cdefs.h > +} > + > + > BBCLASSEXTEND = "native nativesdk" Firstly, I know several of us are not convinced this is the right thing to do. We've not been able to easily describe why we're uneasy about it. We did do some wider testing with this patch and it causes several errors in meta-openembedeed: https://errors.yoctoproject.org/Errors/Build/186567/ so we can't merge something with this approach. We really do need to stick with the way upstream use their code. Cheers, Richard ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable multilib. 2024-06-11 9:23 ` Richard Purdie @ 2024-06-19 8:34 ` Maohui Lei (Fujitsu) 0 siblings, 0 replies; 9+ messages in thread From: Maohui Lei (Fujitsu) @ 2024-06-19 8:34 UTC (permalink / raw) To: Richard Purdie, openembedded-core@lists.openembedded.org Hi, It really took so long time to test this patch. ^^ It seems that no matter how to change the header file, there are always different failures. I'll try to ask this issue in upstream of libbsd. Thank you very much. Best regards Lei > -----Original Message----- > From: Richard Purdie <richard.purdie@linuxfoundation.org> > Sent: Tuesday, June 11, 2024 5:24 PM > To: Lei, Maohui <leimaohui@fujitsu.com>; > openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when > enable multilib. > > On Tue, 2024-04-30 at 16:27 +0800, leimaohui via lists.openembedded.org > wrote: > > From: Lei Maohui <leimaohui@fujitsu.com> > > > > - Fix the conflict error by oe_multilib_header. The conflict error is as the > following: > > Error: Transaction test error: > > file /usr/include/bsd/sys/cdefs.h conflicts between attempted > > installs of libbsd-dev-0.12.1-r0.core2_64 and > > lib32-libbsd-dev-0.12.1-r0.core2_32 > > > > The difference of bsd/sys/cdefs.h between libbsd-dev and lib32-libbsd-dev > is as following: > > > > /* Define the ABI for the current system. */ > > -#define LIBBSD_SYS_TIME_BITS 64 > > +#define LIBBSD_SYS_TIME_BITS 32 > > #define LIBBSD_SYS_HAS_TIME64 1 > > > > - After oe_multilib_header on cdefs.h, the path of cdefs-64.h and cdefs-32.h > in cdefs.h need to be corrected for overlay-mode. Please reference to > https://man.archlinux.org/man/libbsd.7 for details. > > @@ -12,19 +12,19 @@ > > #ifdef _MIPS_SIM > > > > #if _MIPS_SIM == _ABIO32 > > -#include <bsd/sys/cdefs-32.h> > > +#include <sys/cdefs-32.h> > > #elif _MIPS_SIM == _ABIN32 > > -#include <bsd/sys/cdefs-n32.h> > > +#include <sys/cdefs-n32.h> > > #else > > #error "Unknown _MIPS_SIM" > > #endif > > > > #else /* _MIPS_SIM is not defined */ > > -#include <bsd/sys/cdefs-32.h> > > +#include <sys/cdefs-32.h> > > #endif > > > > #elif __WORDSIZE == 64 > > -#include <bsd/sys/cdefs-64.h> > > +#include <sys/cdefs-64.h> > > #else > > #error "Unknown __WORDSIZE detected" > > #endif /* matches #if __WORDSIZE == 32 */ > > > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> > > --- > > meta/recipes-support/libbsd/libbsd_0.12.2.bb | 10 +++++++++- > > 1 file changed, 9 insertions(+), 1 deletion(-) > > > > diff --git a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > index 7d5e88f293..1791d97dfd 100644 > > --- a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > +++ b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > @@ -40,8 +40,16 @@ SRC_URI = > "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz" > > > > SRC_URI[sha256sum] = > "b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a147310 > 14" > > > > -inherit autotools pkgconfig > > +inherit autotools pkgconfig multilib_header > > > > DEPENDS += "libmd" > > > > +do_install:append () { > > + oe_multilib_header bsd/sys/cdefs.h > > + # It hasn't been tested when libbsd is used in 'namespaced > > +headers' mode according to > > + # https://man.archlinux.org/man/libbsd.7. > > + sed -i 's:#include <bsd/sys/cdefs:#include <sys/cdefs:g' > > +${D}${includedir}/bsd/sys/cdefs.h } > > + > > + > > BBCLASSEXTEND = "native nativesdk" > > Firstly, I know several of us are not convinced this is the right thing to do. > We've not been able to easily describe why we're uneasy about it. We did do > some wider testing with this patch and it causes several errors in > meta-openembedeed: > > https://errors.yoctoproject.org/Errors/Build/186567/ > > so we can't merge something with this approach. > > We really do need to stick with the way upstream use their code. > > Cheers, > > Richard > ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <17CB016975A375B8.19032@lists.openembedded.org>]
* RE: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable multilib. [not found] <17CB016975A375B8.19032@lists.openembedded.org> @ 2024-05-10 1:19 ` Maohui Lei (Fujitsu) 2024-05-10 8:43 ` Alexander Kanavin 0 siblings, 1 reply; 9+ messages in thread From: Maohui Lei (Fujitsu) @ 2024-05-10 1:19 UTC (permalink / raw) To: openembedded-core@lists.openembedded.org Ping > -----Original Message----- > From: openembedded-core@lists.openembedded.org > <openembedded-core@lists.openembedded.org> On Behalf Of leimaohui via > lists.openembedded.org > Sent: Tuesday, April 30, 2024 4:27 PM > To: openembedded-core@lists.openembedded.org > Cc: Lei, Maohui <leimaohui@fujitsu.com> > Subject: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable > multilib. > > From: Lei Maohui <leimaohui@fujitsu.com> > > - Fix the conflict error by oe_multilib_header. The conflict error is as the > following: > Error: Transaction test error: > file /usr/include/bsd/sys/cdefs.h conflicts between attempted installs of > libbsd-dev-0.12.1-r0.core2_64 and lib32-libbsd-dev-0.12.1-r0.core2_32 > > The difference of bsd/sys/cdefs.h between libbsd-dev and lib32-libbsd-dev is > as following: > > /* Define the ABI for the current system. */ -#define > LIBBSD_SYS_TIME_BITS 64 +#define LIBBSD_SYS_TIME_BITS 32 #define > LIBBSD_SYS_HAS_TIME64 1 > > - After oe_multilib_header on cdefs.h, the path of cdefs-64.h and cdefs-32.h > in cdefs.h need to be corrected for overlay-mode. Please reference to > https://man.archlinux.org/man/libbsd.7 for details. > @@ -12,19 +12,19 @@ > #ifdef _MIPS_SIM > > #if _MIPS_SIM == _ABIO32 > -#include <bsd/sys/cdefs-32.h> > +#include <sys/cdefs-32.h> > #elif _MIPS_SIM == _ABIN32 > -#include <bsd/sys/cdefs-n32.h> > +#include <sys/cdefs-n32.h> > #else > #error "Unknown _MIPS_SIM" > #endif > > #else /* _MIPS_SIM is not defined */ > -#include <bsd/sys/cdefs-32.h> > +#include <sys/cdefs-32.h> > #endif > > #elif __WORDSIZE == 64 > -#include <bsd/sys/cdefs-64.h> > +#include <sys/cdefs-64.h> > #else > #error "Unknown __WORDSIZE detected" > #endif /* matches #if __WORDSIZE == 32 */ > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> > --- > meta/recipes-support/libbsd/libbsd_0.12.2.bb | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > index 7d5e88f293..1791d97dfd 100644 > --- a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > +++ b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > @@ -40,8 +40,16 @@ SRC_URI = > "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz" > > SRC_URI[sha256sum] = > "b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a147310 > 14" > > -inherit autotools pkgconfig > +inherit autotools pkgconfig multilib_header > > DEPENDS += "libmd" > > +do_install:append () { > + oe_multilib_header bsd/sys/cdefs.h > + # It hasn't been tested when libbsd is used in 'namespaced headers' > mode according to > + # https://man.archlinux.org/man/libbsd.7. > + sed -i 's:#include <bsd/sys/cdefs:#include <sys/cdefs:g' > +${D}${includedir}/bsd/sys/cdefs.h } > + > + > BBCLASSEXTEND = "native nativesdk" > -- > 2.34.1 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable multilib. 2024-05-10 1:19 ` Maohui Lei (Fujitsu) @ 2024-05-10 8:43 ` Alexander Kanavin 2024-05-13 0:45 ` Maohui Lei (Fujitsu) [not found] ` <17CEE5C1836CC254.26216@lists.openembedded.org> 0 siblings, 2 replies; 9+ messages in thread From: Alexander Kanavin @ 2024-05-10 8:43 UTC (permalink / raw) To: leimaohui; +Cc: openembedded-core@lists.openembedded.org It's in abelloni/master-next on poky-contrib. Please read Richard's status email and try to pay attention to them going forward: https://lists.openembedded.org/g/openembedded-architecture/message/2003 Alex On Fri, 10 May 2024 at 03:19, leimaohui via lists.openembedded.org <leimaohui=fujitsu.com@lists.openembedded.org> wrote: > > Ping > > > > > > -----Original Message----- > > From: openembedded-core@lists.openembedded.org > > <openembedded-core@lists.openembedded.org> On Behalf Of leimaohui via > > lists.openembedded.org > > Sent: Tuesday, April 30, 2024 4:27 PM > > To: openembedded-core@lists.openembedded.org > > Cc: Lei, Maohui <leimaohui@fujitsu.com> > > Subject: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable > > multilib. > > > > From: Lei Maohui <leimaohui@fujitsu.com> > > > > - Fix the conflict error by oe_multilib_header. The conflict error is as the > > following: > > Error: Transaction test error: > > file /usr/include/bsd/sys/cdefs.h conflicts between attempted installs of > > libbsd-dev-0.12.1-r0.core2_64 and lib32-libbsd-dev-0.12.1-r0.core2_32 > > > > The difference of bsd/sys/cdefs.h between libbsd-dev and lib32-libbsd-dev is > > as following: > > > > /* Define the ABI for the current system. */ -#define > > LIBBSD_SYS_TIME_BITS 64 +#define LIBBSD_SYS_TIME_BITS 32 #define > > LIBBSD_SYS_HAS_TIME64 1 > > > > - After oe_multilib_header on cdefs.h, the path of cdefs-64.h and cdefs-32.h > > in cdefs.h need to be corrected for overlay-mode. Please reference to > > https://man.archlinux.org/man/libbsd.7 for details. > > @@ -12,19 +12,19 @@ > > #ifdef _MIPS_SIM > > > > #if _MIPS_SIM == _ABIO32 > > -#include <bsd/sys/cdefs-32.h> > > +#include <sys/cdefs-32.h> > > #elif _MIPS_SIM == _ABIN32 > > -#include <bsd/sys/cdefs-n32.h> > > +#include <sys/cdefs-n32.h> > > #else > > #error "Unknown _MIPS_SIM" > > #endif > > > > #else /* _MIPS_SIM is not defined */ > > -#include <bsd/sys/cdefs-32.h> > > +#include <sys/cdefs-32.h> > > #endif > > > > #elif __WORDSIZE == 64 > > -#include <bsd/sys/cdefs-64.h> > > +#include <sys/cdefs-64.h> > > #else > > #error "Unknown __WORDSIZE detected" > > #endif /* matches #if __WORDSIZE == 32 */ > > > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> > > --- > > meta/recipes-support/libbsd/libbsd_0.12.2.bb | 10 +++++++++- > > 1 file changed, 9 insertions(+), 1 deletion(-) > > > > diff --git a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > index 7d5e88f293..1791d97dfd 100644 > > --- a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > +++ b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > @@ -40,8 +40,16 @@ SRC_URI = > > "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz" > > > > SRC_URI[sha256sum] = > > "b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a147310 > > 14" > > > > -inherit autotools pkgconfig > > +inherit autotools pkgconfig multilib_header > > > > DEPENDS += "libmd" > > > > +do_install:append () { > > + oe_multilib_header bsd/sys/cdefs.h > > + # It hasn't been tested when libbsd is used in 'namespaced headers' > > mode according to > > + # https://man.archlinux.org/man/libbsd.7. > > + sed -i 's:#include <bsd/sys/cdefs:#include <sys/cdefs:g' > > +${D}${includedir}/bsd/sys/cdefs.h } > > + > > + > > BBCLASSEXTEND = "native nativesdk" > > -- > > 2.34.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#199186): https://lists.openembedded.org/g/openembedded-core/message/199186 > Mute This Topic: https://lists.openembedded.org/mt/105817273/1686489 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable multilib. 2024-05-10 8:43 ` Alexander Kanavin @ 2024-05-13 0:45 ` Maohui Lei (Fujitsu) [not found] ` <17CEE5C1836CC254.26216@lists.openembedded.org> 1 sibling, 0 replies; 9+ messages in thread From: Maohui Lei (Fujitsu) @ 2024-05-13 0:45 UTC (permalink / raw) To: Alexander Kanavin; +Cc: openembedded-core@lists.openembedded.org Hi, Alex > It's in abelloni/master-next on poky-contrib. Please read Richard's status > email and try to pay attention to them going forward: I got it. Thank you for your reply. Best regards Lei > -----Original Message----- > From: Alexander Kanavin <alex.kanavin@gmail.com> > Sent: Friday, May 10, 2024 4:43 PM > To: Lei, Maohui <leimaohui@fujitsu.com> > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when > enable multilib. > > It's in abelloni/master-next on poky-contrib. Please read Richard's status > email and try to pay attention to them going forward: > > https://lists.openembedded.org/g/openembedded-architecture/message/20 > 03 > > Alex > > On Fri, 10 May 2024 at 03:19, leimaohui via lists.openembedded.org > <leimaohui=fujitsu.com@lists.openembedded.org> wrote: > > > > Ping > > > > > > > > > > > -----Original Message----- > > > From: openembedded-core@lists.openembedded.org > > > <openembedded-core@lists.openembedded.org> On Behalf Of leimaohui > > > via lists.openembedded.org > > > Sent: Tuesday, April 30, 2024 4:27 PM > > > To: openembedded-core@lists.openembedded.org > > > Cc: Lei, Maohui <leimaohui@fujitsu.com> > > > Subject: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when > > > enable multilib. > > > > > > From: Lei Maohui <leimaohui@fujitsu.com> > > > > > > - Fix the conflict error by oe_multilib_header. The conflict error > > > is as the > > > following: > > > Error: Transaction test error: > > > file /usr/include/bsd/sys/cdefs.h conflicts between attempted > > > installs of > > > libbsd-dev-0.12.1-r0.core2_64 and > > > lib32-libbsd-dev-0.12.1-r0.core2_32 > > > > > > The difference of bsd/sys/cdefs.h between libbsd-dev and > > > lib32-libbsd-dev is as following: > > > > > > /* Define the ABI for the current system. */ -#define > > > LIBBSD_SYS_TIME_BITS 64 +#define LIBBSD_SYS_TIME_BITS 32 #define > > > LIBBSD_SYS_HAS_TIME64 1 > > > > > > - After oe_multilib_header on cdefs.h, the path of cdefs-64.h and > > > cdefs-32.h in cdefs.h need to be corrected for overlay-mode. Please > > > reference to > > > https://man.archlinux.org/man/libbsd.7 for details. > > > @@ -12,19 +12,19 @@ > > > #ifdef _MIPS_SIM > > > > > > #if _MIPS_SIM == _ABIO32 > > > -#include <bsd/sys/cdefs-32.h> > > > +#include <sys/cdefs-32.h> > > > #elif _MIPS_SIM == _ABIN32 > > > -#include <bsd/sys/cdefs-n32.h> > > > +#include <sys/cdefs-n32.h> > > > #else > > > #error "Unknown _MIPS_SIM" > > > #endif > > > > > > #else /* _MIPS_SIM is not defined */ -#include <bsd/sys/cdefs-32.h> > > > +#include <sys/cdefs-32.h> > > > #endif > > > > > > #elif __WORDSIZE == 64 > > > -#include <bsd/sys/cdefs-64.h> > > > +#include <sys/cdefs-64.h> > > > #else > > > #error "Unknown __WORDSIZE detected" > > > #endif /* matches #if __WORDSIZE == 32 */ > > > > > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> > > > --- > > > meta/recipes-support/libbsd/libbsd_0.12.2.bb | 10 +++++++++- > > > 1 file changed, 9 insertions(+), 1 deletion(-) > > > > > > diff --git a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > index 7d5e88f293..1791d97dfd 100644 > > > --- a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > +++ b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > @@ -40,8 +40,16 @@ SRC_URI = > > > "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz" > > > > > > SRC_URI[sha256sum] = > > > > "b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a147310 > > > 14" > > > > > > -inherit autotools pkgconfig > > > +inherit autotools pkgconfig multilib_header > > > > > > DEPENDS += "libmd" > > > > > > +do_install:append () { > > > + oe_multilib_header bsd/sys/cdefs.h > > > + # It hasn't been tested when libbsd is used in 'namespaced headers' > > > mode according to > > > + # https://man.archlinux.org/man/libbsd.7. > > > + sed -i 's:#include <bsd/sys/cdefs:#include <sys/cdefs:g' > > > +${D}${includedir}/bsd/sys/cdefs.h } > > > + > > > + > > > BBCLASSEXTEND = "native nativesdk" > > > -- > > > 2.34.1 > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > Links: You receive all messages sent to this group. > > View/Reply Online (#199186): > > https://lists.openembedded.org/g/openembedded-core/message/199186 > > Mute This Topic: https://lists.openembedded.org/mt/105817273/1686489 > > Group Owner: openembedded-core+owner@lists.openembedded.org > > Unsubscribe: > https://lists.openembedded.org/g/openembedded-core/unsub > > [alex.kanavin@gmail.com] > > -=-=-=-=-=-=-=-=-=-=-=- > > ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <17CEE5C1836CC254.26216@lists.openembedded.org>]
* RE: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable multilib. [not found] ` <17CEE5C1836CC254.26216@lists.openembedded.org> @ 2024-05-29 2:01 ` Maohui Lei (Fujitsu) 2024-05-29 9:56 ` Alexander Kanavin 0 siblings, 1 reply; 9+ messages in thread From: Maohui Lei (Fujitsu) @ 2024-05-29 2:01 UTC (permalink / raw) To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin (alex.kanavin@gmail.com) Hi, This patch has not been merged yet and I didn't find it any more. Is there any issue with this patch? Best regards Lei > -----Original Message----- > From: openembedded-core@lists.openembedded.org > <openembedded-core@lists.openembedded.org> On Behalf Of leimaohui via > lists.openembedded.org > Sent: Monday, May 13, 2024 8:45 AM > To: Alexander Kanavin <alex.kanavin@gmail.com> > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when > enable multilib. > > Hi, Alex > > > It's in abelloni/master-next on poky-contrib. Please read Richard's > > status email and try to pay attention to them going forward: > I got it. Thank you for your reply. > > Best regards > Lei > > > -----Original Message----- > > From: Alexander Kanavin <alex.kanavin@gmail.com> > > Sent: Friday, May 10, 2024 4:43 PM > > To: Lei, Maohui <leimaohui@fujitsu.com> > > Cc: openembedded-core@lists.openembedded.org > > Subject: Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error > > when enable multilib. > > > > It's in abelloni/master-next on poky-contrib. Please read Richard's > > status email and try to pay attention to them going forward: > > > > > https://lists.openembedded.org/g/openembedded-architecture/message/20 > > 03 > > > > Alex > > > > On Fri, 10 May 2024 at 03:19, leimaohui via lists.openembedded.org > > <leimaohui=fujitsu.com@lists.openembedded.org> wrote: > > > > > > Ping > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: openembedded-core@lists.openembedded.org > > > > <openembedded-core@lists.openembedded.org> On Behalf Of > leimaohui > > > > via lists.openembedded.org > > > > Sent: Tuesday, April 30, 2024 4:27 PM > > > > To: openembedded-core@lists.openembedded.org > > > > Cc: Lei, Maohui <leimaohui@fujitsu.com> > > > > Subject: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error > > > > when enable multilib. > > > > > > > > From: Lei Maohui <leimaohui@fujitsu.com> > > > > > > > > - Fix the conflict error by oe_multilib_header. The conflict error > > > > is as the > > > > following: > > > > Error: Transaction test error: > > > > file /usr/include/bsd/sys/cdefs.h conflicts between attempted > > > > installs of > > > > libbsd-dev-0.12.1-r0.core2_64 and > > > > lib32-libbsd-dev-0.12.1-r0.core2_32 > > > > > > > > The difference of bsd/sys/cdefs.h between libbsd-dev and > > > > lib32-libbsd-dev is as following: > > > > > > > > /* Define the ABI for the current system. */ -#define > > > > LIBBSD_SYS_TIME_BITS 64 +#define LIBBSD_SYS_TIME_BITS 32 > #define > > > > LIBBSD_SYS_HAS_TIME64 1 > > > > > > > > - After oe_multilib_header on cdefs.h, the path of cdefs-64.h and > > > > cdefs-32.h in cdefs.h need to be corrected for overlay-mode. > > > > Please reference to > > > > https://man.archlinux.org/man/libbsd.7 for details. > > > > @@ -12,19 +12,19 @@ > > > > #ifdef _MIPS_SIM > > > > > > > > #if _MIPS_SIM == _ABIO32 > > > > -#include <bsd/sys/cdefs-32.h> > > > > +#include <sys/cdefs-32.h> > > > > #elif _MIPS_SIM == _ABIN32 > > > > -#include <bsd/sys/cdefs-n32.h> > > > > +#include <sys/cdefs-n32.h> > > > > #else > > > > #error "Unknown _MIPS_SIM" > > > > #endif > > > > > > > > #else /* _MIPS_SIM is not defined */ -#include > > > > <bsd/sys/cdefs-32.h> > > > > +#include <sys/cdefs-32.h> > > > > #endif > > > > > > > > #elif __WORDSIZE == 64 > > > > -#include <bsd/sys/cdefs-64.h> > > > > +#include <sys/cdefs-64.h> > > > > #else > > > > #error "Unknown __WORDSIZE detected" > > > > #endif /* matches #if __WORDSIZE == 32 */ > > > > > > > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> > > > > --- > > > > meta/recipes-support/libbsd/libbsd_0.12.2.bb | 10 +++++++++- > > > > 1 file changed, 9 insertions(+), 1 deletion(-) > > > > > > > > diff --git a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > index 7d5e88f293..1791d97dfd 100644 > > > > --- a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > +++ b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > @@ -40,8 +40,16 @@ SRC_URI = > > > > "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz" > > > > > > > > SRC_URI[sha256sum] = > > > > > > > "b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a147310 > > > > 14" > > > > > > > > -inherit autotools pkgconfig > > > > +inherit autotools pkgconfig multilib_header > > > > > > > > DEPENDS += "libmd" > > > > > > > > +do_install:append () { > > > > + oe_multilib_header bsd/sys/cdefs.h > > > > + # It hasn't been tested when libbsd is used in 'namespaced headers' > > > > mode according to > > > > + # https://man.archlinux.org/man/libbsd.7. > > > > + sed -i 's:#include <bsd/sys/cdefs:#include <sys/cdefs:g' > > > > +${D}${includedir}/bsd/sys/cdefs.h } > > > > + > > > > + > > > > BBCLASSEXTEND = "native nativesdk" > > > > -- > > > > 2.34.1 > > > > > > > > > > > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable multilib. 2024-05-29 2:01 ` Maohui Lei (Fujitsu) @ 2024-05-29 9:56 ` Alexander Kanavin 2024-05-31 3:03 ` Maohui Lei (Fujitsu) 0 siblings, 1 reply; 9+ messages in thread From: Alexander Kanavin @ 2024-05-29 9:56 UTC (permalink / raw) To: Maohui Lei (Fujitsu); +Cc: openembedded-core@lists.openembedded.org It's still in abelloni/master-next, nothing has changed. Where did you look for it? Alex On Wed, 29 May 2024 at 04:01, Maohui Lei (Fujitsu) <leimaohui@fujitsu.com> wrote: > > Hi, > > This patch has not been merged yet and I didn't find it any more. Is there any issue with this patch? > > Best regards > Lei > > > -----Original Message----- > > From: openembedded-core@lists.openembedded.org > > <openembedded-core@lists.openembedded.org> On Behalf Of leimaohui via > > lists.openembedded.org > > Sent: Monday, May 13, 2024 8:45 AM > > To: Alexander Kanavin <alex.kanavin@gmail.com> > > Cc: openembedded-core@lists.openembedded.org > > Subject: Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when > > enable multilib. > > > > Hi, Alex > > > > > It's in abelloni/master-next on poky-contrib. Please read Richard's > > > status email and try to pay attention to them going forward: > > I got it. Thank you for your reply. > > > > Best regards > > Lei > > > > > -----Original Message----- > > > From: Alexander Kanavin <alex.kanavin@gmail.com> > > > Sent: Friday, May 10, 2024 4:43 PM > > > To: Lei, Maohui <leimaohui@fujitsu.com> > > > Cc: openembedded-core@lists.openembedded.org > > > Subject: Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error > > > when enable multilib. > > > > > > It's in abelloni/master-next on poky-contrib. Please read Richard's > > > status email and try to pay attention to them going forward: > > > > > > > > https://lists.openembedded.org/g/openembedded-architecture/message/20 > > > 03 > > > > > > Alex > > > > > > On Fri, 10 May 2024 at 03:19, leimaohui via lists.openembedded.org > > > <leimaohui=fujitsu.com@lists.openembedded.org> wrote: > > > > > > > > Ping > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: openembedded-core@lists.openembedded.org > > > > > <openembedded-core@lists.openembedded.org> On Behalf Of > > leimaohui > > > > > via lists.openembedded.org > > > > > Sent: Tuesday, April 30, 2024 4:27 PM > > > > > To: openembedded-core@lists.openembedded.org > > > > > Cc: Lei, Maohui <leimaohui@fujitsu.com> > > > > > Subject: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error > > > > > when enable multilib. > > > > > > > > > > From: Lei Maohui <leimaohui@fujitsu.com> > > > > > > > > > > - Fix the conflict error by oe_multilib_header. The conflict error > > > > > is as the > > > > > following: > > > > > Error: Transaction test error: > > > > > file /usr/include/bsd/sys/cdefs.h conflicts between attempted > > > > > installs of > > > > > libbsd-dev-0.12.1-r0.core2_64 and > > > > > lib32-libbsd-dev-0.12.1-r0.core2_32 > > > > > > > > > > The difference of bsd/sys/cdefs.h between libbsd-dev and > > > > > lib32-libbsd-dev is as following: > > > > > > > > > > /* Define the ABI for the current system. */ -#define > > > > > LIBBSD_SYS_TIME_BITS 64 +#define LIBBSD_SYS_TIME_BITS 32 > > #define > > > > > LIBBSD_SYS_HAS_TIME64 1 > > > > > > > > > > - After oe_multilib_header on cdefs.h, the path of cdefs-64.h and > > > > > cdefs-32.h in cdefs.h need to be corrected for overlay-mode. > > > > > Please reference to > > > > > https://man.archlinux.org/man/libbsd.7 for details. > > > > > @@ -12,19 +12,19 @@ > > > > > #ifdef _MIPS_SIM > > > > > > > > > > #if _MIPS_SIM == _ABIO32 > > > > > -#include <bsd/sys/cdefs-32.h> > > > > > +#include <sys/cdefs-32.h> > > > > > #elif _MIPS_SIM == _ABIN32 > > > > > -#include <bsd/sys/cdefs-n32.h> > > > > > +#include <sys/cdefs-n32.h> > > > > > #else > > > > > #error "Unknown _MIPS_SIM" > > > > > #endif > > > > > > > > > > #else /* _MIPS_SIM is not defined */ -#include > > > > > <bsd/sys/cdefs-32.h> > > > > > +#include <sys/cdefs-32.h> > > > > > #endif > > > > > > > > > > #elif __WORDSIZE == 64 > > > > > -#include <bsd/sys/cdefs-64.h> > > > > > +#include <sys/cdefs-64.h> > > > > > #else > > > > > #error "Unknown __WORDSIZE detected" > > > > > #endif /* matches #if __WORDSIZE == 32 */ > > > > > > > > > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> > > > > > --- > > > > > meta/recipes-support/libbsd/libbsd_0.12.2.bb | 10 +++++++++- > > > > > 1 file changed, 9 insertions(+), 1 deletion(-) > > > > > > > > > > diff --git a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > > b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > > index 7d5e88f293..1791d97dfd 100644 > > > > > --- a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > > +++ b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > > @@ -40,8 +40,16 @@ SRC_URI = > > > > > "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz" > > > > > > > > > > SRC_URI[sha256sum] = > > > > > > > > > > "b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a147310 > > > > > 14" > > > > > > > > > > -inherit autotools pkgconfig > > > > > +inherit autotools pkgconfig multilib_header > > > > > > > > > > DEPENDS += "libmd" > > > > > > > > > > +do_install:append () { > > > > > + oe_multilib_header bsd/sys/cdefs.h > > > > > + # It hasn't been tested when libbsd is used in 'namespaced headers' > > > > > mode according to > > > > > + # https://man.archlinux.org/man/libbsd.7. > > > > > + sed -i 's:#include <bsd/sys/cdefs:#include <sys/cdefs:g' > > > > > +${D}${includedir}/bsd/sys/cdefs.h } > > > > > + > > > > > + > > > > > BBCLASSEXTEND = "native nativesdk" > > > > > -- > > > > > 2.34.1 > > > > > > > > > > > > > > > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable multilib. 2024-05-29 9:56 ` Alexander Kanavin @ 2024-05-31 3:03 ` Maohui Lei (Fujitsu) 0 siblings, 0 replies; 9+ messages in thread From: Maohui Lei (Fujitsu) @ 2024-05-31 3:03 UTC (permalink / raw) To: Alexander Kanavin; +Cc: openembedded-core@lists.openembedded.org Hi, Alex > It's still in abelloni/master-next, nothing has changed. Where did you look for > it? I'm sorry I bothered you again. Yes, it is still in abelloni/master-next. I found it by git clone the repository in local. Previously, I searched it on web paged and didn't find it. Best regards Lei > -----Original Message----- > From: Alexander Kanavin <alex.kanavin@gmail.com> > Sent: Wednesday, May 29, 2024 5:57 PM > To: Lei, Maohui <leimaohui@fujitsu.com> > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when > enable multilib. > > It's still in abelloni/master-next, nothing has changed. Where did you look for > it? > > Alex > > On Wed, 29 May 2024 at 04:01, Maohui Lei (Fujitsu) > <leimaohui@fujitsu.com> wrote: > > > > Hi, > > > > This patch has not been merged yet and I didn't find it any more. Is there > any issue with this patch? > > > > Best regards > > Lei > > > > > -----Original Message----- > > > From: openembedded-core@lists.openembedded.org > > > <openembedded-core@lists.openembedded.org> On Behalf Of leimaohui > > > via lists.openembedded.org > > > Sent: Monday, May 13, 2024 8:45 AM > > > To: Alexander Kanavin <alex.kanavin@gmail.com> > > > Cc: openembedded-core@lists.openembedded.org > > > Subject: Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error > > > when enable multilib. > > > > > > Hi, Alex > > > > > > > It's in abelloni/master-next on poky-contrib. Please read > > > > Richard's status email and try to pay attention to them going forward: > > > I got it. Thank you for your reply. > > > > > > Best regards > > > Lei > > > > > > > -----Original Message----- > > > > From: Alexander Kanavin <alex.kanavin@gmail.com> > > > > Sent: Friday, May 10, 2024 4:43 PM > > > > To: Lei, Maohui <leimaohui@fujitsu.com> > > > > Cc: openembedded-core@lists.openembedded.org > > > > Subject: Re: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error > > > > when enable multilib. > > > > > > > > It's in abelloni/master-next on poky-contrib. Please read > > > > Richard's status email and try to pay attention to them going forward: > > > > > > > > > > > > https://lists.openembedded.org/g/openembedded-architecture/message/2 > > > 0 > > > > 03 > > > > > > > > Alex > > > > > > > > On Fri, 10 May 2024 at 03:19, leimaohui via lists.openembedded.org > > > > <leimaohui=fujitsu.com@lists.openembedded.org> wrote: > > > > > > > > > > Ping > > > > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: openembedded-core@lists.openembedded.org > > > > > > <openembedded-core@lists.openembedded.org> On Behalf Of > > > leimaohui > > > > > > via lists.openembedded.org > > > > > > Sent: Tuesday, April 30, 2024 4:27 PM > > > > > > To: openembedded-core@lists.openembedded.org > > > > > > Cc: Lei, Maohui <leimaohui@fujitsu.com> > > > > > > Subject: [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error > > > > > > when enable multilib. > > > > > > > > > > > > From: Lei Maohui <leimaohui@fujitsu.com> > > > > > > > > > > > > - Fix the conflict error by oe_multilib_header. The conflict > > > > > > error is as the > > > > > > following: > > > > > > Error: Transaction test error: > > > > > > file /usr/include/bsd/sys/cdefs.h conflicts between > > > > > > attempted installs of > > > > > > libbsd-dev-0.12.1-r0.core2_64 and > > > > > > lib32-libbsd-dev-0.12.1-r0.core2_32 > > > > > > > > > > > > The difference of bsd/sys/cdefs.h between libbsd-dev and > > > > > > lib32-libbsd-dev is as following: > > > > > > > > > > > > /* Define the ABI for the current system. */ -#define > > > > > > LIBBSD_SYS_TIME_BITS 64 +#define LIBBSD_SYS_TIME_BITS 32 > > > #define > > > > > > LIBBSD_SYS_HAS_TIME64 1 > > > > > > > > > > > > - After oe_multilib_header on cdefs.h, the path of cdefs-64.h > > > > > > and cdefs-32.h in cdefs.h need to be corrected for overlay-mode. > > > > > > Please reference to > > > > > > https://man.archlinux.org/man/libbsd.7 for details. > > > > > > @@ -12,19 +12,19 @@ > > > > > > #ifdef _MIPS_SIM > > > > > > > > > > > > #if _MIPS_SIM == _ABIO32 > > > > > > -#include <bsd/sys/cdefs-32.h> > > > > > > +#include <sys/cdefs-32.h> > > > > > > #elif _MIPS_SIM == _ABIN32 > > > > > > -#include <bsd/sys/cdefs-n32.h> > > > > > > +#include <sys/cdefs-n32.h> > > > > > > #else > > > > > > #error "Unknown _MIPS_SIM" > > > > > > #endif > > > > > > > > > > > > #else /* _MIPS_SIM is not defined */ -#include > > > > > > <bsd/sys/cdefs-32.h> > > > > > > +#include <sys/cdefs-32.h> > > > > > > #endif > > > > > > > > > > > > #elif __WORDSIZE == 64 > > > > > > -#include <bsd/sys/cdefs-64.h> > > > > > > +#include <sys/cdefs-64.h> > > > > > > #else > > > > > > #error "Unknown __WORDSIZE detected" > > > > > > #endif /* matches #if __WORDSIZE == 32 */ > > > > > > > > > > > > Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> > > > > > > --- > > > > > > meta/recipes-support/libbsd/libbsd_0.12.2.bb | 10 +++++++++- > > > > > > 1 file changed, 9 insertions(+), 1 deletion(-) > > > > > > > > > > > > diff --git a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > > > b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > > > index 7d5e88f293..1791d97dfd 100644 > > > > > > --- a/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > > > +++ b/meta/recipes-support/libbsd/libbsd_0.12.2.bb > > > > > > @@ -40,8 +40,16 @@ SRC_URI = > > > > > > "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz" > > > > > > > > > > > > SRC_URI[sha256sum] = > > > > > > > > > > > > > > "b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a147310 > > > > > > 14" > > > > > > > > > > > > -inherit autotools pkgconfig > > > > > > +inherit autotools pkgconfig multilib_header > > > > > > > > > > > > DEPENDS += "libmd" > > > > > > > > > > > > +do_install:append () { > > > > > > + oe_multilib_header bsd/sys/cdefs.h > > > > > > + # It hasn't been tested when libbsd is used in 'namespaced > headers' > > > > > > mode according to > > > > > > + # https://man.archlinux.org/man/libbsd.7. > > > > > > + sed -i 's:#include <bsd/sys/cdefs:#include <sys/cdefs:g' > > > > > > +${D}${includedir}/bsd/sys/cdefs.h } > > > > > > + > > > > > > + > > > > > > BBCLASSEXTEND = "native nativesdk" > > > > > > -- > > > > > > 2.34.1 > > > > > > > > > > > > > > > > > > > > ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-06-19 8:34 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 8:27 [OE-core][PATCH v4][PATCH] libbsd: Fix conflict error when enable multilib leimaohui
2024-06-11 9:23 ` Richard Purdie
2024-06-19 8:34 ` Maohui Lei (Fujitsu)
[not found] <17CB016975A375B8.19032@lists.openembedded.org>
2024-05-10 1:19 ` Maohui Lei (Fujitsu)
2024-05-10 8:43 ` Alexander Kanavin
2024-05-13 0:45 ` Maohui Lei (Fujitsu)
[not found] ` <17CEE5C1836CC254.26216@lists.openembedded.org>
2024-05-29 2:01 ` Maohui Lei (Fujitsu)
2024-05-29 9:56 ` Alexander Kanavin
2024-05-31 3:03 ` Maohui Lei (Fujitsu)
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox