Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
compiling usr.sbin/sysinst/arch/amd64/../../partman.c still fails...
...like so:
/u/NetBSD/arch/amd64/TOOLS/bin/nbmake-amd64 dependall
dependall ===> arch/amd64
compile amd64/partman.o
/u/NetBSD/src/usr.sbin/sysinst/arch/amd64/../../partman.c: In function 'pm_getrefdev':
/u/NetBSD/src/usr.sbin/sysinst/arch/amd64/../../partman.c:1930:12: error: ' (' directive output may be truncated writing 2 bytes into a region of size between 0 and 254 [-Werror=format-truncation=]
"%s (%s, %s)",
^~
/u/NetBSD/src/usr.sbin/sysinst/arch/amd64/../../partman.c:1928:7: note: 'snprintf' output 6 or more bytes (assuming 514) into a destination of size 254
r = snprintf(pm_cur->diskdev_descr,
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sizeof(pm_cur->diskdev_descr)-1,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"%s (%s, %s)",
~~~~~~~~~~~~~~
pm_cur->diskdev_descr, dev,
~~~~~~~~~~~~~~~~~~~~~~~~~~~
vnds[i].filepath);
~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
*** Failed target: partman.o
*** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -O2 -pipe -fPIE -Os -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 -DBOOTSEL -DWSKBD -D_KERNTYPES --sysroot=/u/NetBSD/arch/amd64/dest -I. -I/u/NetBSD/src/usr.sbin/sysinst/arch/amd64/../.. -I/u/NetBSD/src/usr.sbin/sysinst/arch/amd64 -DSETS_TAR_SUFF=\"tar.xz\" -DREL=\"8.99.34\" -DMACH=\"amd64\" -DMACH_amd64 -DARCH_x86_64 -DSYSINST_FTP_HOST=\"nyftp.NetBSD.org\" -DSYSINST_HTTP_HOST=\"nycdn.NetBSD.org\" -DREL_PATH=\"HEAD\" -DPKG_SUBDIR="\"8.0\"" -DCATALOG_DIR=\"/usr/share/sysinst/catalog\" -DINET6 -c -Wno-format-nonliteral -Wno-stack-protector /u/NetBSD/src/usr.sbin/sysinst/arch/amd64/../../partman.c
*** Error code 1
Stop.
nbmake[2]: stopped in /u/NetBSD/src/usr.sbin/sysinst/arch/amd64
*** Failed target: dependall
*** Failed command: cd "/u/NetBSD/src/usr.sbin/sysinst/arch/amd64"; /u/NetBSD/arch/amd64/TOOLS/bin/nbmake realall
*** Error code 1
Stop.
Kurt
Home |
Main Index |
Thread Index |
Old Index