[dunfell,1/2] ncurses: add libncurses5 to RPROVIDES

Message ID 20220523152905.52130-1-flowergom@gmail.com
State New, archived
Headers show
Series [dunfell,1/2] ncurses: add libncurses5 to RPROVIDES | expand

Commit Message

Minjae Kim May 23, 2022, 3:29 p.m. UTC
The libncurses5 is generated by ncurse recipe.
To use this library as a dependency in another component,
It should be explicitly added as RPROVIDES.

Signed-off-by:Minjae Kim <flowergom@gmail.com>
---
 meta/recipes-core/ncurses/ncurses.inc | 2 ++
 1 file changed, 2 insertions(+)

Comments

Steve Sakoman May 24, 2022, 4:46 p.m. UTC | #1
On Mon, May 23, 2022 at 5:29 AM Minjae Kim <flowergom@gmail.com> wrote:
>
> 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
> Signed-off-by:Minjae Kim <flowergom@gmail.com>
> ---
>  meta/recipes-core/ncurses/ncurses.inc | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
> index ee0b15ecf0..6f97b496c3 100644
> --- a/meta/recipes-core/ncurses/ncurses.inc
> +++ b/meta/recipes-core/ncurses/ncurses.inc
> @@ -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: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [steve@sakoman.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index ee0b15ecf0..6f97b496c3 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -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"