[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [oe-core][PATCH 1/2] nghttp2: unbreak do_populate_sdk
From:       "Markus Volk" <f_l_k () t-online ! de>
Date:       2022-05-31 14:52:06
Message-ID: 466ed7c2-73b6-2a39-8209-4afa5404ec7d () t-online ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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.purdie@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_l_k@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
> 
> 


[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>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. </p>
    <blockquote>
      <p>RDEPENDS:${PN}:class-native = ""</p>
    </blockquote>
    <p>Other possible fixes then should be either to remove them also
      for nativesdk<br>
    </p>
    <blockquote>
      <p>RDEPENDS:${PN}:class-nativesdk = ""</p>
    </blockquote>
    <p>or adding RDEPENDS on client/server for class-target only<br>
    </p>
    <blockquote>
      <p>RDEPENDS:${PN}:class-target = "${PN}-client (&gt;= ${PV})
        ${PN}-proxy (&gt;= ${PV}) ${PN}-server (&gt;= ${PV})"</p>
    </blockquote>
    <p><br>
    </p>
    <p>Markus<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 31.05.22 um 16:21 schrieb
      <a class="moz-txt-link-abbreviated" \
href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>:<br>
  </div>
    <blockquote type="cite"
cite="mid:116102a880d732f3ea406a61fc77d44f66aa9d02.camel@linuxfoundation.org">
      <pre class="moz-quote-pre" wrap="">On Tue, 2022-05-24 at 16:49 +0200, Markus \
Volk wrote: </pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">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 &gt;= 1.47.0 needed by \
                nghttp2-1.47.0-r0.corei7_64
  - nothing provides nghttp2-server &gt;= 1.47.0 needed by \
nghttp2-1.47.0-r0.corei7_64

Signed-off-by: Markus Volk <a class="moz-txt-link-rfc2396E" \
                href="mailto:f_l_k@t-online.de">&lt;f_l_k@t-online.de&gt;</a>
---
 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 (&gt;= ${PV}) ${PN}-proxy (&gt;= ${PV}) ${PN}-server \
(&gt;= ${PV})" +RRECOMMENDS:${PN} = "${PN}-client (&gt;= ${PV}) ${PN}-proxy (&gt;= \
${PV}) ${PN}-server (&gt;= ${PV})"  RDEPENDS:${PN}:class-native = ""
 RDEPENDS:${PN}-proxy = "openssl python3-core python3-io python3-shell"
 
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
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


</pre>
    </blockquote>
  </body>
</html>



-=-=-=-=-=-=-=-=-=-=-=-
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/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic