=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for totd-1.5.1 gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c request.c request.c:73:27: warning: passing 'u_char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (len != strlen(qname) + 1) { ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ request.c:148:35: warning: passing 'u_char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (cont->current_ns->list_data), str)); ^~~ ./protos.h:28:44: note: passing argument to parameter here char *sprint_inet(struct sockaddr *, char *); ^ request.c:175:11: warning: passing 'u_char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy (cont->qname, qname, MAX_DNAME); ^~~~~~~~~~~ /usr/include/string.h:101:23: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ request.c:175:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy (cont->qname, qname, MAX_DNAME); ^~~~~ /usr/include/string.h:101:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ request.c:245:20: warning: passing 'char [256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] dname_decompress (astr, MAX_DNAME, cont->qname, 0, 0, 0); ^~~~ ./protos.h:161:35: note: passing argument to parameter here u_char *dname_decompress (u_char *, int, u_char *, u_char *, u_char *, int *); ^ request.c:318:10: warning: passing 'u_char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(qname, cont->qname, MAX_DNAME); ^~~~~ /usr/include/string.h:101:23: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ request.c:318:17: warning: passing 'u_char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(qname, cont->qname, MAX_DNAME); ^~~~~~~~~~~ /usr/include/string.h:101:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ request.c:413:13: warning: passing 'u_char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(qname, cont->qname, MAX_DNAME); ^~~~~ /usr/include/string.h:101:23: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ request.c:413:20: warning: passing 'u_char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(qname, cont->qname, MAX_DNAME); ^~~~~~~~~~~ /usr/include/string.h:101:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ 9 warnings generated. gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c response.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c context.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c ne_mesg.c ne_mesg.c:150:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (strncasecmp (dname_mesg + 1, dname + 1, len)) ^~~~~~~~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t); ^ ne_mesg.c:150:43: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (strncasecmp (dname_mesg + 1, dname + 1, len)) ^~~~~~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t); ^ ne_mesg.c:532:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] wp += sprintf(wp, "\\[x"); ^~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ ne_mesg.c:540:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] wp += sprintf(wp, "%c%c", d1, d2); ^~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ ne_mesg.c:543:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] wp += sprintf(wp, "/%u].", bitlength); ^~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ ne_mesg.c:726:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncasecmp (cpm+1, cpd+1, *cpm)) ^~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t); ^ ne_mesg.c:726:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncasecmp (cpm+1, cpd+1, *cpm)) ^~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t); ^ 7 warnings generated. gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c conv_trick.c conv_trick.c:108:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] name = rrset_owner(rrsp); ^ ~~~~~~~~~~~~~~~~~ conv_trick.c:114:39: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] dname_decompress (str, MAX_DNAME, name, 0,0,0); ^~~~ ./protos.h:161:50: note: passing argument to parameter here u_char *dname_decompress (u_char *, int, u_char *, u_char *, u_char *, int *); ^ conv_trick.c:123:38: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] dname_decompress (str, MAX_DNAME, name, 0,0,0); ^~~~ ./protos.h:161:50: note: passing argument to parameter here u_char *dname_decompress (u_char *, int, u_char *, u_char *, u_char *, int *); ^ conv_trick.c:134:38: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] dname_decompress (str, MAX_DNAME, name, 0,0,0); ^~~~ ./protos.h:161:50: note: passing argument to parameter here u_char *dname_decompress (u_char *, int, u_char *, u_char *, u_char *, int *); ^ conv_trick.c:202:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] qlen = strlen(qname) + 1; ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ conv_trick.c:414:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] !mesg_dname_cmp(NULL, tmp_domain, name)) ^~~~ ./protos.h:162:49: note: passing argument to parameter here int mesg_dname_cmp (u_char *, u_char *, u_char *); ^ 6 warnings generated. gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c ev_tcp.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c forward.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c queue.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c read_config.c read_config.c:87:26: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (conv_trick_conf (args[1])) { ^~~~~~~ ./protos.h:75:30: note: passing argument to parameter here int conv_trick_conf (u_char *); ^ read_config.c:128:54: warning: for loop has empty body [-Wempty-body] for (i = 0; T.iflist[i] && i < MAXINTERFACES; i++); ^ read_config.c:128:54: note: put the semicolon on a separate line to silence this warning 2 warnings generated. gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c tcp_request.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c tcp_response.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c ev_dup.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c list.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c res_record.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c udp_request.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c ev_timeout.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c udp_response.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c ev_signal.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c ev_udp_in.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c ne_io.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c conv_scoped.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c conv_stf.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c strlcpy.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c strlcat.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c daemon.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c inet_aton.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c html.c gcc -O2 -march=i586 -DHAVE_CONFIG_H -Werror -Wall -DTOTCONF=\"/usr/pkg/etc/totd.conf\" -DSCOPED_REWRITE -DUSE_INET4 -DUSE_INET6 -c totd.c totd.c:115:15: warning: too many arguments in call to 'usage' usage(1); ~~~~~ ^ totd.c:122:12: warning: too many arguments in call to 'usage' usage(1); ~~~~~ ^ totd.c:131:12: warning: too many arguments in call to 'usage' usage (1); ~~~~~ ^ totd.c:138:12: warning: too many arguments in call to 'usage' usage (1); ~~~~~ ^ totd.c:507:7: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat] tv_out.tv_sec); ^~~~~~~~~~~~~ 5 warnings generated. gcc -Wl,-R/usr/pkg/lib -o totd request.o response.o context.o ne_mesg.o conv_trick.o ev_tcp.o forward.o queue.o read_config.o tcp_request.o tcp_response.o ev_dup.o list.o res_record.o udp_request.o ev_timeout.o udp_response.o ev_signal.o ev_udp_in.o ne_io.o conv_scoped.o conv_stf.o strlcpy.o strlcat.o daemon.o inet_aton.o html.o totd.o ne_io.o: In function `nia_set_wildsock': ne_io.c:(.text+0x55a): undefined reference to `in6addr_any' ne_io.c:(.text+0x563): undefined reference to `in6addr_any' ne_io.c:(.text+0x56c): undefined reference to `in6addr_any' ne_io.c:(.text+0x575): undefined reference to `in6addr_any' conv_scoped.o: In function `conv_scoped_query': conv_scoped.c:(.text+0x5c): undefined reference to `in6addr_any' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/totd/work/totd-1.5.1 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/net/totd *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/totd