[OE-core] [PATCH] coreutils: fix compile error since use wrong libnss_nis.so

Changqing Li changqing.li at windriver.com
Tue Jul 10 09:27:20 UTC 2018



On 07/09/2018 04:46 PM, Richard Purdie wrote:
> On Mon, 2018-07-09 at 15:49 +0800, changqing.li at windriver.com wrote:
>> From: Changqing Li <changqing.li at windriver.com>
>>
>> id: 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
>>
>> Recent glibc change removed libnss-nis module from glibc and
>> a new recipe libnss-nis.bb was added. After this change,
>> we need to include native libnss_nis in coreutils. otherwise,
>> with "nis" in host /etc/nssswitch.conf, id will use host
>> libnss_nis.so, which will cause above error
>>
>> Signed-off-by: Changqing Li <changqing.li at windriver.com>
>> ---
>>   meta/recipes-core/coreutils/coreutils_8.29.bb | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
> I think this would be fixed by a new version of uninative-tarball after
> the recent change to include libnss-nis in it. We should probably have
> a new release of uninative rather than starting to add these DEPENDS
> everywhere...
>
> Cheers,
>
> Richard

You're right, checked recently merged buildtools-tarball.bb which fix 
same error,
it cannot cover this uninative-tarball, so we still need to add 
libnss-nis in
uninative-tarball.  Will you handle fix of uninative-tarball, add 
libnss-nis to
http://downloads.yoctoproject.org/releases/uninative?  I should not be 
able to do
this.

  //changqing
>

-- 
BRs

Sandy(Li Changqing)
+861084778653




More information about the Openembedded-core mailing list