Your message dated Sun, 1 May 2022 14:57:53 +0300
with message-id <[email protected]>
and subject line Re: Bug#707626: qemu-user-static: dh cannot be run with 
fakeroot[..]
has caused the Debian Bug report #707626,
regarding qemu-user-static: dh cannot be run with fakeroot with qemu-ppc-static
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
707626: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707626
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: qemu-user-static
Version: 1.5.0~rc0+dfsg-1
Severity: normal


While trying to build powerpc packages on amd64 using sbuild, the
process hangs when it gets to the point where it runs "dh" with
fakeroot.


Running dh by itself works.

------
(stable-powerpc-sbuild)eshornock@darkside:~$ dh
dh: No compatibility level specified in debian/compat
dh: This package will soon FTBFS; time to fix it!
dh: cannot read debian/control: No such file or directory
------


Running fakeroot with other commands works.

------
(stable-powerpc-sbuild)eshornock@darkside:~$ fakeroot uname -a
Linux darkside 2.6.32 #1 SMP Debian 3.2.41-2 ppc GNU/Linux
(stable-powerpc-sbuild)eshornock@darkside:~$ fakeroot id
uid=0(root) gid=0(root) 
groups=0(root),4(adm),25(floppy),27(sudo),29(audio),40(src),44(video),46(plugdev),115(sbuild),131(vboxusers),152(libvirt),1000(eshornock)
------

Running dh as root works:

------
(stable-powerpc-sbuild)root@darkside:/home/eshornock# dh
dh: No compatibility level specified in debian/compat
dh: This package will soon FTBFS; time to fix it!
dh: cannot read debian/control: No such file or directory
------


Running dh with fakeroot hangs until killed
------
(stable-powerpc-sbuild)eshornock@darkside:~$ fakeroot dh
^C/usr/bin/fakeroot: line 1: kill: (4208) - No such process     <== after 
aborting with CTRL+C
------


I don't have this problem with qemu-arm-static.

-- 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.13

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

-- no debconf information

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 1:5.2+dfsg-1

This bug seems to be fixed in 5.2 (bullseye) version of qemu.
In 3.1 (buster) version dh does not work at all saying a
semop function is not implemented (but does not hang).

So I guess it was some missing emulation in qemu-user which
finally been fixed.

It works in 6.x and 7.0 versions of qemu too. Both in powerpc
and in mipsel chroots.

Closing this bug report now.

Thanks,

/mjt

--- End Message ---

Reply via email to