Bug#931641: perl: FTBFS under qemu-user

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Wed Jul 10 23:30:24 BST 2019


Hi!

On 7/10/19 7:45 PM, John Paul Adrian Glaubitz wrote:
> Laurent helped me debugging and the problem is that Debian has its own binfmt-support
> packages which competes with systemd-binfmt with the former not setting the preserve
> flag.

It works for me with the attached patch by Laurent Vivier.

Activate with:

# apt purge binfmt-support
# rm /usr/bin/qemu-m68k-static
# cp -av m68k-linux-user/qemu-m68k /usr/bin/qemu-m68k-static
# ./scripts/qemu-binfmt-conf.sh --systemd m68k --qemu-path /usr/bin --qemu-suffix -static --credential yes --persistent yes

Then just rebooted the machine and it worked.

systemd-binfmt works better for me than Debian's own binfmt-support.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-linux-user-manage-binfmt-misc-preserve-arg-0-flag.patch
Type: text/x-patch
Size: 1830 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/perl-maintainers/attachments/20190711/d9ceefdb/attachment-0001.bin>


More information about the Perl-maintainers mailing list