From bf090188e2372cd6c163a5419e7c3d51b1b17df6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 17 Mar 2025 16:39:04 -0700 Subject: [PATCH] cppzmq: Use ALLOW_EMPTY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit while ALLOW_EMPTY is frowned upon, this seems to be fitting to solve the issue at hand here. When adding cppzmq to target SDK This does not work resulting in ERROR: Nothing RPROVIDES 'cppzmq' (but calc-server_latest.bb RDEPENDS on or otherwise requires it) Adding cppzmq-dev dependency works for Target-SDK, but not for Target-Build: ERROR: calc-server-latest-r0 do_package_qa: QA Issue: calc-server rdepends on cppzmq-dev [dev-deps] Suggested-by: Lukas Weiß Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb b/meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb index dcea339dfd..135121c5ba 100644 --- a/meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb +++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb @@ -14,7 +14,4 @@ inherit cmake EXTRA_OECMAKE = "-DCPPZMQ_BUILD_TESTS=OFF" -PACKAGES = "${PN}-dev" - -RDEPENDS:${PN}-dev = "zeromq-dev zeromq-staticdev" -DEV_PKG_DEPENDENCY = "" +ALLOW_EMPTY:${PN} = "1"