On Wed, Mar 20, 2024 at 6:20 PM Maohui Lei (Fujitsu)
<leimao...@fujitsu.com> wrote:
>
> Hi.
>
> > This causes mg build failures see
> > https://errors.yoctoproject.org/Errors/Details/759473/
>
> I'm sorry that I can't reproduce this error. I used the default qemux86.conf, 
> and bitbake libbsd. There is no error.
> So, can you show me your config of i686-yoe-linux?

I guess you might need to throw in meta-clang into layers and use
TOOLCHAIN = "clang" perhaps.

>
> Best regards
> Lei
>
>
>
>
> > -----Original Message-----
> > From: Khem Raj <raj.k...@gmail.com>
> > Sent: Wednesday, March 20, 2024 1:22 PM
> > To: Lei, Maohui <leimao...@fujitsu.com>
> > Cc: openembedded-core@lists.openembedded.org
> > Subject: Re: [OE-core] [PATCH] libbsd: Fix conflict error when enable 
> > multlib.
> >
> > This causes mg build failures see
> > https://errors.yoctoproject.org/Errors/Details/759473/
> >
> > On Mon, Mar 18, 2024 at 5:45 PM leimaohui via lists.openembedded.org
> > <leimaohui=fujitsu....@lists.openembedded.org> wrote:
> > >
> > > From: Lei Maohui <leimao...@fujitsu.com>
> > >
> > > 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
> > >
> > > Signed-off-by: Lei Maohui <leimao...@fujitsu.com>
> > > ---
> > >  meta/recipes-support/libbsd/libbsd_0.12.1.bb | 6 +++++-
> > >  1 file changed, 5 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/meta/recipes-support/libbsd/libbsd_0.12.1.bb
> > > b/meta/recipes-support/libbsd/libbsd_0.12.1.bb
> > > index 161dc6df43..84edd9bafa 100644
> > > --- a/meta/recipes-support/libbsd/libbsd_0.12.1.bb
> > > +++ b/meta/recipes-support/libbsd/libbsd_0.12.1.bb
> > > @@ -40,8 +40,12 @@ SRC_URI =
> > "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz";
> > >
> > >  SRC_URI[sha256sum] =
> > "d7747f8ec1baa6ff5c096a9dd587c061233dec90da0f1aedd66d830f6db6996a"
> > >
> > > -inherit autotools pkgconfig
> > > +inherit autotools pkgconfig multilib_header
> > >
> > >  DEPENDS += "libmd"
> > >
> > > +do_install:append () {
> > > +       oe_multilib_header bsd/sys/cdefs.h }
> > > +
> > >  BBCLASSEXTEND = "native nativesdk"
> > > --
> > > 2.34.1
> > >
> > >
> > > 
> > >
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#197404): 
https://lists.openembedded.org/g/openembedded-core/message/197404
Mute This Topic: https://lists.openembedded.org/mt/105016171/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to