ptkrisada

netbsd-10 build fails 2024.11.01 #2 (twice in a row)

Nov 1st, 2024
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None | 0 0
  1. Today, Nov 1, 2024, netbsd-10 source tree was updated twice. The latest update was https://mail-index.netbsd.org/source-changes/2024/11/01/msg154197.html. But both builds fail, twice in a row.
  2.  
  3. % uname -a
  4. NetBSD sirius 10.0_STABLE NetBSD 10.0_STABLE (GENERIC) #67: Sun Oct 27 13:10:23+07 2024 root@sirius:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
  5. %
  6. % cd /usr/src
  7. % cvs update -Pd
  8. [snip]
  9. %
  10. % sudo ./build.sh -O ../obj -T ../tools -U -u distribution
  11. [snip]
  12. # compile libarchive/test_main.o
  13. /usr/src/../tools/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -Wno-missing-noreturn -fPIE --sysroot=/usr/src/../obj/destdir.amd64 -I/usr/src/external/bsd/libarchive/dist/test_utils -I/usr/src/external/bsd/libarchive/dist/libarchive -I. -I/usr/src/external/bsd/libarchive/dist/libarchive/test -I/usr/src/external/bsd/libarchive/dist/../include -I/usr/src/tests/lib/libarchive/../.. -c /usr/src/external/bsd/libarchive/dist/test_utils/test_main.c -o test_main.o.o
  14. /usr/src/external/bsd/libarchive/dist/test_utils/test_main.c: In function 'main':
  15. /usr/src/external/bsd/libarchive/dist/test_utils/test_main.c:3944:2: error: 'strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
  16. 3944 | strncpy(testprogdir, progname, testprogdir_len);
  17. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. /usr/src/external/bsd/libarchive/dist/test_utils/test_main.c:3938:20: note: length computed here
  19. 3938 | testprogdir_len = strlen(progname) + 1;
  20. | ^~~~~~~~~~~~~~~~
  21. cc1: all warnings being treated as errors
  22.  
  23. *** Failed target: test_main.o
  24. *** Failed command: /usr/src/../tools/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -Wno-missing-noreturn -fPIE --sysroot=/usr/src/../obj/destdir.amd64 -I/usr/src/external/bsd/libarchive/dist/test_utils -I/usr/src/external/bsd/libarchive/dist/libarchive -I. -I/usr/src/external/bsd/libarchive/dist/libarchive/test -I/usr/src/external/bsd/libarchive/dist/../include -I/usr/src/tests/lib/libarchive/../.. -c /usr/src/external/bsd/libarchive/dist/test_utils/test_main.c -o test_main.o.o
  25. *** Error code 1
  26.  
  27. Stop.
  28. nbmake[7]: stopped in /usr/src/tests/lib/libarchive
  29.  
  30. *** Failed target: dependall
  31. *** Failed command: cd "/usr/src/tests/lib/libarchive"; /usr/src/../tools/bin/nbmake realall
  32. *** Error code 1
  33.  
  34. Stop.
  35. nbmake[6]: stopped in /usr/src/tests/lib/libarchive
  36.  
  37. *** Failed target: dependall-libarchive
  38. *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tests/lib/"; real="/usr/src/tests/lib" ;; *) this="tests/lib/${dir}/"; real="/usr/src/tests/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libarchive dependall
  39. *** Error code 1
  40.  
  41. Stop.
  42. nbmake[5]: stopped in /usr/src/tests/lib
  43.  
  44. *** Failed target: dependall-lib
  45. *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tests/"; real="/usr/src/tests" ;; *) this="tests/${dir}/"; real="/usr/src/tests/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lib dependall
  46. *** Error code 1
  47.  
  48. Stop.
  49. nbmake[4]: stopped in /usr/src/tests
  50.  
  51. *** Failed target: dependall-tests
  52. *** 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 tests dependall
  53. *** Error code 1
  54.  
  55. Stop.
  56. nbmake[3]: stopped in /usr/src
  57.  
  58. *** Failed target: do-build
  59. *** 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 . dependall BUILD_tools=no BUILD_lib=no
  60. *** Error code 1
  61.  
  62. Stop.
  63. nbmake[2]: stopped in /usr/src
  64.  
  65. *** Failed target: build
  66. *** 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-build
  67. *** Error code 1
  68.  
  69. Stop.
  70. nbmake[1]: stopped in /usr/src
  71.  
  72. *** Failed target: distribution
  73. *** 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
  74. *** Error code 1
  75.  
  76. Stop.
  77. nbmake: stopped in /usr/src
  78.  
  79. ERROR: Failed to make distribution
  80.  
  81. *** BUILD ABORTED ***
  82. %
Advertisement
Add Comment
Please, Sign In to add comment