Bug#626946: zsh-static fails to start at all

2011-05-16 Thread Richard Hartmann
Package: zsh
Version: 4.3.11-5
Severity: grave
Justification: renders package unusable

Rationale: zsh-static is a shell used for root and in fall-back
scenarios. As it does not work at all, this can make system maintenance
or repairing this hard to impossible.

% zsh-static -f
zsh-static: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize:
Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
[1]8747 abort  zsh-static -f
% echo $?
134
% 


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  libc6 2.13-2 Embedded GNU C Library: Shared lib
ii  libcap2   1:2.20-1   support for getting/setting POSIX.
ii  libncursesw5  5.9-1  shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libc6 2.13-2 Embedded GNU C Library: Shared lib
ii  libpcre3  8.12-3 Perl 5 Compatible Regular Expressi

Versions of packages zsh suggests:
ii  zsh-doc   4.3.11-5   zsh documentation - info/HTML form

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#626946: zsh-static fails to start at all

2011-05-16 Thread Gergely Nagy
Richard Hartmann richih.mailingl...@gmail.com writes:

 Package: zsh
 Version: 4.3.11-5
 Severity: grave
 Justification: renders package unusable

 Rationale: zsh-static is a shell used for root and in fall-back
 scenarios. As it does not work at all, this can make system maintenance
 or repairing this hard to impossible.

 % zsh-static -f
 zsh-static: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize:
 Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
 [1]8747 abort  zsh-static -f
 % echo $?
 134
 % 

I have seen similar problems with other statically linked programs
aswell. If the program uses nss or any other thing that glibc dlopens()
at run-time, then this problem has a very high chance of happening.

I've seen it with the following program aswell (compiled with gcc -O2
-static):

#include iconv.h
#include stdio.h
#include errno.h
int main () {
  iconv_t x;
  x = iconv_open (UTF-8, UTF-32LE);
  printf (%d\n, errno == EINVAL);
  return 0;
}

Though, it doesn't happen on current unstable, it did happen about 2
weeks ago. I didn't bother debugging it further unfortunately.

I don't think this issue is limited to zsh-static alone.

-- 
|8]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org