=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> 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 socks4-2.2nb1
--- LIB ---
--- LIBIDENT ---
--- LIB ---
(cd lib; /usr/bin/make CC="cc" GETPASS=""  OPTIMIZE="-O2"  RCMD="Rrcmd.o" SUPPORT_RCMD="-DSUPPORT_RCMD"  DNS_THROUGH_NIS=""  OTHER_CFLAGS="-DGETCWD -DSHORTENED_RBIND  -DTRY_PASV -Dunix=1   "  RANLIB="ranlib")
--- LIBIDENT ---
(cd libident; /usr/bin/make CC="cc" OTHER_CFLAGS="-DGETCWD -DSHORTENED_RBIND  -DTRY_PASV -Dunix=1"  OPTIMIZE="-O2" RANLIB="ranlib")
--- echocwd ---
--- LIB ---
--- echocwd ---
--- LIBIDENT ---
/scratch/net/socks4/work/socks.cstc.4.2/libident
--- LIB ---
/scratch/net/socks4/work/socks.cstc.4.2/lib
--- LIBIDENT ---
--- ident.o ---
--- LIB ---
--- Rconnect.o ---
--- LIBIDENT ---
cc -O2 -DGETCWD -DSHORTENED_RBIND  -DTRY_PASV -Dunix=1  -c ident.c
--- LIB ---
cc -I../include -O2 -DGETCWD -DSHORTENED_RBIND  -DTRY_PASV -Dunix=1    -DSUPPORT_RCMD   -c Rconnect.c
--- LIBIDENT ---
ident.c:41:55: 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(fd, (struct sockaddr *)&remoteaddr, &len) < 0)
                                                      ^~~~
/usr/include/sys/socket.h:615:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
ident.c:45:54: 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(fd, (struct sockaddr *)&localaddr, &len) < 0)
                                                     ^~~~
/usr/include/sys/socket.h:616:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
ident.c:76:21: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)'
  ident = (IDENT *) malloc(sizeof(IDENT));
                    ^
ident.c:76:21: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
ident.c:98:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
    free(ident);
    ^
4 warnings generated.
--- id_open.o ---
cc -O2 -DGETCWD -DSHORTENED_RBIND  -DTRY_PASV -Dunix=1  -c id_open.c
id_open.c:60:14: warning: incompatible redeclaration of library function 'malloc'
extern void *malloc __P((int size));
             ^
id_open.c:60:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
id_open.c:90:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
    free(id);
    ^
id_open.c:172:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(id->fd);
  ^
3 warnings generated.
--- id_close.o ---
--- LIB ---
Rconnect.c:93:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
SOCKSinit(Progname)
^~~~~~~~~
--- LIBIDENT ---
cc -O2 -DGETCWD -DSHORTENED_RBIND  -DTRY_PASV -Dunix=1  -c id_close.c
--- LIB ---
Rconnect.c:110:3: error: non-void function 'SOCKSinit' should return a value [-Wreturn-type]
                return;
                ^
Rconnect.c:130:2: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration]
        gethostname(socks_src_name, sizeof(socks_src_name));
        ^
Rconnect.c:166:41: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
                _res.nsaddr_list[0].sin_addr.s_addr = inet_addr(ns);
                                                      ^
