On 11/30/2017 11:08 PM, Daniel Kahn Gillmor wrote:
Hi m4 and sh4 folks--

Debian's GnuPG package (version 2.2.3-1) is failing to build on the sh4
architecture, as seen here:

https://buildd.debian.org/status/fetch.php?pkg=gnupg2&arch=sh4&ver=2.2.3-1&stamp=1512098830&raw=0

the error log looks like:

------------
Copying file po/Makefile.in.in
Copying file po/Makevars.template
qemu: Unsupported syscall: -1
m4: ../sysdeps/unix/sysv/linux/spawni.c:366: __spawnix: Assertion `ec >= 0' 
failed.
/usr/bin/m4: internal error detected; please report this bug to 
<bug-m4@gnu.org>: Aborted
-----------

So, i'm reporting it here.

Not sure what to make of it, or how to try to resolve it.

It sounds like you aren't on a bare-metal sh4 machine, but rather that you are on a VM, and that your VM has tripped up on a qemu emulation bug. As such, the fix to your problem is to get the qemu folks to figure out why sh4 isn't being emulated correctly, and is not really something that m4 is at fault for (other than m4 managed to trigger the non-emulated syscall).

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to