Re: /usr/bin/m4: internal error detected

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.bugs
Organization Red Hat, Inc.
Message-ID <[email protected]>
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 <[email protected]>: 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
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.