Rconnect.c:212:26: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration]
                if ((pw = getpwuid(uid=getuid())) == NULL) {
                                       ^
Rconnect.c:220:25: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration]
        if ((pw = getpwuid(uid=geteuid())) == NULL) {
                               ^
Rconnect.c:253:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (socks_server = socks_serverlist) {
               ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Rconnect.c:253:22: note: place parentheses around the assignment to silence this warning
        while (socks_server = socks_serverlist) {
                            ^
               (                              )
Rconnect.c:253:22: note: use '==' to turn this assignment into an equality comparison
        while (socks_server = socks_serverlist) {
                            ^
                            ==
Rconnect.c:254:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (socks_serverlist = index(socks_serverlist, ','))
                    ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rconnect.c:254:24: note: place parentheses around the assignment to silence this warning
                if (socks_serverlist = index(socks_serverlist, ','))
                                     ^
                    (                                              )
Rconnect.c:254:24: note: use '==' to turn this assignment into an equality comparison
                if (socks_serverlist = index(socks_serverlist, ','))
                                     ^
                                     ==
Rconnect.c:280:16: warning: implicit declaration of function 'rresvport' is invalid in C99 [-Wimplicit-function-declaration]
                                new_sock = rresvport(lport);
                                           ^
Rconnect.c:290:8: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration]
                        if (dup2(new_sock, sock) < 0) {
                            ^
Rconnect.c:291:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                                close(new_sock);
                                ^
Rconnect.c:344:11: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
                if((n = write(s, p, i)) <= 0) {
                        ^
Rconnect.c:360:13: warning: implicit declaration of function 'socks_SendDst' is invalid in C99 [-Wimplicit-function-declaration]
        if ((sta = socks_SendDst(s, dst)) < 0) {
                   ^
Rconnect.c:374:13: warning: implicit declaration of function 'socks_GetDst' is invalid in C99 [-Wimplicit-function-declaration]
        if ((sta = socks_GetDst(s, dst)) < 0) {
                   ^
Rconnect.c:387:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
        exit(SOCKS_FAIL);
        ^
Rconnect.c:387:2: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
Rconnect.c:398:2: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration]
        alarm(CLIENT_CONN_TIMEOUT);
        ^
Rconnect.c:417:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
Rconnect(sock, sin, size)
^~~~~~~~
Rconnect.c:449:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        } else if (status = socks_conn_code) {
                   ~~~~~~~^~~~~~~~~~~~~~~~~
Rconnect.c:449:20: note: place parentheses around the assignment to silence this warning
        } else if (status = socks_conn_code) {
                          ^
                   (                       )
Rconnect.c:449:20: note: use '==' to turn this assignment into an equality comparison
        } else if (status = socks_conn_code) {
                          ^
                          ==
Rconnect.c:529:11: warning: implicit declaration of function 'socks_check_cconf' is invalid in C99 [-Wimplicit-function-declaration]
        direct = socks_check_cconf(&me, sin);
                 ^
Rconnect.c:601:22: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
        switch (child_pid = fork()) {
                            ^
Rconnect.c:629:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
Rbind(sock, sin, size)
^~~~~
Rconnect.c:781:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
Rlisten(s, n)
^~~~~~~
Rconnect.c:798:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
Rgetsockname(sock, sin, size)
^~~~~~~~~~~~
Rconnect.c:811:53: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                return (getsockname(sock, (struct sockaddr *)sin, size));
                                                                  ^~~~
/usr/include/sys/socket.h:616:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
Rconnect.c:824:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
Raccept(sock, sin, size)
^~~~~~~
Rconnect.c:840:47: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                return(accept(sock, (struct sockaddr *)sin, size));
                                                            ^~~~
/usr/include/sys/socket.h:612:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
Rconnect.c:852:11: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration]
                        return(dup(sock));
                               ^
26 warnings and 1 error generated.
*** [Rconnect.o] Error code 1

make: stopped in /scratch/net/socks4/work/socks.cstc.4.2/lib
1 error

make: stopped in /scratch/net/socks4/work/socks.cstc.4.2/lib
*** [LIB] Error code 2

make: stopped in /scratch/net/socks4/work/socks.cstc.4.2
--- LIBIDENT ---
In file included from id_close.c:7:
./ident.h:63:31: warning: declaration of 'struct in_addr' will not be visible outside of this function [-Wvisibility]
extern ident_t * id_open __P((__STRUCT_IN_ADDR_P laddr,
                              ^
./ident.h:28:37: note: expanded from macro '__STRUCT_IN_ADDR_P'
#  define __STRUCT_IN_ADDR_P    struct in_addr *
                                       ^
./ident.h:16:19: note: expanded from macro '__P'
#  define __P(AL)       AL
                        ^
./ident.h:65:7: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
                           __STRUCT_TIMEVAL_P timeout));
                           ^
./ident.h:34:37: note: expanded from macro '__STRUCT_TIMEVAL_P'
#  define __STRUCT_TIMEVAL_P    struct timeval *
                                       ^
./ident.h:16:19: note: expanded from macro '__P'
#  define __P(AL)       AL
                        ^
./ident.h:72:8: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
                            __STRUCT_TIMEVAL_P timeout));
                            ^
./ident.h:34:37: note: expanded from macro '__STRUCT_TIMEVAL_P'
#  define __STRUCT_TIMEVAL_P    struct timeval *
                                       ^
./ident.h:16:19: note: expanded from macro '__P'
#  define __P(AL)       AL
                        ^
./ident.h:75:8: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
                            __STRUCT_TIMEVAL_P timeout,
                            ^
./ident.h:34:37: note: expanded from macro '__STRUCT_TIMEVAL_P'
#  define __STRUCT_TIMEVAL_P    struct timeval *
                                       ^
./ident.h:16:19: note: expanded from macro '__P'
#  define __P(AL)       AL
                        ^
id_close.c:19:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  res = close(id->fd);
        ^
id_close.c:20:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
  free(id);
  ^
6 warnings generated.
A failure has been detected in another branch of the parallel make

make: stopped in /scratch/net/socks4/work/socks.cstc.4.2/libident
*** [LIBIDENT] Error code 2

make: stopped in /scratch/net/socks4/work/socks.cstc.4.2
2 errors

make: stopped in /scratch/net/socks4/work/socks.cstc.4.2
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/net/socks4
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/socks4
