Skip to contentSkip to conversation

ripgrep: limit libstd-rs DEPENDS to class-target

PATCH Superseded [email protected] 2 participants 4 messages Dec 13, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ripgrep: limit libstd-rs DEPENDS to class-target

From: Deepesh Varatharajan <[email protected]>

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

---
 meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb +1 -1
index 7bb6be1cb6..0ef671cf04 100644
@@ -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
 
Signature · 1 line
2.49.0
#2 lore raw
In reply to [email protected]
Quoted 16 lines · Deepesh via lists.openembedded.org

From: Deepesh Varatharajan <[email protected]>

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

---
 meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb +0 -0
index 7bb6be1cb6..0ef671cf04 100644

meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb S = "${CARGO_VENDORING_DIRECTORY}/ripgrep-${PV}" · line 19

Quoted 6 lines
meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb +1 -1
@@ -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"

Quoted 18 lines
meta-oe/recipes-extended/ripgrep/ripgrep_15.1.0.bb +0 -1
 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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw
Quoted 37 lines · Khem Raj

**
*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$> <[email protected]> wrote:

    From: Deepesh Varatharajan <[email protected]>

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

    Signed-off-by: Deepesh Varatharajan
    <[email protected]>
    ---
     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"
Quoted 1 line

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

Sure Khem, v2 incoming.

Regards,
Deepesh

Quoted 25 lines

     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: [email protected]
    <mailto:openembedded-devel%[email protected]>
    Unsubscribe:
    https://lists.openembedded.org/g/openembedded-devel/unsub
    <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/unsub__;!!AjveYdw8EvQ!d8PJoSdVRi1qP3Ht5K8VhfFqCYGuOLwDzBcRghko5GzfrdEboxekBPj1x2N2mRx1iJbJ0SED8ulFvh1rGZflWolZFfs$>
    [[email protected]]
    -=-=-=-=-=-=-=-=-=-=-=-