This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libnsl: Turn remaining symbols into compat symbols [BZ #22701]


I think this introduces test failures in the case where there is an 
installed libnss_nis but you're not using --enable-obsolete-nsl, if 
/etc/nsswitch.conf has "passwd: compat".

FAIL: nss/bug17079
FAIL: nss/tst-nss-getpwent

The output of make check for those tests shows (seen on Ubuntu 16.04): 
"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", for both those tests.

Ideally we'd isolate such tests from the host environment so they don't 
depend at all on what /etc/nsswitch.conf looks like and never use any NSS 
modules from the host environment, only ones newly built with glibc.  I 
don't know if there's any quick and simple fix, however.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]