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

Gordan Markuš gordan.markus at pelagicore.com
Fri Dec 2 10:21:13 UTC 2016


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. 

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
> 
> 



More information about the Openembedded-devel mailing list