Skip to contentSkip to conversation

spice-protocol: fix populate_sdk error when spice is installed

PATCH In review [email protected] 2 participants 3 messages Aug 28, 2023 – Aug 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spice-protocol: fix populate_sdk error when spice is installed

From: Chen Qi <[email protected]>

spice depends on spice-protocol, when IMAGE_INSTALL contains spice, do_populate_sdk fails with the following error:

Error:
Problem: package libspice-server-dev-0.14.2+git0+7cbd70b931_4fc4c2db36-r0.core2_64 requires spice-protocol-dev, but none of the providers can be installed
- conflicting requests
- nothing provides spice-protocol = 0.14.4-r0 needed by spice-protocol-dev-0.14.4-r0.core2_64
(try to add '--skip-broken' to skip uninstallable packages)

For spice-protocol, it's a development package and all things are in the dev package, so set ALLOW_EMPTY to fix the above error.

---
 meta-networking/recipes-support/spice/spice-protocol_0.14.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/spice/spice-protocol_0.14.4.bb +2 -0
index 9ce019ed86..3c8458baac 100644
@@ -16,4 +16,6 @@ S = "${WORKDIR}/git"
 
 inherit meson pkgconfig
 
+ALLOW_EMPTY:${PN} = "1"
+
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.40.0
#1 lore raw

I think this applies to master too can you confirm.

Quoted 43 lines · Chen Qi via lists.openembedded.org

From: Chen Qi <[email protected]>

spice depends on spice-protocol, when IMAGE_INSTALL contains spice, do_populate_sdk fails with the following error:

Error:
Problem: package libspice-server-dev-0.14.2+git0+7cbd70b931_4fc4c2db36-r0.core2_64 requires spice-protocol-dev, but none of the providers can be installed
- conflicting requests
- nothing provides spice-protocol = 0.14.4-r0 needed by spice-protocol-dev-0.14.4-r0.core2_64
(try to add '--skip-broken' to skip uninstallable packages)

For spice-protocol, it's a development package and all things are in the dev package, so set ALLOW_EMPTY to fix the above error.

---
 meta-networking/recipes-support/spice/spice-protocol_0.14.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/spice/spice-protocol_0.14.4.bb +2 -1
index 9ce019ed86..3c8458baac 100644
@@ -16,4 +16,6 @@ S = "${WORKDIR}/git"
 
 inherit meson pkgconfig
 
+ALLOW_EMPTY:${PN} = "1"
+
 BBCLASSEXTEND = "native nativesdk"
--

2.40.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104631): https://lists.openembedded.org/g/openembedded-devel/message/104631
Mute This Topic: https://lists.openembedded.org/mt/101005385/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#2 lore raw
Quoted 1 line · Khem Raj

I think this applies to master too can you confirm.

I just saw this message, and I then found you've helped merged this patch.

Thanks.

Regards,

Qi

Quoted 45 lines
Quoted 42 lines · Chen Qi via lists.openembedded.org

From: Chen Qi <[email protected]>

spice depends on spice-protocol, when IMAGE_INSTALL contains spice, do_populate_sdk fails with the following error:

Error:
Problem: package libspice-server-dev-0.14.2+git0+7cbd70b931_4fc4c2db36-r0.core2_64 requires spice-protocol-dev, but none of the providers can be installed
- conflicting requests
- nothing provides spice-protocol = 0.14.4-r0 needed by spice-protocol-dev-0.14.4-r0.core2_64
(try to add '--skip-broken' to skip uninstallable packages)

For spice-protocol, it's a development package and all things are in the dev package, so set ALLOW_EMPTY to fix the above error.

---
  meta-networking/recipes-support/spice/spice-protocol_0.14.4.bb | 2 ++
  1 file changed, 2 insertions(+)
meta-networking/recipes-support/spice/spice-protocol_0.14.4.bb +2 -1
index 9ce019ed86..3c8458baac 100644
@@ -16,4 +16,6 @@ S = "${WORKDIR}/git"
 
  inherit meson pkgconfig
 
+ALLOW_EMPTY:${PN} = "1"
+
  BBCLASSEXTEND = "native nativesdk"
--

2.40.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104631): https://lists.openembedded.org/g/openembedded-devel/message/104631
Mute This Topic: https://lists.openembedded.org/mt/101005385/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-