=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for socks5-1.0.2nb6 cc -I. -I../include -I./../lib -I./../include -O2 -march=i586 -D__USE_FIXED_PROTOTYPES__ -DIN_SERVER -DHAVE_CONFIG_H -c ./daemon.c cc -I. -I../include -I./../lib -I./../include -O2 -march=i586 -D__USE_FIXED_PROTOTYPES__ -DIN_SERVER -DHAVE_CONFIG_H -c ./socket.c In file included from ./socket.c:16: In file included from ./validate.h:16: ./../lib/confutil.h:142:54: warning: declaration of 'struct ifreq' will not be visible outside of this function [-Wvisibility] extern int lsLookupIntfc P((S5IOHandle, int, struct ifreq *ifr)); ^ ../include/defs.h:18:14: note: expanded from macro 'P' #define P(x) x ^ ./socket.c:477:35: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] afd = accept(in, &source.sa, &len); ^~~~ /usr/include/sys/socket.h:621:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 2 warnings generated. cc -I. -I../include -I./../lib -I./../include -O2 -march=i586 -D__USE_FIXED_PROTOTYPES__ -DIN_SERVER -DHAVE_CONFIG_H -c ./proxy.c In file included from ./proxy.c:13: In file included from ./validate.h:16: ./../lib/confutil.h:142:54: warning: declaration of 'struct ifreq' will not be visible outside of this function [-Wvisibility] extern int lsLookupIntfc P((S5IOHandle, int, struct ifreq *ifr)); ^ ../include/defs.h:18:14: note: expanded from macro 'P' #define P(x) x ^ ./proxy.c:255:48: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(iio.fd, (ss *)&li.srcAddr, &len) < 0) { ^~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./proxy.c:262:48: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(iio.fd, (ss *)&li.bndAddr, &len) < 0) { ^~~~ /usr/include/sys/socket.h:625:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 3 warnings generated. cc -I. -I../include -I./../lib -I./../include -O2 -march=i586 -D__USE_FIXED_PROTOTYPES__ -DIN_SERVER -DHAVE_CONFIG_H -c ./tcp.c In file included from ./tcp.c:16: In file included from ./validate.h:16: ./../lib/confutil.h:142:54: warning: declaration of 'struct ifreq' will not be visible outside of this function [-Wvisibility] extern int lsLookupIntfc P((S5IOHandle, int, struct ifreq *ifr)); ^ ../include/defs.h:18:14: note: expanded from macro 'P' #define P(x) x ^ ./tcp.c:120:57: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(tcpinfo->oio.fd, &pri->intAddr.sa, &len) < 0) { ^~~~ /usr/include/sys/socket.h:625:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./tcp.c:154:77: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!pri->nextVersion && getsockname(tcpinfo->oio.fd, &pri->intAddr.sa, &len) < 0) { ^~~~ /usr/include/sys/socket.h:625:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./tcp.c:207:61: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] while ((fd = accept(tcpinfo->oio.fd, &pri->dstAddr.sa, &len)) == S5InvalidIOHandle) { ^~~~ /usr/include/sys/socket.h:621:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 4 warnings generated. cc -I. -I../include -I./../lib -I./../include -O2 -march=i586 -D__USE_FIXED_PROTOTYPES__ -DIN_SERVER -DHAVE_CONFIG_H -c ./flow.c cc -I. -I../include -I./../lib -I./../include -O2 -march=i586 -D__USE_FIXED_PROTOTYPES__ -DIN_SERVER -DHAVE_CONFIG_H -c ./info.c In file included from ./info.c:15: In file included from ./validate.h:16: ./../lib/confutil.h:142:54: warning: declaration of 'struct ifreq' will not be visible outside of this function [-Wvisibility] extern int lsLookupIntfc P((S5IOHandle, int, struct ifreq *ifr)); ^ ../include/defs.h:18:14: note: expanded from macro 'P' #define P(x) x ^ ./info.c:107:62: warning: array index 128 is past the end of the array (which contains 128 elements) [-Warray-bounds] if (strlen(pri->dstAddr.sn.sn_name) + 1 > S5_HOSTNAME_SIZE) pri->retName[S5_HOSTNAME_SIZE] = '\0'; ^ ~~~~~~~~~~~~~~~~ ../include/socks5api.h:89:5: note: array 'retName' declared here char retName[S5_HOSTNAME_SIZE]; ^ 2 warnings generated. cc -I. -I../include -I./../lib -I./../include -O2 -march=i586 -D__USE_FIXED_PROTOTYPES__ -DIN_SERVER -DHAVE_CONFIG_H -c ./validate.c In file included from ./validate.c:17: ./../lib/confutil.h:142:54: warning: declaration of 'struct ifreq' will not be visible outside of this function [-Wvisibility] extern int lsLookupIntfc P((S5IOHandle, int, struct ifreq *ifr)); ^ ../include/defs.h:18:14: note: expanded from macro 'P' #define P(x) x ^ ./validate.c:664:18: error: variable has incomplete type 'struct ifreq' struct ifreq ifr; ^ ./validate.c:664:12: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ ./validate.c:771:18: error: variable has incomplete type 'struct ifreq' struct ifreq ifr; ^ ./validate.c:771:12: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ 1 warning and 2 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/socks5/work/socks5-v1.0r2/server *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/socks5/work/socks5-v1.0r2 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/socks5 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/socks5