Skip to contentSkip to conversation

ncurses: add libncurses5 to RPROVIDES

PATCH In review Minjae Kim 2 participants 2 messages May 23, 2022 – May 24, 2022

lore
Share & tools
lore

Minjae Kim

author
#0 lore raw

PATCH 1/2 ncurses: add libncurses5 to RPROVIDES

The libncurses5 is generated by ncurse recipe. To use this library as a dependency in another component, It should be explicitly added as RPROVIDES.

---
 meta/recipes-core/ncurses/ncurses.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/ncurses/ncurses.inc +2 -0
index ee0b15ecf0..6f97b496c3 100644
@@ -324,3 +324,5 @@ RRECOMMENDS_${PN}-libtinfo = "${PN}-terminfo-base"
 # each recipe specific sysroot. We can live without this, particularly
 # as many recipes may have native and target copies.
 SYSROOT_DIRS_remove = "${datadir}"
+
+RPROVIDES_${PN} += "libncurses5"
Signature · 1 line
2.25.1
#1 lore raw
Quoted 4 lines · Minjae Kim

The libncurses5 is generated by ncurse recipe. To use this library as a dependency in another component, It should be explicitly added as RPROVIDES.

This seems to be breaking the pkgman-non-rpm test on the autobuilder with the following error:

WARNING: core-image-sato-dev-1.0-r0 do_rootfs: Unable to install packages. <command listing deleted for brevity> returned 1:
Collected errors:
* Solver encountered 1 problem(s):
* Problem 1/1:
* - package ncurses-dev-6.2-r0.core2-32 requires ncurses-libpanel, but none of the providers can be installed
*
* Solution 1:
* - do not ask to install a package providing ncurses-dev

Links to logs for two failed builds:

https://errors.yoctoproject.org/Errors/Details/657166/
https://errors.yoctoproject.org/Errors/Details/657170/

Steve

Quoted 27 lines
---
 meta/recipes-core/ncurses/ncurses.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/ncurses/ncurses.inc +2 -1
index ee0b15ecf0..6f97b496c3 100644
@@ -324,3 +324,5 @@ RRECOMMENDS_${PN}-libtinfo = "${PN}-terminfo-base"
 # each recipe specific sysroot. We can live without this, particularly
 # as many recipes may have native and target copies.
 SYSROOT_DIRS_remove = "${datadir}"
+
+RPROVIDES_${PN} += "libncurses5"
--

2.25.1

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