librav1e: add missing libgit2 build dependency
PATCH 1/4 librav1e: add missing libgit2 build dependency
Not sure why an AV1 encoder needs libgit2 but that's rust's dependency tree for you. Needed since our cargo class now stops the git2-sys crate from using a bundled copy of libgit2.
--- meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb | 1 + 1 file changed, 1 insertion(+)
meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb +1 -0
@@ -7,6 +7,7 @@ inherit cargo_c pkgconfig cargo-update-recipe-crates require ${PN}-crates.inc +DEPENDS = "libgit2" DEPENDS:append:x86 = " nasm-native" DEPENDS:append:x86-64 = " nasm-native"
Signature · 1 line
2.43.0
PATCH 2/4 librice: allow building bundled rice-proto
rice-proto isn't really bundled but is a subproject in librice that is built using the pkg-config crate. However the cargo class now disables bundled dependencies, so explicitly allow rice-proto to be built.
--- meta-oe/recipes-support/librice/librice_0.4.3.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-support/librice/librice_0.4.3.bb +2 -0
@@ -31,3 +31,5 @@ export LIBCLANG_PATH = "${STAGING_LIBDIR_NATIVE}/libclang.so" export PKG_CONFIG_SYSROOT_DIR = "" export OPENSSL_LIB_DIR = "${STAGING_LIBDIR}" export OPENSSL_INCLUDE_DIR = "${STAGING_INCDIR}" + +export SYSTEM_DEPS_RICE_PROTO_BUILD_INTERNAL = "always"
Signature · 1 line
2.43.0
PATCH 3/4 lsd: add missing libgit2 build dependency
In reply to Ross BurtonNeeded since our cargo class now stops the git2-sys crate from using a bundled copy of libgit2. Also inherit pkgconfig as that is used to find the system libgit2.
--- meta-oe/recipes-extended/lsd/lsd_1.2.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/lsd/lsd_1.2.0.bb +3 -1
@@ -13,7 +13,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=153d2db1c329326a2d9f881317ea942e" SRC_URI = "git://github.com/lsd-rs/lsd.git;protocol=https;branch=main;tag=v${PV}" SRCREV = "d5a4e1cb80626d5ec94b237f6b77f7280d0f2fc9" -inherit cargo cargo-update-recipe-crates +DEPENDS = "libgit2" + +inherit cargo cargo-update-recipe-crates pkgconfig require ${BPN}-crates.inc
Signature · 1 line
2.43.0
PATCH 4/4 nushell: add missing build dependencies
In reply to Ross BurtonNeeded since our cargo class now stops the git2-sys and sqlite3-sys crates from using a bundled copies of the libraries.
--- meta-oe/recipes-extended/nushell/nushell_0.114.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/nushell/nushell_0.114.1.bb +3 -1
@@ -10,12 +10,14 @@ LIC_FILES_CHKSUM = " \ file://LICENSE;md5=ea22f3cfd911b3519505220cfc0ce542 \ " +DEPENDS = "libgit2 sqlite3" + SRC_URI = "crate://crates.io/nu/${PV};name=nu" SRC_URI[nu.sha256sum] = "a840c40450e4ab0b95c81aa3ef965f31a5da47f6e6823f00da5edfe9fcdf05c9" S = "${CARGO_VENDORING_DIRECTORY}/nu-${PV}" -inherit cargo cargo-update-recipe-crates +inherit cargo cargo-update-recipe-crates pkgconfig require ${BPN}-crates.inc
Signature · 1 line
2.43.0
This series is needed when "cargo: centralise anti-vendoring environment variables” is merged into oe-core.
Ross
Quoted 35 lines · Ross Burton via lists.openembedded.org
Not sure why an AV1 encoder needs libgit2 but that's rust's dependency tree for you. Needed since our cargo class now stops the git2-sys crate from using a bundled copy of libgit2.
Signed-off-by Ross Burton <[email protected]>---
meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb | 1 +1 file changed, 1 insertion(+)meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb +0
-0@@ -7,6 +7,7 @@ inherit cargo_c pkgconfig cargo-update-recipe-cratesrequire ${PN}-crates.inc
+DEPENDS = "libgit2"
DEPENDS:append:x86 = " nasm-native"
DEPENDS:append:x86-64 = " nasm-native"Signature · 10 lines
2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#128589): https://lists.openembedded.org/g/openembedded-devel/message/128589 Mute This Topic: https://lists.openembedded.org/mt/120539931/6875888 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
fails on master-next with
https://errors.yoctoproject.org/Errors/Details/958359/
this is on arm64 build host
Quoted 38 lines · Ross Burton via lists.openembedded.org
Not sure why an AV1 encoder needs libgit2 but that's rust's dependency tree for you. Needed since our cargo class now stops the git2-sys crate from using a bundled copy of libgit2.
Signed-off-by Ross Burton <[email protected]>--- meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0librav1e_p20250902.bb b/meta-multimedia/recipes-multimedia/rav1e/ librav1e_p20250902.bb
index4c03c9417d..740918bd18100644meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb +1
-1@@ -7,6 +7,7 @@ inherit cargo_c pkgconfig cargo-update-recipe-crates require ${PN}-crates.inc +DEPENDS = "libgit2" DEPENDS:append:x86 = " nasm-native" DEPENDS:append:x86-64 = " nasm-native" --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#128589):
https://lists.openembedded.org/g/openembedded-devel/message/128589
Mute This Topic: https://lists.openembedded.org/mt/120539931/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 3 lines · Khem Raj
fails on master-next with https://errors.yoctoproject.org/Errors/Details/958359/
this is on arm64 build host
Did ravi1e work on that host before the patch? I can’t make it build at all, as it’s mixing host and target paths during the build.
Ross