whoa! "Bus error: 10" from install during cross-build on macos!

"Greg A. Woods" <[email protected]>
Newsgroups gmane.os.netbsd.current
Organization Planix, Inc.
Message-ID <[email protected]>
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 <[email protected]>

Kelowna, BC     +1 250 762-7675           RoboHack <[email protected]>
Planix, Inc. <[email protected]>     Avoncote Farms <[email protected]>
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRuK6dmwVAucmRxuh9mfXG3eL/0fwUCaS9nAwAKCRBmfXG3eL/0
f0lEAKCYKYdYojEAxPHQynTcknLOHuJTdwCg97cPP/NKDVs9Cv6+V9uIVFgABts=
=NTkG
-----END PGP SIGNATURE-----
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.