[oe] [meta-qt5][PATCH] gdb: Fix QA Warning

Martin Jansa martin.jansa at gmail.com
Fri Dec 2 10:31:05 UTC 2016


On Fri, Dec 02, 2016 at 11:21:13AM +0100, Gordan Markuš wrote:
> On Fri, 2016-12-02 at 10:54 +0100, Martin Jansa wrote:
> > On Fri, Dec 02, 2016 at 10:20:11AM +0100, Gordan Markuš wrote:
> > > WARNING: QA Issue: gdb: invalid PACKAGECONFIG: readline [invalid-
> > > packageconfig]
> > > 
> > > Signed-off-by: Gordan Markuš <gordan.markus at pelagicore.com>
> > > ---
> > >  recipes-devtools/gdb/gdb_%.bbappend | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > diff --git a/recipes-devtools/gdb/gdb_%.bbappend b/recipes-
> > > devtools/gdb/gdb_%.bbappend
> > > index 3e663e7..41592c4 100644
> > > --- a/recipes-devtools/gdb/gdb_%.bbappend
> > > +++ b/recipes-devtools/gdb/gdb_%.bbappend
> > > @@ -1 +1 @@
> > > -PACKAGECONFIG ??= "readline python"
> > > +PACKAGECONFIG ??= "python"
> > 
> > What gdb are you using? The version in oe-core has readline
> > PACKAGECONFIG
> > 
> > meta/recipes-devtools/gdb/gdb-common.inc:PACKAGECONFIG ??= "readline"
> > meta/recipes-devtools/gdb/gdb-common.inc:# Use --without-system-
> > readline to compile with readline 5.
> > meta/recipes-devtools/gdb/gdb-common.inc:PACKAGECONFIG[readline] = "-
> > -with-system-readline,--without-system-readline,readline"
> > 
> We are using the gdb from poky and it's a similar case there. Though, 
> the gdb itself doesn't have the readline PACKAGECONFIG. It is enabled
> by default in the *.inc files. 

No, it isn't, read:
https://patchwork.openembedded.org/patch/116843/
discussion.

> gdb-cross-canadian.inc:PACKAGECONFIG ??= "python readline"
> gdb-cross-canadian.inc:PACKAGECONFIG[readline] = "--with-system-
> readline,--without-system-readline,nativesdk-readline"
> gdb-common.inc:PACKAGECONFIG ??= "readline"
> gdb-common.inc:PACKAGECONFIG[readline] = "--with-system-readline,
> --without-system-readline,readline"
> gdb-cross.inc:PACKAGECONFIG ??= "python readline"
> gdb-cross.inc:PACKAGECONFIG[readline] = "--with-system-readline,
> --without-system-readline,readline-native"
> 
> > > -- 
> > > 2.9.3
> > > 
> > > -- 
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel at lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > 
> > 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20161202/b46183b7/attachment-0002.sig>


More information about the Openembedded-devel mailing list