Thank you. I moved to my AMD machine (much faster) and removed the -x and did successfully compile (with -j2, as it's an older AMD dual-processor).I'm adding in xsrc (I mistakenly believed the checkout for src included xsrc -- but of course it makes sense they are separate).Once xsrc is working on AMD, then I'll move the entire tree to RPi and try again. I imagine it'll take about 1 or 2 days to complete on RPi 3. It'll be a good stress test. (An external USB HD (7200 RPM) runs about 240 Mb/s on RPi3 which isn't too bad.)Thank you Mat & Christos,MikeOn Mon, Jan 22, 2018 at 12:07 PM, ML <mathieu%lubrano.at@localhost> wrote:Hi Michael
I would double check that the src tree is complete and in sync with the cvs server.Then run build tools without -j4... afaik parrallel building may lead to strange error sometimes.ByeMatHi, I wonder what I'm doing wrong. I'm trying to build the kernel, but it's stopping in build of the tools. Thanks for any hints.(dmesg says RPI2 but it's running on RPI3)NetBSD 8.99.10 (RPI2) #0: Wed Jan 3 09:46:41 UTC 2018mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/ RPI2 total memory = 944 MBavail memory = 926 MB<etc>===> build.sh command: ./build.sh -T ../tooldir -D ../destdir -R ../releasedir -O ../objdir -X ../xsrc -U -x -j4 -r release===> build.sh started: Fri Jan 19 13:53:22 JST 2018===> NetBSD version: 8.99.12===> MACHINE: evbarm===> MACHINE_ARCH: earm===> Build platform: NetBSD 8.99.10 evbarm===> HOST_SH: /bin/sh===> Bootstrapping nbmakedependall ===> tools/makestrs--- .depend ---# create makestrs/.dependrm -f .depend/c/usr/src/../tooldir/bin/nbhost-mkdep -s .lo\ .ln\ .d -d -f .depend makestrs.d /c/usr/src/../tooldir/bin/nbhost-mkdep: Ignoring makestrs.d --- dependall ------ nbmakestrs ---# link makestrs/nbmakestrscc -O -I/c/usr/src/../tooldir/include/compat -I/c/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I. -o nbmakestrs makestrs.lo -L/c/usr/src/../tooldir/lib -lnbcompat -lrt -lz cc: error: makestrs.lo: No such file or directory*** [nbmakestrs] Error code 1nbmake[7]: stopped in /c/usr/src/tools/makestrs1 errornbmake[7]: stopped in /c/usr/src/tools/makestrs*** [dependall] Error code 2nbmake[6]: stopped in /c/usr/src/tools/makestrs1 errornbmake[6]: stopped in /c/usr/src/tools/makestrs*** Failed target: dependall-makestrs*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; real="/c/usr/src/tools" ;; *) this="tools/${dir}/"; real="/c/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /c/usr/src/../tooldir/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget makestrs dependall *** Error code 2Stop.nbmake[5]: stopped in /c/usr/src/tools*** [build_install] Error code 1nbmake[4]: stopped in /c/usr/src/tools1 errornbmake[4]: stopped in /c/usr/src/tools*** [do-tools] Error code 2nbmake[3]: stopped in /c/usr/src1 errornbmake[3]: stopped in /c/usr/src*** [build] Error code 2nbmake[2]: stopped in /c/usr/src1 errornbmake[2]: stopped in /c/usr/src*** [distribution] Error code 2nbmake[1]: stopped in /c/usr/src1 errornbmake[1]: stopped in /c/usr/src*** [release] Error code 2nbmake: stopped in /c/usr/src1 errornbmake: stopped in /c/usr/srcERROR: Failed to make release*** BUILD ABORTED ***./build.sh -T ../tooldir -D ../destdir -R ../releasedir -O ../objdir -X -U - 10171.93s user 2759.57s system 201% cpu 1:47:10.91 total