Bug#1081850: qemu-arm64: can't run busybox:arm64 on s390x: Invalid note in PT_GNU_PROPERTY

Simon McVittie <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <Zub2fgKqS9fJo-98__26862.0148346358$1726412605$gmane$org@remnant.pseudorandom.co.uk>
Package: qemu-user
Version: 1:9.0.2+ds-2+b1
Severity: normal
User: [email protected]
Usertags: s390x
X-Debbugs-Cc: [email protected]

The new cross-exe-wrapper package in src:architecture-properties runs
binaries from a foreign architecture, either directly or via qemu-user.
Its autopkgtest uses busybox from each release architecture (specifically
the `busybox true` and `busybox echo` applets) as a smoke-test to see
whether this works as intended.

On s390x, the result indicates that the qemu-arm64 in qemu-user:s390x
can't run busybox:arm64:

>  74s qemu-arm64: /usr/bin/busybox: Invalid note in PT_GNU_PROPERTY

I don't know whether this is specific to busybox, or whether the qemu-arm64
in qemu-user:s390x doesn't work more generally.

architecture-properties (>= 0.2.2) works around this by skipping its
self-test on architecture pairs where qemu-$arch doesn't run successfully.

    smcv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.