Hello,

This breaks package.PackageTests.test_gdb_hardlink_debug

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/5204/steps/15/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/5154/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/5233/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/5196/steps/14/logs/stdio

On 19/05/2023 11:58:09+0200, Alexander Kanavin wrote:
> This avoids pulling in the whole python stack if only
> the main package is installed.
> 
> Signed-off-by: Alexander Kanavin <[email protected]>
> ---
>  meta/recipes-devtools/gdb/gdb-common.inc | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/gdb/gdb-common.inc 
> b/meta/recipes-devtools/gdb/gdb-common.inc
> index 9db61b785f3..d03f744a845 100644
> --- a/meta/recipes-devtools/gdb/gdb-common.inc
> +++ b/meta/recipes-devtools/gdb/gdb-common.inc
> @@ -33,13 +33,17 @@ EXTRA_OECONF = "--disable-gdbtk --disable-x 
> --disable-werror \
>  PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 
> 'debuginfod', d)}"
>  # Use --without-system-readline to compile with readline 5.
>  PACKAGECONFIG[readline] = 
> "--with-system-readline,--without-system-readline,readline"
> -PACKAGECONFIG[python] = 
> "--with-python=${WORKDIR}/python,--without-python,python3,python3 
> python3-codecs"
> +PACKAGECONFIG[python] = 
> "--with-python=${WORKDIR}/python,--without-python,python3"
>  PACKAGECONFIG[babeltrace] = 
> "--with-babeltrace,--without-babeltrace,babeltrace"
>  # ncurses is already a hard DEPENDS, but would be added here if it weren't
>  PACKAGECONFIG[tui] = "--enable-tui,--disable-tui"
>  PACKAGECONFIG[xz] = "--with-lzma 
> --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz"
>  PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, 
> elfutils"
>  
> +PACKAGES =+ "${PN}-python"
> +RDEPENDS:${PN}-python = "python3 python3-codecs"
> +FILES:${PN}-python = "${datadir}/gdb/python/"
> +
>  GDBPROPREFIX = "--program-prefix=''"
>  
>  DISABLE_STATIC = ""
> -- 
> 2.30.2
> 

> 
> 
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#181575): 
https://lists.openembedded.org/g/openembedded-core/message/181575
Mute This Topic: https://lists.openembedded.org/mt/99009068/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to