At Tue, 2 Dec 2025 22:41:32 +0000 (UTC), RVP <rvp%SDF.ORG@localhost> 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 <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:
pgpLfe47aKdJF.pgp
Description: OpenPGP Digital Signature