[OE-core] [PATCH 1/1] buildtools-tarball: add nativesdk-libnss-nis
Burton, Ross
ross.burton at intel.com
Wed Jun 6 16:48:55 UTC 2018
Try building a musl buildtools and it breaks:
ERROR: Nothing RPROVIDES 'nativesdk-libnss-nis' (but
/home/ross/Yocto/poky/meta/recipes-core/meta/buildtools-tarball.bb
RDEPENDS on or otherwise requires it)
nativesdk-libnss-nis was skipped: incompatible with musl C library
Ross
On 25 May 2018 at 03:54, Chen Qi <Qi.Chen at windriver.com> wrote:
> Recent glibc change removed libnss-nis module from glibc and a new
> recipe libnss-nis.bb was added.
>
> After this change, we need to make sure nativesdk-libnss-nis is also
> included in buildtools-tarball, otherwise, we may encounter the following
> error when using 'tar' command from buildtools-tarball.
>
> tar: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: \
> symbol _nsl_default_nss version GLIBC_PRIVATE not defined \
> in file libnsl.so.1 with link time reference
>
> This error occured on my ubuntu16.04 host with 'nis' configured in
> /etc/nssswitch.conf.
>
> So add nativesdk-libnss-nis to buildtools-tarball to fix this problem.
>
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
> meta/recipes-core/meta/buildtools-tarball.bb | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
> index d98a9c9..377733f 100644
> --- a/meta/recipes-core/meta/buildtools-tarball.bb
> +++ b/meta/recipes-core/meta/buildtools-tarball.bb
> @@ -21,6 +21,7 @@ TOOLCHAIN_HOST_TASK ?= "\
> nativesdk-wget \
> nativesdk-ca-certificates \
> nativesdk-texinfo \
> + nativesdk-libnss-nis \
> "
>
> MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"
> --
> 1.9.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