Package: qemu-user-static
Version: 1.4.0+dfsg-2exp
Severity: normal

I attempted to create a chroot and virtually all operations fail within.

The following steps were performed:

# debootstrap --variant=buildd --foreign --arch powerpc wheezy debian_powerpc 
http://ftp.debian.org/debian/
# cp /usr/bin/qemu-ppc-static debian_powerpc/usr/bin

So far, so good. Then I tried performing the second stage of
debootstrap. This fails.


----
# DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \
 LC_ALL=C LANGUAGE=C LANG=C chroot debian_powerpc /debootstrap/debootstrap 
--second-stage
qemu-ppc-static: /tmp/buildd/qemu-1.1.2+dfsg/linux-user/signal.c:4341: 
setup_frame: Assertion `({ unsigned long __guest = (unsigned 
long)(ka->_sa_handler) - guest_base; (__guest < (1ul << 32)) && (!reserved_va 
|| (__guest < reserved_va)); })' failed.
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted
----

Trying other commands:

----
# LC_ALL=C LANGUAGE=C LANG=C chroot debian_powerpc/
I have no name!@darkside:/# pwd
/
I have no name!@darkside:/# ls
bin  boot  debootstrap  dev  etc  home  lib  lib64  mnt  proc  root  run  sbin  
selinux  sys  tmp  usr  var
qemu-ppc-static: /tmp/buildd/qemu-1.1.2+dfsg/linux-user/signal.c:4341: 
setup_frame: Assertion `({ unsigned long __guest = (unsigned 
long)(ka->_sa_handler) - guest_base; (__guest < (1ul << 32)) && (!reserved_va 
|| (__guest < reserved_va)); })' failed.
Aborted
-----


Googling I came upon https://bugs.launchpad.net/qemu/+bug/1052857 but have not 
had a chance to try the included patch.


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

qemu-user-static depends on no packages.

Versions of packages qemu-user-static recommends:
ii  binfmt-support  2.0.12

Versions of packages qemu-user-static suggests:
ii  sudo  1.8.5p2-1+nmu1

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to