Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: openembedded-core@lists.openembedded.org,
	Alexander Kanavin <alex@linutronix.de>
Subject: Re: [OE-core] [PATCH v2 1/3] gdb: package python support separately
Date: Sat, 20 May 2023 23:54:35 +0200	[thread overview]
Message-ID: <202305202154355c2ad3ee@mail.local> (raw)
In-Reply-To: <20230519095811.1387602-1-alex@linutronix.de>

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 <alex@linutronix.de>
> ---
>  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
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#181543): https://lists.openembedded.org/g/openembedded-core/message/181543
> Mute This Topic: https://lists.openembedded.org/mt/99009068/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


      parent reply	other threads:[~2023-05-20 21:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-19  9:58 [PATCH v2 1/3] gdb: package python support separately Alexander Kanavin
2023-05-19  9:58 ` [PATCH v2 2/3] gdb: enable python PACKAGECONFIG Alexander Kanavin
2023-05-19  9:58 ` [PATCH v2 3/3] valgrind: update 3.20.0 -> 3.21.0 Alexander Kanavin
2023-05-20 21:54 ` Alexandre Belloni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202305202154355c2ad3ee@mail.local \
    --to=alexandre.belloni@bootlin.com \
    --cc=alex.kanavin@gmail.com \
    --cc=alex@linutronix.de \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox