=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for xaric-0.13.6nb1 cat ./fset.c | sed -n -e "/\*--start--\*/,/\*--end--\*/ { s/^[^\"]*\"\([^\"]*\).*$/\1_FSET,/; s/\/\*[^*]*\*\///; p; }" > fset_gen.h cat ./vars.c | sed -n -e "/\*--start--\*/,/\*--end--\*/ { s/^[^\"]*\"\([^\"]*\).*$/\1_VAR,/; s/\/\*[^*]*\*\///; p; }" > vars_gen.h /usr/pkg/bin/gmake all-am gmake[1]: Entering directory '/usr/pkgsrc/work/chat/xaric/work/xaric-0.13.6' cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-alist.o -MD -MP -MF .deps/xaric-alist.Tpo -c -o xaric-alist.o `test -f 'alist.c' || echo './'`alist.c mv -f .deps/xaric-alist.Tpo .deps/xaric-alist.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-cmd_modes.o -MD -MP -MF .deps/xaric-cmd_modes.Tpo -c -o xaric-cmd_modes.o `test -f 'cmd_modes.c' || echo './'`cmd_modes.c cmd_modes.c:623:13: warning: array subscript is of type 'char' [-Wchar-subscripts] switch (toupper(value)) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ 1 warning generated. mv -f .deps/xaric-cmd_modes.Tpo .deps/xaric-cmd_modes.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-ctcp.o -MD -MP -MF .deps/xaric-ctcp.Tpo -c -o xaric-ctcp.o `test -f 'ctcp.c' || echo './'`ctcp.c mv -f .deps/xaric-ctcp.Tpo .deps/xaric-ctcp.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-dcc.o -MD -MP -MF .deps/xaric-dcc.Tpo -c -o xaric-dcc.o `test -f 'dcc.c' || echo './'`dcc.c mv -f .deps/xaric-dcc.Tpo .deps/xaric-dcc.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-exec.o -MD -MP -MF .deps/xaric-exec.Tpo -c -o xaric-exec.o `test -f 'exec.c' || echo './'`exec.c mv -f .deps/xaric-exec.Tpo .deps/xaric-exec.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-expr.o -MD -MP -MF .deps/xaric-expr.Tpo -c -o xaric-expr.o `test -f 'expr.c' || echo './'`expr.c expr.c:255:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(*(tmp - 1))) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ expr.c:345:10: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(c) || (c == '-') || c == '~') { ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ expr.c:408:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isalpha(*ptr) || *ptr == '_') { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ 3 warnings generated. mv -f .deps/xaric-expr.Tpo .deps/xaric-expr.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-flood.o -MD -MP -MF .deps/xaric-flood.Tpo -c -o xaric-flood.o `test -f 'flood.c' || echo './'`flood.c mv -f .deps/xaric-flood.Tpo .deps/xaric-flood.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-fset.o -MD -MP -MF .deps/xaric-fset.Tpo -c -o xaric-fset.o `test -f 'fset.c' || echo './'`fset.c mv -f .deps/xaric-fset.Tpo .deps/xaric-fset.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-functions.o -MD -MP -MF .deps/xaric-functions.Tpo -c -o xaric-functions.o `test -f 'functions.c' || echo './'`functions.c mv -f .deps/xaric-functions.Tpo .deps/xaric-functions.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-funny.o -MD -MP -MF .deps/xaric-funny.Tpo -c -o xaric-funny.o `test -f 'funny.c' || echo './'`funny.c funny.c:353:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] *FromUserHost ? FromUserHost : "", channel, mode)); ^~~~ funny.c:358:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] *FromUserHost ? FromUserHost : "", mode)); ^~~~ funny.c:375:15: warning: array subscript is of type 'char' [-Wchar-subscripts] char c = tolower(*modes); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 3 warnings generated. mv -f .deps/xaric-funny.Tpo .deps/xaric-funny.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-hash.o -MD -MP -MF .deps/xaric-hash.Tpo -c -o xaric-hash.o `test -f 'hash.c' || echo './'`hash.c mv -f .deps/xaric-hash.Tpo .deps/xaric-hash.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-history.o -MD -MP -MF .deps/xaric-history.Tpo -c -o xaric-history.o `test -f 'history.c' || echo './'`history.c mv -f .deps/xaric-history.Tpo .deps/xaric-history.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-hook.o -MD -MP -MF .deps/xaric-hook.Tpo -c -o xaric-hook.o `test -f 'hook.c' || echo './'`hook.c mv -f .deps/xaric-hook.Tpo .deps/xaric-hook.Po cc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/pkg/include -Wall -ggdb3 -O2 -march=i586 -I/usr/include -I/usr/pkg/include -D_GNU_SOURCE -D_REENTRANT -I/usr/include -DHAVE_SSL -MT xaric-iflist.o -MD -MP -MF .deps/xaric-iflist.Tpo -c -o xaric-iflist.o `test -f 'iflist.c' || echo './'`iflist.c iflist.c:66:19: error: variable has incomplete type 'struct ifconf' struct ifconf ifc; ^ iflist.c:66:12: note: forward declaration of 'struct ifconf' struct ifconf ifc; ^ iflist.c:67:24: error: variable has incomplete type 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ iflist.c:67:12: note: forward declaration of 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ iflist.c:75:17: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' len = 100 * sizeof(struct ifreq); /* initial buffer size guess */ ^ ~~~~~~~~~~~~~~ iflist.c:67:12: note: forward declaration of 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ iflist.c:80:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifconf' if (ioctl(sockfd, SIOCGIFCONF, &ifc) < 0) { ^~~~~~~~~~~ /usr/include/sys/sockio.h:63:21: note: expanded from macro 'SIOCGIFCONF' #define SIOCGIFCONF _IOWR('i', 38, struct ifconf) /* get ifnet list */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ iflist.c:66:12: note: forward declaration of 'struct ifconf' struct ifconf ifc; ^ iflist.c:88:14: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' len += 10 * sizeof(struct ifreq); /* increment */ ^ ~~~~~~~~~~~~~~ iflist.c:67:12: note: forward declaration of 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ iflist.c:98:40: error: incomplete definition of type 'struct ifreq' len = MAX(sizeof(struct sockaddr), ifr->ifr_addr.sa_len); ~~~^ /usr/include/sys/param.h:139:38: note: expanded from macro 'MAX' #define MAX(a,b) ((/*CONSTCOND*/(a)>(b))?(a):(b)) ^ iflist.c:67:12: note: forward declaration of 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ iflist.c:98:40: error: incomplete definition of type 'struct ifreq' len = MAX(sizeof(struct sockaddr), ifr->ifr_addr.sa_len); ~~~^ /usr/include/sys/param.h:139:47: note: expanded from macro 'MAX' #define MAX(a,b) ((/*CONSTCOND*/(a)>(b))?(a):(b)) ^ iflist.c:67:12: note: forward declaration of 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ iflist.c:112:19: error: incomplete definition of type 'struct ifreq' ptr += sizeof(ifr->ifr_name) + len; /* for next one in buffer */ ~~~^ iflist.c:67:12: note: forward declaration of 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ iflist.c:116:20: error: incomplete definition of type 'struct ifreq' if (AF_LINK == ifr->ifr_addr.sa_family) ~~~^ iflist.c:67:12: note: forward declaration of 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ iflist.c:121:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ioctl(sockfd, SIOCGIFFLAGS, &ifrcopy) < 0) { ^~~~~~~~~~~~ /usr/include/sys/sockio.h:58:22: note: expanded from macro 'SIOCGIFFLAGS' #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) /* get ifnet flags */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ iflist.c:67:12: note: forward declaration of 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ iflist.c:128:26: error: use of undeclared identifier 'IFF_LOOPBACK' if (ifrcopy.ifr_flags & IFF_LOOPBACK) ^ iflist.c:135:27: error: incomplete definition of type 'struct ifreq' memcpy(ifi->ifi_name, ifr->ifr_name, IFI_NAME);; ~~~^ iflist.c:67:12: note: forward declaration of 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ iflist.c:137:18: error: incomplete definition of type 'struct ifreq' getnameinfo(&ifr->ifr_addr, len, ifi->ifi_host, NI_MAXHOST, NULL, 0, NI_NUMERICSERV); ~~~^ iflist.c:67:12: note: forward declaration of 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ iflist.c:141:28: error: incomplete definition of type 'struct ifreq' memcpy(ifi->ifi_addr, &ifr->ifr_addr, len); ~~~^ iflist.c:67:12: note: forward declaration of 'struct ifreq' struct ifreq *ifr, ifrcopy; ^ 14 errors generated. Makefile:627: recipe for target 'xaric-iflist.o' failed gmake[1]: *** [xaric-iflist.o] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/chat/xaric/work/xaric-0.13.6' Makefile:257: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/chat/xaric *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/chat/xaric