On 2/24/23 09:45, leimao...@fujitsu.com wrote:
Hi

I'm sorry I missed this patch.

This does not seem correct. These two packages have FILES specified, and
ALLOW_EMPTY:${PN} is set to "1". I suspect the actually problem lies in
somewhere else.
This recipe is special. Libsoup has a hard dependency on nghttp2, so it can't 
be moved to meta-oe. But nghttp2-client and nghttp2-server depend on recipes of 
meta-oe.

Hi Lei,

Which ones? Do you have some local patch or some bbappend files? Also, if this is the case, I think Yocto's autobuilder will detect such issue by doing pure poky world build. I also just ran `bitbake -n nghttp2' and there's no error.

Regards,

Qi

I tried to fix this error according to Alex's comment by PACKAGECONFIG entries. 
But dependences is too complex to complete.
My patch is just following the existing code. But maybe it is not a best way.
I'm talking this patch with Alex, welcome to give me some suggestion.

Best regards
Lei



-----Original Message-----
From: ChenQi <qi.c...@windriver.com>
Sent: Friday, February 10, 2023 3:49 PM
To: Lei, Maohui <leimao...@fujitsu.com>;
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] nghttp2: Fix do_rootfs error as following:

This does not seem correct. These two packages have FILES specified, and
ALLOW_EMPTY:${PN} is set to "1". I suspect the actually problem lies in
somewhere else.

Regards,
Qi

On 2/10/23 15:34, leimaohui wrote:
Problem: conflicting requests
    - nothing provides nghttp2-client >= 1.51.0 needed by
nghttp2-1.51.0-r0.core2_64
    - nothing provides nghttp2-server >= 1.51.0 needed by
nghttp2-1.51.0-r0.core2_64

Signed-off-by: Lei Maohui <leimao...@fujitsu.com>
---
   meta/recipes-support/nghttp2/nghttp2_1.51.0.bb | 2 ++
   1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb
b/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb
index 8ddb851f71..72a4372214 100644
--- a/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb
+++ b/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb
@@ -24,6 +24,8 @@ RDEPENDS:${PN}:class-native = ""
   RDEPENDS:${PN}-proxy = "openssl python3-core python3-io python3-shell"

   ALLOW_EMPTY:${PN} = "1"
+ALLOW_EMPTY:${PN}-server = "1"
+ALLOW_EMPTY:${PN}-client = "1"
   FILES:${PN} = ""
   FILES:lib${BPN} = "${libdir}/*${SOLIBS}"
   FILES:${PN}-client = "${bindir}/h2load ${bindir}/nghttp"




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#177655): 
https://lists.openembedded.org/g/openembedded-core/message/177655
Mute This Topic: https://lists.openembedded.org/mt/96872036/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