=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> 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:271: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:271: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:271: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 ne_io.c:20:32: warning: declaration of 'struct ifconf' will not be visible outside of this function [-Wvisibility] static int net_ifc_cmp (struct ifconf *, struct ifconf *); ^ ne_io.c:60:32: warning: declaration of 'struct ifconf' will not be visible outside of this function [-Wvisibility] static int net_ifc_cmp (struct ifconf *ifc1, struct ifconf *ifc2) { ^ ne_io.c:60:12: error: conflicting types for 'net_ifc_cmp' static int net_ifc_cmp (struct ifconf *ifc1, struct ifconf *ifc2) { ^ ne_io.c:20:12: note: previous declaration is here static int net_ifc_cmp (struct ifconf *, struct ifconf *); ^ ne_io.c:66:10: error: incomplete definition of type 'struct ifconf' if (ifc1->ifc_len != ifc2->ifc_len) { ~~~~^ ne_io.c:60:32: note: forward declaration of 'struct ifconf' static int net_ifc_cmp (struct ifconf *ifc1, struct ifconf *ifc2) { ^ ne_io.c:66:27: error: incomplete definition of type 'struct ifconf' if (ifc1->ifc_len != ifc2->ifc_len) { ~~~~^ ne_io.c:60:32: note: forward declaration of 'struct ifconf' static int net_ifc_cmp (struct ifconf *ifc1, struct ifconf *ifc2) { ^ ne_io.c:72:12: error: incomplete definition of type 'struct ifconf' cp1 = ifc1->ifc_buf; ~~~~^ ne_io.c:60:32: note: forward declaration of 'struct ifconf' static int net_ifc_cmp (struct ifconf *ifc1, struct ifconf *ifc2) { ^ ne_io.c:73:12: error: incomplete definition of type 'struct ifconf' cp2 = ifc2->ifc_buf; ~~~~^ ne_io.c:60:32: note: forward declaration of 'struct ifconf' static int net_ifc_cmp (struct ifconf *ifc1, struct ifconf *ifc2) { ^ ne_io.c:79:15: error: use of undeclared identifier 'IFNAMSIZ' cp1 = cp1 + IFNAMSIZ + SOCKADDR_SIZEOF (ifr_p1->ifr_addr); ^ ne_io.c:79:49: error: incomplete definition of type 'struct ifreq' cp1 = cp1 + IFNAMSIZ + SOCKADDR_SIZEOF (ifr_p1->ifr_addr); ~~~~~~^ ./macros.h:59:38: note: expanded from macro 'SOCKADDR_SIZEOF' #define SOCKADDR_SIZEOF(sa) (MAXNUM((sa).sa_len, sizeof(sa))) ^ ./macros.h:17:24: note: expanded from macro 'MAXNUM' #define MAXNUM(x,y) (((x)>(y)) ? (x) : (y)) ^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ ne_io.c:79:49: error: incomplete definition of type 'struct ifreq' cp1 = cp1 + IFNAMSIZ + SOCKADDR_SIZEOF (ifr_p1->ifr_addr); ~~~~~~^ ./macros.h:59:57: note: expanded from macro 'SOCKADDR_SIZEOF' #define SOCKADDR_SIZEOF(sa) (MAXNUM((sa).sa_len, sizeof(sa))) ^ ./macros.h:17:28: note: expanded from macro 'MAXNUM' #define MAXNUM(x,y) (((x)>(y)) ? (x) : (y)) ^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ ne_io.c:79:49: error: incomplete definition of type 'struct ifreq' cp1 = cp1 + IFNAMSIZ + SOCKADDR_SIZEOF (ifr_p1->ifr_addr); ~~~~~~^ ./macros.h:59:38: note: expanded from macro 'SOCKADDR_SIZEOF' #define SOCKADDR_SIZEOF(sa) (MAXNUM((sa).sa_len, sizeof(sa))) ^ ./macros.h:17:35: note: expanded from macro 'MAXNUM' #define MAXNUM(x,y) (((x)>(y)) ? (x) : (y)) ^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ ne_io.c:79:49: error: incomplete definition of type 'struct ifreq' cp1 = cp1 + IFNAMSIZ + SOCKADDR_SIZEOF (ifr_p1->ifr_addr); ~~~~~~^ ./macros.h:59:57: note: expanded from macro 'SOCKADDR_SIZEOF' #define SOCKADDR_SIZEOF(sa) (MAXNUM((sa).sa_len, sizeof(sa))) ^ ./macros.h:17:41: note: expanded from macro 'MAXNUM' #define MAXNUM(x,y) (((x)>(y)) ? (x) : (y)) ^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ ne_io.c:80:15: error: use of undeclared identifier 'IFNAMSIZ' cp2 = cp2 + IFNAMSIZ + SOCKADDR_SIZEOF (ifr_p2->ifr_addr); ^ ne_io.c:80:49: error: incomplete definition of type 'struct ifreq' cp2 = cp2 + IFNAMSIZ + SOCKADDR_SIZEOF (ifr_p2->ifr_addr); ~~~~~~^ ./macros.h:59:38: note: expanded from macro 'SOCKADDR_SIZEOF' #define SOCKADDR_SIZEOF(sa) (MAXNUM((sa).sa_len, sizeof(sa))) ^ ./macros.h:17:24: note: expanded from macro 'MAXNUM' #define MAXNUM(x,y) (((x)>(y)) ? (x) : (y)) ^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ ne_io.c:80:49: error: incomplete definition of type 'struct ifreq' cp2 = cp2 + IFNAMSIZ + SOCKADDR_SIZEOF (ifr_p2->ifr_addr); ~~~~~~^ ./macros.h:59:57: note: expanded from macro 'SOCKADDR_SIZEOF' #define SOCKADDR_SIZEOF(sa) (MAXNUM((sa).sa_len, sizeof(sa))) ^ ./macros.h:17:28: note: expanded from macro 'MAXNUM' #define MAXNUM(x,y) (((x)>(y)) ? (x) : (y)) ^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ ne_io.c:80:49: error: incomplete definition of type 'struct ifreq' cp2 = cp2 + IFNAMSIZ + SOCKADDR_SIZEOF (ifr_p2->ifr_addr); ~~~~~~^ ./macros.h:59:38: note: expanded from macro 'SOCKADDR_SIZEOF' #define SOCKADDR_SIZEOF(sa) (MAXNUM((sa).sa_len, sizeof(sa))) ^ ./macros.h:17:35: note: expanded from macro 'MAXNUM' #define MAXNUM(x,y) (((x)>(y)) ? (x) : (y)) ^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ ne_io.c:80:49: error: incomplete definition of type 'struct ifreq' cp2 = cp2 + IFNAMSIZ + SOCKADDR_SIZEOF (ifr_p2->ifr_addr); ~~~~~~^ ./macros.h:59:57: note: expanded from macro 'SOCKADDR_SIZEOF' #define SOCKADDR_SIZEOF(sa) (MAXNUM((sa).sa_len, sizeof(sa))) ^ ./macros.h:17:41: note: expanded from macro 'MAXNUM' #define MAXNUM(x,y) (((x)>(y)) ? (x) : (y)) ^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ ne_io.c:85:23: error: incomplete definition of type 'struct ifreq' sprint_inet(&ifr_p1->ifr_addr, astr); ~~~~~~^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ ne_io.c:86:23: error: incomplete definition of type 'struct ifreq' sprint_inet(&ifr_p2->ifr_addr, bstr); ~~~~~~^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ ne_io.c:89:44: error: incomplete definition of type 'struct ifreq' af1 %d, af2 %d, addr1 %s, addr2 %s", ifr_p1->ifr_name, ifr_p2->ifr_name, \ ~~~~~~^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ ne_io.c:94:13: error: incomplete definition of type 'struct ifreq' if (ifr_p1->ifr_addr.sa_family != AF_INET && ~~~~~~^ ne_io.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq *ifr_p1; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/totd/work/totd-1.5.1 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/totd *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/totd