I'm not sure but since this error happened while trying to build nativesdk-nghttp2 i think the issue is, that RDEPENDS are removed for native but not for nativesdk.

   RDEPENDS:${PN}:class-native = ""

Other possible fixes then should be either to remove them also for nativesdk

   RDEPENDS:${PN}:class-nativesdk = ""

or adding RDEPENDS on client/server for class-target only

   RDEPENDS:${PN}:class-target = "${PN}-client (>= ${PV}) ${PN}-proxy
   (>= ${PV}) ${PN}-server (>= ${PV})"


Markus


Am 31.05.22 um 16:21 schrieb richard.pur...@linuxfoundation.org:
On Tue, 2022-05-24 at 16:49 +0200, Markus Volk wrote:
Error:
  Problem 1: package nghttp2-dev-1.47.0-r0.corei7_64 requires nghttp2 = 
1.47.0-r0, but none of the providers can be installed
   - conflicting requests
   - nothing provides nghttp2-client >= 1.47.0 needed by 
nghttp2-1.47.0-r0.corei7_64
   - nothing provides nghttp2-server >= 1.47.0 needed by 
nghttp2-1.47.0-r0.corei7_64

Signed-off-by: Markus Volk<f_...@t-online.de>
---
  meta/recipes-support/nghttp2/nghttp2_1.47.0.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb 
b/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb
index 58ce08084d..051a6e4ecb 100644
--- a/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb
+++ b/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb
@@ -21,7 +21,7 @@ EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF 
-DENABLE_HPACK_TOOLS=OFF
PACKAGES =+ "lib${BPN} ${PN}-client ${PN}-proxy ${PN}-server" -RDEPENDS:${PN} = "${PN}-client (>= ${PV}) ${PN}-proxy (>= ${PV}) ${PN}-server (>= ${PV})"
+RRECOMMENDS:${PN} = "${PN}-client (>= ${PV}) ${PN}-proxy (>= ${PV}) ${PN}-server 
(>= ${PV})"
  RDEPENDS:${PN}:class-native = ""
  RDEPENDS:${PN}-proxy = "openssl python3-core python3-io python3-shell"
I'm not sure this is correct as if the dependencies are incorrect we
shouldn't be making then RRECOMMENDS? What is the real issue here?

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#166317): 
https://lists.openembedded.org/g/openembedded-core/message/166317
Mute This Topic: https://lists.openembedded.org/mt/91312606/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to