Re: 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]>
At Tue, 2 Dec 2025 22:41:32 +0000 (UTC), RVP <[email protected]> wrote:
Subject: Re: whoa!  "Bus error: 10" from install during cross-build on macos!
>
> On Tue, 2 Dec 2025, Greg A. Woods wrote:
>
> > 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
> >
>
> Smells like PR# 57241.

It does very much indeed!  (I run build.sh with -j 24 on this host)

Nothing MIPS related on this machine -- it's an x86_64 macPRO.

Core dumps were disabled on my machine, but I've re-enabled them, but I
don't think an extra core would add any info -- this is almost certainly
a parallel make problem.

I'll attach my error to the PR.

--
					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/0fwUCaS+6swAKCRBmfXG3eL/0
f5eYAKDv2rzAbQuADn9+sPjb0HmwTtBRlQCcC6F7Burkurr3RWioz/qUz1Wu+iw=
=iFJ0
-----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.