Disclaimer: This is on alpha, but since I am somwhat confident, this is
an user error, not a port issue, I've went here.
After successfully building and booting the new kernel, building world:
time -p ./build.sh -r -O /data/work/obj distribution install=/
is failing, as fts_open cannot be found. A quick google search did not
reveal anything, but a macos post from 2014.
And I am wondering, what can be done about this? How to generally track
down buildworld issues? Both partitions (src & obj) have more than
enough space left.
Below are the last lines of my build (interesting, that some firmware
resides below /, other below /usr, but that is not as issue):
./libdata/firmware/nouveau/nvidia/tu117/nvdec missing (created)
./libdata/firmware/nouveau/nvidia/tu117/sec2 missing (created)
./usr/libdata/firmware/radeon missing (created)
./var/run/named missing (created)
includes ===> .
includes ===> include
includes ===> include/rpc
# create rpc/rpcb_prot.h
RPCGEN_CPP=/data/work/obj/tooldir.NetBSD-10.0_RC1-alpha/bin/alpha--netbsd-cpp
/data/work/obj/tooldir.NetBSD-10.0_RC1-alpha/bin/nbrpcgen -B -h
/home/clutter/src/include/rpc/rpcb_prot.x -o rpcb_prot.h
includes ===> include/../common/include/prop
includes ===> include/../common/include/ppath
includes ===> include/../common/include/rpc
includes ===> sys
# create
rm: fts_open failed: No such file or directory
/data/work/obj/tooldir.NetBSD-10.0_RC1-alpha/bin/alpha--netbsd-install
-N /home/clutter/src/etc -d -o root -g wheel -m 755
alpha--netbsd-install: : mkdir: No such file or directory
*** Failed target: ""
*** Failed command: if [ ! -d "" ] || [ -h "" ] ; then echo '# ' "
create " ""; /bin/rm -rf ""; echo
/data/work/obj/tooldir.NetBSD-10.0_RC1-alpha/bin/alpha--netbsd-install
-N /home/clutter/src/etc -d -o root -g wheel -m 755 "";
/data/work/obj/tooldir.NetBSD-10.0_RC1-alpha/bin/alpha--netbsd-install
-N /home/clutter/src/etc -d -o root -g wheel -m 755 ""; fi
*** Error code 1
Stop.
nbmake[3]: stopped in /home/clutter/src/sys
*** Failed target: includes-sys
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/home/clutter/src" ;; *) this="${dir}/";
real="/home/clutter/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/data/work/obj/tooldir.NetBSD-10.0_RC1-alpha/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget sys includes
*** Error code 1
Stop.
nbmake[2]: stopped in /home/clutter/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/home/clutter/src" ;; *) this="${dir}/";
real="/home/clutter/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/data/work/obj/tooldir.NetBSD-10.0_RC1-alpha/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . includes
*** Error code 1
Stop.
nbmake[1]: stopped in /home/clutter/src
*** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/home/clutter/src" ;; *) this="${dir}/";
real="/home/clutter/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/data/work/obj/tooldir.NetBSD-10.0_RC1-alpha/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build
NOPOSTINSTALL=1
*** Error code 1
Stop.
nbmake: stopped in /home/clutter/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
real 39935.70
user 32706.72
sys 4875.04
#
# mk.conf:
CPUFLAGS = -mcpu=21164a
NETBSDSRCDIR=/home/clutter/src
BSDOBJDIR=/data/work/obj
DESTDIR=""
MKATF=no
MKCLEANSRC=yes
MKCLEANVERIFY=yes
MKCOMPAT=no
MKCVS=yes
MKDEBUGLIB=no
MKDOC=yes
MKDTRACE=no
MKGDB=no
MKHOSTOBJ=no
MKHTML=no
MKINFO=no
MKIPFILTER=no
MKKERBEROS=no
USE_KERBEROS=no
MKLDAP=no
USE_LDAP=no
MKLVM=no
MKMANZ=yes
MKMDNS=no
MKNPF=yes
MKPF=no
MKPROFILE=no
MKREPRO=yes
MKX11=no
MKX11FONTS=no
MKX11MOTIF=no
MKZFS=no
MKYP=no
USE_YP=no
MKHESIOD=no
USE_HESIOD=no
MKPAM=yes
USE_PAM=yes
MKSKEY=no
USE_SKEY=no