[OE-core] [OE-Core][PATCH] eglibc: Let eglibc-extra-nss-dev exist as empty package

Richard Purdie richard.purdie at linuxfoundation.org
Tue Apr 2 16:46:23 UTC 2013


On Mon, 2013-04-01 at 20:18 -0700, Khem Raj wrote:
> eglibc-extra-nss-dev is a dependency for libc6-dev but
> the package is empty and is not created as a result target
> install of libc6-dev fails. This will create an empty package
> 
> [Yocto Bug #4168]
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  meta/recipes-core/eglibc/eglibc-package.inc |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
> index 88a00a4..ca0cc4c 100644
> --- a/meta/recipes-core/eglibc/eglibc-package.inc
> +++ b/meta/recipes-core/eglibc/eglibc-package.inc
> @@ -17,7 +17,9 @@ python __anonymous () {
>  # Set this to zero if you don't want ldconfig in the output package
>  USE_LDCONFIG ?= "1"
>  
> -PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc"
> +PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc eglibc-extra-nss-dev"
> +
> +ALLOW_EMPTY_eglibc-extra-nss-dev  = "1"

As discussed in the bug, I think this is an issue with smart erroring on
recommends which it shouldn't do. More investigation/discussion
therefore needed as this patch just fixes one issue and there will be
others.

Cheers,

Richard





More information about the Openembedded-core mailing list