On Thu, 2024-09-19 at 14:41 +0100, Richard Purdie via lists.openembedded.org 
wrote:
> On Thu, 2024-09-19 at 05:48 -0700, Sadineni, Harish via 
> lists.openembedded.org wrote:
> > From: Harish Sadineni <[email protected]>
> > 
> > Fixes the follwing error while building nativesdk-binutils with 
> > i686-mingw32 as SDKMACHINE:
> > ERROR: nativesdk-binutils-2.43.1-r0 do_package: QA Issue: 
> > nativesdk-binutils: Files/directories
> > were installed but not shipped in any package:
> >    
> > /usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/lib/bfd-plugins
> >    
> > /usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/lib/bfd-plugins/libdep.dll
> > 
> > Signed-off-by: Harish Sadineni <[email protected]>
> > ---
> >  meta/recipes-devtools/binutils/binutils_2.43.1.bb | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/meta/recipes-devtools/binutils/binutils_2.43.1.bb 
> > b/meta/recipes-devtools/binutils/binutils_2.43.1.bb
> > index 2cce40f1ef..eb7c16cbc4 100644
> > --- a/meta/recipes-devtools/binutils/binutils_2.43.1.bb
> > +++ b/meta/recipes-devtools/binutils/binutils_2.43.1.bb
> > @@ -72,5 +72,6 @@ SRC_URI:append:class-nativesdk =  " 
> > file://0003-binutils-nativesdk-Search-for-al
> >  
> >  USE_ALTERNATIVES_FOR:class-nativesdk = ""
> >  FILES:${PN}:append:class-nativesdk = " ${bindir}"
> > +FILES:${PN}:append:class-nativesdk = " ${libdir}/bfd-plugins"
> >  
> >  BBCLASSEXTEND = "native nativesdk"
> 
> I ended up digging into this a lot more. I was able to reproduce the
> failure locally but that implies the autobuilder isn't testing this
> combination. According to the configuration, it should be so I'm a bit
> puzzled why the autobuilder doesn't see it.
> 
> The autobuilder config for this is here:
> 
> https://git.yoctoproject.org/yocto-autobuilder-helper/tree/config.json#n1362
> 
> Resulting in a build such as this:
> 
> https://valkyrie.yoctoproject.org/#/builders/7/builds/162
> 
> I would like to understand why automated testing isn't catching this.

Just to complete things on this topic, I realised the issue. We build
binutils-cross-canadian-* for mingw but nativesdk-bintuils isn't that
useful in general on mingw and isn't built. I'd be curious if you are
actually using it.

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#204716): 
https://lists.openembedded.org/g/openembedded-core/message/204716
Mute This Topic: https://lists.openembedded.org/mt/108538762/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to