[Pkg-zsh-devel] Bug#769450: Bug#769450: zsh-static unsets $USERNAME

Vincent Lefevre vincent at vinc17.net
Fri Nov 14 01:43:01 UTC 2014


On 2014-11-14 01:46:40 +0100, Axel Beckert wrote:
[...]
> And USE_GETPWUID is not set in the static build. It's disabled in
> debian/rules:
> 
>    STATICFLAGS += --disable-dynamic-nss
> 
> This is probably the way how https://bugs.debian.org/207218 (changes
> in libc cause zsh-static to immediately segfault) was fixed.

The ChangeLog says:

  Run dpkg-shlibdebs on /lib/libnss_files.so.* for zsh-static
  to help avoid segfaults due to continually-changing glibc NSS ABI.

But if the NSS ABI changes in an incompatible manner, the soname
should change, i.e. this was probably a bug in libc6.

> I wonder if #207218 would reappear nowadays, if we remove that line
> above from debian/rules.
> 
> Removing that line definitely solves this issue, I just tried it.

Does this mean that zsh-static wouldn't really be a static build
because using the dynamic NSS library? Isn't it possible to use
the static library?

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pkg-zsh-devel mailing list