I just had the following happen during a "build.sh" run on macos with -current.
Lots of other files were just installed successfully in the same destdir.
Could this be anything other than some kind of hardware/system problem?
Various people on the internets have reported various similar errors
with several different versions of macos. One said: ""Bus error: 10"
on MacOS means, from what I understand: cannot allocate memory."
This is the first time I've seen it and I've done dozens of successful
builds on this machine.
Bus error: 10
--- /Users/woods/build/woods/very.local/trunk-amd64-inet6-destdir/usr/bin/file ---
*** Failed target: /Users/woods/build/woods/very.local/trunk-amd64-inet6-destdir/usr/bin/file
*** In directory: /Volumes/work/woods/g-NetBSD-src/external/bsd/file/bin
*** Failed commands:
${_MKTARGET_INSTALL}
=> @echo ' ' "install " /Users/woods/build/woods/very.local/trunk-amd64-inet6-destdir/usr/bin/file
${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${STRIPFLAG} ${.ALLSRC} ${.TARGET}
=> /Users/woods/build/woods/very.local/trunk-Darwin-25.1.0-i386-amd64-tools/bin/x86_64--netbsd-install -U -M /Users/woods/build/woods/very.local/trunk-amd64-inet6-destdir/METALOG -D /Users/woods/build/woods/very.local/trunk-amd64-inet6-destdir -h sha256 -N /Volumes/work/woods/g-NetBSD-src/etc -c -p -r -o root -g wheel -m 555 -s file /Users/woods/build/woods/very.local/trunk-amd64-inet6-destdir/usr/bin/file
*** [/Users/woods/build/woods/very.local/trunk-amd64-inet6-destdir/usr/bin/file] Error code 138
nbmake[8]: stopped making "install" in /Volumes/work/woods/g-NetBSD-src/external/bsd/file/bin
--
Greg A. Woods <gwoods%acm.org@localhost>
Kelowna, BC +1 250 762-7675 RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgpkdoYb6WCJ5.pgp
Description: OpenPGP Digital Signature