Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % uname -a
- NetBSD sirius 10.0_STABLE NetBSD 10.0_STABLE (GENERIC) #60: Sat Oct 12 17:22:36 +07 2024 root@sirius:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
- % cd /usr/src
- % sudo ./build.sh -O ../obj -T ../tools -U -u distribution
- [snip...]
- dependall ===> tools/host-mkdep
- dependall ===> tools/compat
- dependall ===> tools/binstall
- # link binstall/xinstall
- cc -O -I/usr/src/../obj/tools/compat -I/usr/src/../obj/tools/compat/include -I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/binstall/../compat/sys -DTARGET_STRIP=\"/usr/src/../tools/bin/x86_64--netbsd-strip\" -I/usr/src/usr.sbin/mtree -o xinstall xinstall.lo getid.lo -L/usr/src/../obj/tools/compat -lnbcompat -lrt -lz
- ld: /usr/src/../obj/tools/compat/libnbcompat.a(sha2.lo): in function `SHA256_Transform':
- sha2.c:(.text+0x14b): undefined reference to `be32dec'
- ld: /usr/src/../obj/tools/compat/libnbcompat.a(sha2.lo): in function `SHA224_256_Final':
- sha2.c:(.text+0x613): undefined reference to `be32enc'
- ld: /usr/src/../obj/tools/compat/libnbcompat.a(sha2.lo): in function `SHA512_Transform':
- sha2.c:(.text+0xb24): undefined reference to `be64dec'
- ld: /usr/src/../obj/tools/compat/libnbcompat.a(sha2.lo): in function `SHA512_Final':
- sha2.c:(.text+0x1369): undefined reference to `be64enc'
- ld: /usr/src/../obj/tools/compat/libnbcompat.a(sha2.lo): in function `SHA384_Final':
- sha2.c:(.text+0x14f2): undefined reference to `be64enc'
- *** Failed target: xinstall
- *** Failed command: cc -O -I/usr/src/../obj/tools/compat -I/usr/src/../obj/tools/compat/include -I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/binstall/../compat/sys -DTARGET_STRIP=\"/usr/src/../tools/bin/x86_64--netbsd-strip\" -I/usr/src/usr.sbin/mtree -o xinstall xinstall.lo getid.lo -L/usr/src/../obj/tools/compat -lnbcompat -lrt -lz
- *** Error code 1
- Stop.
- nbmake[6]: stopped in /usr/src/tools/binstall
- *** Failed target: dependall
- *** Failed command: cd "/usr/src/tools/binstall"; /usr/src/../tools/bin/nbmake realall
- *** Error code 1
- Stop.
- nbmake[5]: stopped in /usr/src/tools/binstall
- *** Failed target: dependall-binstall
- *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; real="/usr/src/tools" ;; *) this="tools/${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget binstall dependall
- *** Error code 1
- Stop.
- nbmake[4]: stopped in /usr/src/tools
- *** Failed target: build_install
- *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; real="/usr/src/tools" ;; *) this="tools/${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall-host-mkdep dependall-compat dependall-binstall dependall-date
- *** Error code 1
- Stop.
- nbmake[3]: stopped in /usr/src/tools
- *** Failed target: do-tools
- *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget tools build_install
- *** Error code 1
- Stop.
- nbmake[2]: stopped in /usr/src
- *** Failed target: build
- *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-tools
- *** Error code 1
- Stop.
- nbmake[1]: stopped in /usr/src
- *** Failed target: distribution
- *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
- *** Error code 1
- Stop.
- nbmake: stopped in /usr/src
- ERROR: Failed to make distribution
- *** BUILD ABORTED ***
- %
- *******
- * fix *
- *******
- % cd /usr/src/tools/binstall
- % sudo /usr/tools/bin/nbmake-amd64 cleandir
- % cd /usr/src/tools/compat
- % sudo /usr/tools/bin/nbmake-amd64 cleandir
- % cd /usr/src
- % sudo ./build.sh -O ../obj -T ../tools -U -u distribution
Advertisement