[OE-core] [PATCH] gdbm: add depend on readline for consistent builds

Khem Raj raj.khem at gmail.com
Wed Mar 4 23:22:20 UTC 2020


On Wed, Mar 4, 2020 at 2:25 PM Jeremy A. Puhlman <jpuhlman at mvista.com> wrote:
>
> From: Jeremy Puhlman <jpuhlman at mvista.com>
>
> Whether readline is installed on the build host or not
> influences the way gdbm builds. Depend on readline for
> a consistent build.
>
> This fails to build on a system with readline, and using
> the buildtools-extended installer.
>
> Signed-off-by: Jeremy A. Puhlman <jpuhlman at mvista.com>
> ---
>  meta/recipes-support/gdbm/gdbm_1.18.1.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-support/gdbm/gdbm_1.18.1.bb b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
> index 7e2efe3c9b..5326184181 100644
> --- a/meta/recipes-support/gdbm/gdbm_1.18.1.bb
> +++ b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
> @@ -15,6 +15,8 @@ SRC_URI[sha256sum] = "86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f74
>
>  inherit autotools gettext texinfo lib_package ptest
>
> +DEPENDS_class-native += "readline"
> +

shouldn't this be readline-native

>  # Needed for dbm python module
>  EXTRA_OECONF = "-enable-libgdbm-compat"
>
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list