From 6911d1f7af9047d6ed7b6aa67e73ca76918758bf Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Thu, 11 Jul 2024 00:56:36 -0700 Subject: [PATCH] libssh2: remove util-linux-col from ptest dependencies After util-linux upgrade to 2.40.1, we got the following QA issue on musl: WARNING: libssh2-1.11.0-r0 do_package_qa: QA Issue: libssh2-ptest rdepends on util-linux-col, but it isn't a build dependency? [build-deps] The issue appeared because new version util-linux has disabled building out col on musl[1]. In short, the reason is that col in util-linux requires something that musl does not provide. This 'util-linux-col' dependency was added in 2021, at that time the libssh2's version is 1.9.0. Now the version is 1.11.0 and I tested its ptest, it does not require util-linux-col to succeed. [1] https://github.com/util-linux/util-linux/commit/8886d84e25a457702b45194d69a47313f76dc6bc (From OE-Core rev: 9007de7e388e269028c7c1722f0d7ee76bc5d251) Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- meta/recipes-support/libssh2/libssh2_1.11.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/libssh2/libssh2_1.11.0.bb b/meta/recipes-support/libssh2/libssh2_1.11.0.bb index 5100e6f7f9..dc9b9ae364 100644 --- a/meta/recipes-support/libssh2/libssh2_1.11.0.bb +++ b/meta/recipes-support/libssh2/libssh2_1.11.0.bb @@ -31,7 +31,7 @@ PACKAGECONFIG[gcrypt] = "--with-crypto=libgcrypt --with-libgcrypt-prefix=${STAGI BBCLASSEXTEND = "native nativesdk" # required for ptest on documentation -RDEPENDS:${PN}-ptest = "bash man-db openssh util-linux-col" +RDEPENDS:${PN}-ptest = "bash man-db openssh" RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-en-us" do_compile_ptest() {