ptkrisada

netbsd-10 build fails 2024.10.12

Oct 12th, 2024 (edited)
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.51 KB | None | 0 0
  1. % cd /usr/src
  2. % sudo ./build.sh -O ../obj -T ../tools -U -u distribution
  3. [snip...]
  4. dependall ===> tools/host-mkdep
  5. dependall ===> tools/compat
  6. dependall ===> tools/binstall
  7. # link binstall/xinstall
  8. 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
  9. ld: /usr/src/../obj/tools/compat/libnbcompat.a(sha2.lo): in function `SHA256_Transform':
  10. sha2.c:(.text+0x14b): undefined reference to `be32dec'
  11. ld: /usr/src/../obj/tools/compat/libnbcompat.a(sha2.lo): in function `SHA224_256_Final':
  12. sha2.c:(.text+0x613): undefined reference to `be32enc'
  13. ld: /usr/src/../obj/tools/compat/libnbcompat.a(sha2.lo): in function `SHA512_Transform':
  14. sha2.c:(.text+0xb24): undefined reference to `be64dec'
  15. ld: /usr/src/../obj/tools/compat/libnbcompat.a(sha2.lo): in function `SHA512_Final':
  16. sha2.c:(.text+0x1369): undefined reference to `be64enc'
  17. ld: /usr/src/../obj/tools/compat/libnbcompat.a(sha2.lo): in function `SHA384_Final':
  18. sha2.c:(.text+0x14f2): undefined reference to `be64enc'
  19.  
  20. *** Failed target: xinstall
  21. *** 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
  22. *** Error code 1
  23.  
  24. Stop.
  25. nbmake[6]: stopped in /usr/src/tools/binstall
  26.  
  27. *** Failed target: dependall
  28. *** Failed command: cd "/usr/src/tools/binstall"; /usr/src/../tools/bin/nbmake realall
  29. *** Error code 1
  30.  
  31. Stop.
  32. nbmake[5]: stopped in /usr/src/tools/binstall
  33.  
  34. *** Failed target: dependall-binstall
  35. *** 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
  36. *** Error code 1
  37.  
  38. Stop.
  39. nbmake[4]: stopped in /usr/src/tools
  40.  
  41. *** Failed target: build_install
  42. *** 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
  43. *** Error code 1
  44.  
  45. Stop.
  46. nbmake[3]: stopped in /usr/src/tools
  47.  
  48. *** Failed target: do-tools
  49. *** 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
  50. *** Error code 1
  51.  
  52. Stop.
  53. nbmake[2]: stopped in /usr/src
  54.  
  55. *** Failed target: build
  56. *** 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
  57. *** Error code 1
  58.  
  59. Stop.
  60. nbmake[1]: stopped in /usr/src
  61.  
  62. *** Failed target: distribution
  63. *** 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
  64. *** Error code 1
  65.  
  66. Stop.
  67. nbmake: stopped in /usr/src
  68.  
  69. ERROR: Failed to make distribution
  70.  
  71. *** BUILD ABORTED ***
  72. %
Advertisement
Add Comment
Please, Sign In to add comment