=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for nostromo-1.9.6nb1 --- all --- cd src; /usr/bin/make --- all-libmy --- --- all-nhttpd --- --- all-tools --- --- all-nhttpd --- all ===> nhttpd --- all-libmy --- all ===> libmy --- all-tools --- all ===> tools --- all-libmy --- --- flog.o --- --- flogd.o --- --- all-tools --- --- .gdbinit --- --- all-libmy --- --- flog.o --- # compile libmy/flog.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wstrict-prototypes -std=gnu99 -Werror -fPIE -c flog.c -o flog.o --- flogd.o --- # compile libmy/flogd.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wstrict-prototypes -std=gnu99 -Werror -fPIE -c flogd.c -o flogd.o --- all-nhttpd --- --- .gdbinit --- --- all-tools --- rm -f .gdbinit --- all-nhttpd --- rm -f .gdbinit --- all-tools --- touch .gdbinit --- crypt.o --- --- all-nhttpd --- touch .gdbinit --- all-tools --- # compile tools/crypt.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wstrict-prototypes -fPIE -std=gnu99 -Werror -c crypt.c --- all-nhttpd --- --- nhttpd.html8 --- # format nhttpd/nhttpd.html8 if test "" != "yes"; then mandoc -Thtml -Oman=../html%S/%N.html,style=../style.css nhttpd.8 > nhttpd.html8.tmp && mv -f nhttpd.html8.tmp nhttpd.html8; else groff -Tlatin1 -mdoc2html nhttpd.8 > nhttpd.html8.tmp && mv -f nhttpd.html8.tmp nhttpd.html8; fi --- main.o --- # compile nhttpd/main.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fPIE -std=gnu99 -Werror -c main.c --- all-libmy --- --- flog.o --- ctfconvert -g -L VERSION flog.o objcopy -x flog.o --- fparse.o --- # compile libmy/fparse.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wstrict-prototypes -std=gnu99 -Werror -fPIE -c fparse.c -o fparse.o --- flogd.o --- ctfconvert -g -L VERSION flogd.o objcopy -x flogd.o --- strb64d.o --- # compile libmy/strb64d.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wstrict-prototypes -std=gnu99 -Werror -fPIE -c strb64d.c -o strb64d.o --- all-tools --- ctfconvert -g -L VERSION crypt.o --- crypt --- # link tools/crypt gcc -Wl,-R/usr/pkg/lib -pie -shared-libgcc -Wl,-z,relro -o crypt crypt.o -Wl,-rpath-link,/lib -L=/lib -lcrypt ctfmerge -t -g -L VERSION -o crypt crypt.o --- all-libmy --- ctfconvert -g -L VERSION strb64d.o --- strcutf.o --- # compile libmy/strcutf.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wstrict-prototypes -std=gnu99 -Werror -fPIE -c strcutf.c -o strcutf.o --- strb64d.o --- objcopy -x strb64d.o --- strcuti.o --- # compile libmy/strcuti.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wstrict-prototypes -std=gnu99 -Werror -fPIE -c strcuti.c -o strcuti.o --- fparse.o --- ctfconvert -g -L VERSION fparse.o objcopy -x fparse.o --- strcutl.o --- # compile libmy/strcutl.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wstrict-prototypes -std=gnu99 -Werror -fPIE -c strcutl.c -o strcutl.o --- strcutf.o --- ctfconvert -g -L VERSION strcutf.o objcopy -x strcutf.o --- strcuts.o --- # compile libmy/strcuts.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wstrict-prototypes -std=gnu99 -Werror -fPIE -c strcuts.c -o strcuts.o --- strcuti.o --- ctfconvert -g -L VERSION strcuti.o objcopy -x strcuti.o --- strcutw.o --- # compile libmy/strcutw.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wstrict-prototypes -std=gnu99 -Werror -fPIE -c strcutw.c -o strcutw.o --- strcutl.o --- ctfconvert -g -L VERSION strcutl.o objcopy -x strcutl.o --- strlower.o --- # compile libmy/strlower.o gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wstrict-prototypes -std=gnu99 -Werror -fPIE -c strlower.c -o strlower.o --- strcutw.o --- ctfconvert -g -L VERSION strcutw.o --- strcuts.o --- ctfconvert -g -L VERSION strcuts.o --- strcutw.o --- objcopy -x strcutw.o --- strcuts.o --- objcopy -x strcuts.o --- strlower.o --- ctfconvert -g -L VERSION strlower.o objcopy -x strlower.o --- libmy.a --- # build libmy/libmy.a ar crs libmy.a `NM=nm lorder strcutl.o strcutw.o strcuts.o strcuti.o strcutf.o flog.o flogd.o fparse.o strlower.o strb64d.o | tsort -q` --- all-nhttpd --- In file included from /usr/include/stdio.h:597:0, from /usr/include/openssl/crypto.h:20, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from main.c:36: main.c: In function 'main': --- http.o --- --- sys.o --- --- main.o --- main.c:737:40: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 128 [-Werror=format-truncation=] snprintf(http_url, sizeof(http_url), "%s", config.servername); ^ ~ main.c:737:3: note: '__builtin_snprintf' output between 1 and 1024 bytes into a destination of size 128 snprintf(http_url, sizeof(http_url), "%s", config.servername); ^ main.c:739:40: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 128 [-Werror=format-truncation=] snprintf(http_url, sizeof(http_url), "%s:%d", ^ config.servername, config.serverport); ~ main.c:739:3: note: '__builtin_snprintf' output between 3 and 1036 bytes into a destination of size 128 snprintf(http_url, sizeof(http_url), "%s:%d", ^ main.c:742:41: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 128 [-Werror=format-truncation=] snprintf(http_urls, sizeof(http_url), "%s", config.servername); ^ ~ main.c:742:3: note: '__builtin_snprintf' output between 1 and 1024 bytes into a destination of size 128 snprintf(http_urls, sizeof(http_url), "%s", config.servername); ^ main.c:744:41: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 128 [-Werror=format-truncation=] snprintf(http_urls, sizeof(http_url), "%s:%d", ^ config.servername, config.sslport); ~ main.c:744:3: note: '__builtin_snprintf' output between 3 and 1036 bytes into a destination of size 128 snprintf(http_urls, sizeof(http_url), "%s:%d", ^ --- sys.o --- # compile nhttpd/sys.o --- http.o --- # compile nhttpd/http.o --- sys.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fPIE -std=gnu99 -Werror -c sys.c --- http.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fPIE -std=gnu99 -Werror -c http.c --- main.o --- cc1: all warnings being treated as errors *** [main.o] Error code 1 make[2]: stopped in /tmp/www/nostromo/work/nostromo-1.9.6/src/nhttpd --- http.o --- In file included from /usr/include/stdio.h:597:0, from /usr/include/openssl/crypto.h:20, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from http.c:26: http.c: In function 'http_access_htaccess.part.1': http.c:1162:32: error: '__builtin_snprintf' output may be truncated before the last format character [-Werror=format-truncation=] snprintf(file, sizeof(file), "%s/%s", path, config.htaccess); ^ http.c:1162:3: note: '__builtin_snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(file, sizeof(file), "%s/%s", path, config.htaccess); ^ --- sys.o --- ctfconvert -g -L VERSION sys.o --- http.o --- http.c: In function 'http_header': http.c:1600:33: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(logn, sizeof(logn), "%s_%s", config.logaccess, ^ http.c:1600:4: note: '__builtin_snprintf' output between 2 and 2048 bytes into a destination of size 1024 snprintf(logn, sizeof(logn), "%s_%s", config.logaccess, ^ http.c:1744:9: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1016 [-Werror=format-truncation=] "https://%s%s/", h->rq_fv_hos, h->rq_uri); ^ http.c:1743:5: note: '__builtin_snprintf' output between 10 and 2056 bytes into a destination of size 1024 snprintf(h->rp_fv_loc, sizeof(h->rp_fv_loc), ^ http.c:1747:9: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Werror=format-truncation=] "http://%s%s/", h->rq_fv_hos, h->rq_uri); ^ http.c:1746:5: note: '__builtin_snprintf' output between 9 and 2055 bytes into a destination of size 1024 snprintf(h->rp_fv_loc, sizeof(h->rp_fv_loc), ^ http.c:1887:30: error: ' ' directive output may be truncated writing 2 bytes into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(tmp, sizeof(tmp), "%s %s\r\n", http_fn_loc, ^ http.c:1887:3: note: '__builtin_snprintf' output 4 or more bytes (assuming 1027) into a destination of size 1024 snprintf(tmp, sizeof(tmp), "%s %s\r\n", http_fn_loc, ^ http.c:1894:30: error: ' ' directive output may be truncated writing 2 bytes into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(tmp, sizeof(tmp), "%s %s\r\n%s %jd\r\n", ^ http.c:1894:3: note: '__builtin_snprintf' output 8 or more bytes (assuming 1031) into a destination of size 1024 snprintf(tmp, sizeof(tmp), "%s %s\r\n%s %jd\r\n", ^ http.c:1906:30: error: ' ' directive output may be truncated writing 2 bytes into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(tmp, sizeof(tmp), "%s %s\r\n", http_fn_cte, ^ http.c:1906:3: note: '__builtin_snprintf' output 4 or more bytes (assuming 1027) into a destination of size 1024 snprintf(tmp, sizeof(tmp), "%s %s\r\n", http_fn_cte, ^ http.c:1921:30: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Werror=format-truncation=] snprintf(tmp, sizeof(tmp), "%s Basic realm=\"%s\"\r\n", ^ http.c:1921:3: note: '__builtin_snprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024 snprintf(tmp, sizeof(tmp), "%s Basic realm=\"%s\"\r\n", ^ http.c: In function 'http_proc': http.c:305:36: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(cpage, sizeof(cpage), "%s/%s", ^ rh->rq_docrootv, config.c401); ~ http.c:305:5: note: '__builtin_snprintf' output between 2 and 2048 bytes into a destination of size 1024 snprintf(cpage, sizeof(cpage), "%s/%s", ^ http.c:308:36: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(cpage, sizeof(cpage), "%s/%s", ^ config.docroot, config.c401); ~ http.c:308:5: note: '__builtin_snprintf' output between 2 and 2048 bytes into a destination of size 1024 snprintf(cpage, sizeof(cpage), "%s/%s", ^ http.c:318:36: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(cpage, sizeof(cpage), "%s/%s", ^ rh->rq_docrootv, config.c403); ~ http.c:318:5: note: '__builtin_snprintf' output between 2 and 2048 bytes into a destination of size 1024 snprintf(cpage, sizeof(cpage), "%s/%s", ^ http.c:321:36: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(cpage, sizeof(cpage), "%s/%s", ^ config.docroot, config.c403); ~ http.c:321:5: note: '__builtin_snprintf' output between 2 and 2048 bytes into a destination of size 1024 snprintf(cpage, sizeof(cpage), "%s/%s", ^ http.c:331:36: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(cpage, sizeof(cpage), "%s/%s", ^ rh->rq_docrootv, config.c404); ~ http.c:331:5: note: '__builtin_snprintf' output between 2 and 2048 bytes into a destination of size 1024 snprintf(cpage, sizeof(cpage), "%s/%s", ^ http.c:334:36: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(cpage, sizeof(cpage), "%s/%s", ^ config.docroot, config.c404); ~ http.c:334:5: note: '__builtin_snprintf' output between 2 and 2048 bytes into a destination of size 1024 snprintf(cpage, sizeof(cpage), "%s/%s", ^ http.c:399:35: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 128 [-Werror=format-truncation=] snprintf(c[sfd].plreq[hr], 128, "%s %s %s", ^ http.c:399:3: note: '__builtin_snprintf' output between 3 and 3072 bytes into a destination of size 128 snprintf(c[sfd].plreq[hr], 128, "%s %s %s", ^ http.c:951:34: error: '" ' directive output may be truncated writing 2 bytes into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(log_2, sizeof(log_2), "\"%s\" ", rh->rq_fv_ref); ^ http.c:951:3: note: '__builtin_snprintf' output between 4 and 1027 bytes into a destination of size 1024 snprintf(log_2, sizeof(log_2), "\"%s\" ", rh->rq_fv_ref); ^ http.c:957:30: error: '"' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Werror=format-truncation=] snprintf(tmp, sizeof(tmp), "\"%s\"", rh->rq_fv_agt); ^ http.c:957:3: note: '__builtin_snprintf' output between 3 and 1026 bytes into a destination of size 1024 snprintf(tmp, sizeof(tmp), "\"%s\"", rh->rq_fv_agt); ^ cc1: all warnings being treated as errors *** [http.o] Error code 1 make[2]: stopped in /tmp/www/nostromo/work/nostromo-1.9.6/src/nhttpd 2 errors make[2]: stopped in /tmp/www/nostromo/work/nostromo-1.9.6/src/nhttpd *** [all-nhttpd] Error code 2 make[1]: stopped in /tmp/www/nostromo/work/nostromo-1.9.6/src 1 error make[1]: stopped in /tmp/www/nostromo/work/nostromo-1.9.6/src *** [all] Error code 2 make: stopped in /tmp/www/nostromo/work/nostromo-1.9.6 1 error make: stopped in /tmp/www/nostromo/work/nostromo-1.9.6 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/www/nostromo *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/www/nostromo