The DEPENDS append used the raw TARGET_ARCH value "x86_64" as an
override:

  DEPENDS:append:x86_64 = " nasm-native"

but OVERRIDES is built from TRANSLATED_TARGET_ARCH, which replaces "_"
with "-", so the effective override token is "x86-64". The "x86_64"
form never matches and nasm-native is never pulled in, so do_compile
fails on x86-64 with:

  error: Unable to run nasm: No such file or directory (os error 2)

Use the correct "x86-64" token (matching the INHIBIT_PACKAGE_DEBUG_SPLIT
line right below it) and also add the "x86" variant for 32-bit x86
targets, mirroring dav1d.

Signed-off-by: Khem Raj <[email protected]>
---
 meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb 
b/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb
index 80ac5d9268..4c03c9417d 100644
--- a/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb
+++ b/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb
@@ -7,7 +7,8 @@ inherit cargo_c pkgconfig cargo-update-recipe-crates

 require ${PN}-crates.inc

-DEPENDS:append:x86_64 = " nasm-native"
+DEPENDS:append:x86 = " nasm-native"
+DEPENDS:append:x86-64 = " nasm-native"

 SRC_URI += 
"git://github.com/xiph/rav1e.git;protocol=https;nobranch=1;tag=${PV}"
 SRCREV = "a2f01b3e233f531c28a20b4c29fb5c9e5d29fa6d"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#128148): 
https://lists.openembedded.org/g/openembedded-devel/message/128148
Mute This Topic: https://lists.openembedded.org/mt/120242466/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to