On 11/09/2016 11:22 AM, Daniel Kahn Gillmor wrote: > ../common/libcommon.a(libcommon_a-stringhelp.o): In function `get_pwdir': > ./build-gpgv-static/common/../../common/stringhelp.c:378: warning: Using > 'getpwnam' in statically linked applications requires at runtime the shared > libraries from the glibc version used for linking > ./build-gpgv-static/common/../../common/stringhelp.c:385: warning: Using > 'getpwuid' in statically linked applications requires at runtime the shared > libraries from the glibc version used for linking > > That doesn't sound like a warning we want. does anyone know how to > resolve it?
If we want to support exact same behavior for gpgv-static, shared libraries for NSS should come together with it. GnuPG allows use "~" or "~username" to specify file. To expand the tilda, getpwnam or getpwuid is used. ~username can be expanded by NSS module of LDAP, for example. I think that it is OK for gpgv-static not supporting tilda expansion. --