On Mon, 8 Dec 2025, Van Ly wrote:
===> build.sh command: ./build.sh -D /local/n/11/build/dst/amd64 -O /local/n/11/build/obj/amd64 -T /local/n/11/build/tools/x86_64/amd64 -X /usr/xsrc -R /local/n/11/build/rel -V RELEASEMACHINEDIR=amd64 -V MKDEBUG=yes -V MKDEBUGKERNEL=yes -V MKDEBUGLIB=yes -V KERNEL_DIR=yes -V USE_XZ_SETS=yes -V MKUPDATE=yes -U -x -N0 -m amd64 -j4 installmodules=/ [...] x86_64--netbsd-install: //netbsd exists but is not a directory
What it says on the tin: You're setting `KERNEL_DIR=yes' but, /netbsd is still a file. Move it out of the way. See the `KERNEL_DIR' descr. in mk.conf(5): https://man.netbsd.org/NetBSD-11.x-BRANCH/mk.conf.5 -RVP