libpcre, ncurses: Fix problems expanding the IMAGE_INSTALL package groups
PATCH 1/1 libpcre, ncurses: Fix problems expanding the IMAGE_INSTALL package groups
The ncurses and libpcre packages were generating the following errors as a result of not specifing the PACKAGES_DYNAMIC correctly. These errors only appear when using the IMAGE_INSTALL list that has been expanded by the hob or from the pkgdata.
ERROR: Nothing RPROVIDES 'ncurses-libtinfo'
ERROR: Nothing RPROVIDES 'libpcreposix'
--- meta/recipes-core/ncurses/ncurses.inc | 2 ++ meta/recipes-support/libpcre/libpcre_8.32.bb | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-)
meta/recipes-core/ncurses/ncurses.inc +2 -0
@@ -42,6 +42,8 @@ EXCONFIG_ARGS_virtclass-nativesdk = " \ --with-chtype='long' \ --with-mmask-t='long'" +PACKAGES_DYNAMIC = "^${PN}-.*" + # Fall back to the host termcap / terminfo for -nativesdk and -native # The reality is a work around for strange problems with things like # "bitbake -c menuconfig busybox" where it cannot find the terminfo
meta/recipes-support/libpcre/libpcre_8.32.bb +2 -0
@@ -26,6 +26,8 @@ inherit autotools binconfig PARALLEL_MAKE = "" +PACKAGES_DYNAMIC = "^${PN}.*" + EXTRA_OECONF = "\ --enable-newline-is-lf \ --enable-rebuild-chartables \
Signature · 1 line
1.7.1
Quoted 20 lines · Jason Wessel
The ncurses and libpcre packages were generating the following errors as a result of not specifing the
PACKAGES_DYNAMICcorrectly. These errors only appear when using theIMAGE_INSTALLlist that has been expanded by the hob or from the pkgdata.ERROR: Nothing RPROVIDES 'ncurses-libtinfo'
ERROR: Nothing RPROVIDES 'libpcreposix'Signed-off-by Jason Wessel <[email protected]>Signed-off-by Mark Hatle <[email protected]>--- meta/recipes-core/ncurses/ncurses.inc | 2 ++ meta/recipes-support/libpcre/libpcre_8.32.bb | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-)meta/recipes-core/ncurses/ncurses.inc +0
-0
meta/recipes-core/ncurses/ncurses.inc EXCONFIG_ARGS_virtclass-nativesdk = " \ · line 49
Quoted 8 lines
meta/recipes-core/ncurses/ncurses.inc +2
-0@@ -42,6 +42,8 @@ EXCONFIG_ARGS_virtclass-nativesdk = " \ --with-chtype='long' \ --with-mmask-t='long'" +PACKAGES_DYNAMIC = "^${PN}-.*" + # Fall back to the host termcap / terminfo for -nativesdk and -native # The reality is a work around for strange problems with things like # "bitbake -c menuconfig busybox" where it cannot find the terminfo
This makes sense since its doing dynamic package splitting.
meta/recipes-support/libpcre/libpcre_8.32.bb inherit autotools binconfig · line 33
Quoted 13 lines
meta/recipes-support/libpcre/libpcre_8.32.bb +2
-0@@ -26,6 +26,8 @@ inherit autotools binconfig PARALLEL_MAKE = "" +PACKAGES_DYNAMIC = "^${PN}.*" + EXTRA_OECONF = "\ --enable-newline-is-lf \ --enable-rebuild-chartables \
However this does not. libpcreposix is clearly listed in PACKAGES. Was this based on an older recipe and can someone check this is needed on master?
Cheers,
Richard
Quoted 39 lines · Richard Purdie
Quoted 20 lines · Jason Wessel
The ncurses and libpcre packages were generating the following errors as a result of not specifing the
PACKAGES_DYNAMICcorrectly. These errors only appear when using theIMAGE_INSTALLlist that has been expanded by the hob or from the pkgdata.ERROR: Nothing RPROVIDES 'ncurses-libtinfo'
ERROR: Nothing RPROVIDES 'libpcreposix'Signed-off-by Jason Wessel <[email protected]>Signed-off-by Mark Hatle <[email protected]>--- meta/recipes-core/ncurses/ncurses.inc | 2 ++ meta/recipes-support/libpcre/libpcre_8.32.bb | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-)meta/recipes-core/ncurses/ncurses.inc +0
-0meta/recipes-core/ncurses/ncurses.inc EXCONFIG_ARGS_virtclass-nativesdk = " \ · line 49
Quoted 8 lines
meta/recipes-core/ncurses/ncurses.inc +2
-0@@ -42,6 +42,8 @@ EXCONFIG_ARGS_virtclass-nativesdk = " \ --with-chtype='long' \ --with-mmask-t='long'" +PACKAGES_DYNAMIC = "^${PN}-.*" + # Fall back to the host termcap / terminfo for -nativesdk and -native # The reality is a work around for strange problems with things like # "bitbake -c menuconfig busybox" where it cannot find the terminfoThis makes sense since its doing dynamic package splitting.
Quoted 8 lines
meta/recipes-support/libpcre/libpcre_8.32.bb +0
-0@@ -26,6 +26,8 @@ inherit autotools binconfig PARALLEL_MAKE = ""
Quoted 8 lines
meta/recipes-support/libpcre/libpcre_8.32.bb inherit autotools binconfig · line 33
Quoted 5 lines
meta/recipes-support/libpcre/libpcre_8.32.bb +2
-0+PACKAGES_DYNAMIC = "^${PN}.*" + EXTRA_OECONF = "\ --enable-newline-is-lf \ --enable-rebuild-chartables \However this does not. libpcreposix is clearly listed in PACKAGES. Was this based on an older recipe and can someone check this is needed on master?
I'll double check on this and submit a new patch. This was originally against the libpcre 8.21 from YP 1.2.
Jason.