diff mbox series

[meta-oe] ripgrep: limit libstd-rs DEPENDS to class-target

Message ID 20251213041635.3859879-1-Deepesh.Varatharajan@windriver.com
State New
Headers show
Series [meta-oe] ripgrep: limit libstd-rs DEPENDS to class-target | expand

Commit Message

Deepesh Varatharajan Dec. 13, 2025, 4:16 a.m. UTC
From: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>

Avoid pulling in a non-existent libstd-rs-native dependency by
restricting libstd-rs to class-target builds.

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
---
 meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Deepesh Varatharajan Dec. 13, 2025, 4:23 a.m. UTC | #1
This fixes below warnings
https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/546
https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/547

Regards,
Deepesh
Khem Raj Dec. 13, 2025, 6:26 a.m. UTC | #2
On Fri, Dec 12, 2025 at 8:16 PM Varatharajan, Deepesh via
lists.openembedded.org <deepesh.varatharajan=
windriver.com@lists.openembedded.org> wrote:

> From: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
>
> Avoid pulling in a non-existent libstd-rs-native dependency by
> restricting libstd-rs to class-target builds.
>
> Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
> ---
>  meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
> b/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
> index 7bb6be1cb6..0ef671cf04 100644
> --- a/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
> +++ b/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
> @@ -15,7 +15,7 @@ S = "${CARGO_VENDORING_DIRECTORY}/ripgrep-${PV}"
>
>  inherit cargo cargo-update-recipe-crates
>
> -DEPENDS += "libstd-rs"
> +DEPENDS:class-target += "libstd-rs"
>

This should be DEPENDS:append:class-target = " libstd-rs"


>
>  require ${BPN}-crates.inc
>
> --
> 2.49.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#122628):
> https://lists.openembedded.org/g/openembedded-devel/message/122628
> Mute This Topic: https://lists.openembedded.org/mt/116758522/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Deepesh Varatharajan Dec. 13, 2025, 6:29 a.m. UTC | #3
On 13-12-2025 11:56, Khem Raj wrote:
> **
> *CAUTION: This email comes from a non Wind River email account!*
> Do not click links or open attachments unless you recognize the sender 
> and know the content is safe.
>
>
> On Fri, Dec 12, 2025 at 8:16 PM Varatharajan, Deepesh via 
> lists.openembedded.org 
> <https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8EvQ!d8PJoSdVRi1qP3Ht5K8VhfFqCYGuOLwDzBcRghko5GzfrdEboxekBPj1x2N2mRx1iJbJ0SED8ulFvh1rGZflKP8xaQ8$> 
> <deepesh.varatharajan=windriver.com@lists.openembedded.org> wrote:
>
>     From: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
>
>     Avoid pulling in a non-existent libstd-rs-native dependency by
>     restricting libstd-rs to class-target builds.
>
>     Signed-off-by: Deepesh Varatharajan
>     <Deepesh.Varatharajan@windriver.com>
>     ---
>      meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
>     <https://urldefense.com/v3/__http://ripgrep_15.1.0.bb__;!!AjveYdw8EvQ!d8PJoSdVRi1qP3Ht5K8VhfFqCYGuOLwDzBcRghko5GzfrdEboxekBPj1x2N2mRx1iJbJ0SED8ulFvh1rGZflxnWLEIA$>
>     | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
>
>     diff --git a/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
>     <https://urldefense.com/v3/__http://ripgrep_15.1.0.bb__;!!AjveYdw8EvQ!d8PJoSdVRi1qP3Ht5K8VhfFqCYGuOLwDzBcRghko5GzfrdEboxekBPj1x2N2mRx1iJbJ0SED8ulFvh1rGZflxnWLEIA$>
>     b/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
>     <https://urldefense.com/v3/__http://ripgrep_15.1.0.bb__;!!AjveYdw8EvQ!d8PJoSdVRi1qP3Ht5K8VhfFqCYGuOLwDzBcRghko5GzfrdEboxekBPj1x2N2mRx1iJbJ0SED8ulFvh1rGZflxnWLEIA$>
>     index 7bb6be1cb6..0ef671cf04 100644
>     --- a/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
>     <https://urldefense.com/v3/__http://ripgrep_15.1.0.bb__;!!AjveYdw8EvQ!d8PJoSdVRi1qP3Ht5K8VhfFqCYGuOLwDzBcRghko5GzfrdEboxekBPj1x2N2mRx1iJbJ0SED8ulFvh1rGZflxnWLEIA$>
>     +++ b/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
>     <https://urldefense.com/v3/__http://ripgrep_15.1.0.bb__;!!AjveYdw8EvQ!d8PJoSdVRi1qP3Ht5K8VhfFqCYGuOLwDzBcRghko5GzfrdEboxekBPj1x2N2mRx1iJbJ0SED8ulFvh1rGZflxnWLEIA$>
>     @@ -15,7 +15,7 @@ S = "${CARGO_VENDORING_DIRECTORY}/ripgrep-${PV}"
>
>      inherit cargo cargo-update-recipe-crates
>
>     -DEPENDS += "libstd-rs"
>     +DEPENDS:class-target += "libstd-rs"
>
>
> This should be DEPENDS:append:class-target = " libstd-rs"
Sure Khem, v2 incoming.

Regards,
Deepesh
>
>
>      require ${BPN}-crates.inc
>     <https://urldefense.com/v3/__http://-crates.inc__;!!AjveYdw8EvQ!d8PJoSdVRi1qP3Ht5K8VhfFqCYGuOLwDzBcRghko5GzfrdEboxekBPj1x2N2mRx1iJbJ0SED8ulFvh1rGZflv2nwesw$>
>
>     -- 
>     2.49.0
>
>
>     -=-=-=-=-=-=-=-=-=-=-=-
>     Links: You receive all messages sent to this group.
>     View/Reply Online (#122628):
>     https://lists.openembedded.org/g/openembedded-devel/message/122628
>     <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/122628__;!!AjveYdw8EvQ!d8PJoSdVRi1qP3Ht5K8VhfFqCYGuOLwDzBcRghko5GzfrdEboxekBPj1x2N2mRx1iJbJ0SED8ulFvh1rGZfl-I0LkNQ$>
>     Mute This Topic:
>     https://lists.openembedded.org/mt/116758522/1997914
>     <https://urldefense.com/v3/__https://lists.openembedded.org/mt/116758522/1997914__;!!AjveYdw8EvQ!d8PJoSdVRi1qP3Ht5K8VhfFqCYGuOLwDzBcRghko5GzfrdEboxekBPj1x2N2mRx1iJbJ0SED8ulFvh1rGZflhMf5ol0$>
>     Group Owner: openembedded-devel+owner@lists.openembedded.org
>     <mailto:openembedded-devel%2Bowner@lists.openembedded.org>
>     Unsubscribe:
>     https://lists.openembedded.org/g/openembedded-devel/unsub
>     <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/unsub__;!!AjveYdw8EvQ!d8PJoSdVRi1qP3Ht5K8VhfFqCYGuOLwDzBcRghko5GzfrdEboxekBPj1x2N2mRx1iJbJ0SED8ulFvh1rGZflWolZFfs$>
>     [raj.khem@gmail.com]
>     -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb b/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
index 7bb6be1cb6..0ef671cf04 100644
--- a/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
+++ b/meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb
@@ -15,7 +15,7 @@  S = "${CARGO_VENDORING_DIRECTORY}/ripgrep-${PV}"
 
 inherit cargo cargo-update-recipe-crates
 
-DEPENDS += "libstd-rs"
+DEPENDS:class-target += "libstd-rs"
 
 require ${BPN}-crates.inc