=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [bsd.prefs.mk] The package ja-FreeWnn-server-bin-1.10nb6 is missing DESTDIR support.
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 ja-FreeWnn-server-bin-1.10nb6
making all in ./Wnn...
making all in Wnn/jd...
rm -f hinsi.data
ln -s -s ../../Pubdic/hinsi.data hinsi.data
rm -f uumrc
ln -s -s uumrc.omr uumrc
rm -f cvt_key_empty
ln -s -s ../../Wnn/jd/./bsd/cvt_key_empty cvt_key_empty
rm -f cvt_key_tbl
ln -s -s ../../Wnn/jd/./bsd/cvt_key_tbl cvt_key_tbl
rm -f cvt_key_tbl.ST
ln -s -s ../../Wnn/jd/./bsd/cvt_key_tbl.ST cvt_key_tbl.ST
rm -f cvt_key_tbl.gm
ln -s -s ../../Wnn/jd/./bsd/cvt_key_tbl.gm cvt_key_tbl.gm
rm -f cvt_key_tbl.kt
ln -s -s ../../Wnn/jd/./bsd/cvt_key_tbl.kt cvt_key_tbl.kt
rm -f cvt_key_tbl.mv
ln -s -s ../../Wnn/jd/./bsd/cvt_key_tbl.mv cvt_key_tbl.mv
rm -f cvt_key_tbl.vt
ln -s -s ../../Wnn/jd/./bsd/cvt_key_tbl.vt cvt_key_tbl.vt
rm -f wnnenvrc
ln -s -s wnnenvrc.omr wnnenvrc
rm -f wnnenvrc_R
ln -s -s wnnenvrc_R.omr wnnenvrc_R
making all in Wnn/jserver...
gcc -c -O2 -fno-strength-reduce -DCSRG_BASED  -I../../Wnn/include -I../..  -I/usr/pkg/include     -DFUNCPROTO=15 -DNARROWPROTO  -DLIBDIR=\"/usr/pkg/share/wnn\" -DJSERVER -DWRITE_CHECK  -DSERVER_INIT_FILE=\"/ja_JP/jserverrc\"   ./`basename de.o .o`.c
./de.c:82:9: warning: 'NOFILE' macro redefined
#define NOFILE getdtablesize() 
        ^
/usr/include/sys/param.h:123:9: note: previous definition is here
#define NOFILE          OPEN_MAX        /* max open files per process */
        ^
./de.c:188:1: error: 'main' must return 'int'
void
^
./de.c:209:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (cswidth_name = get_cswidth_name(LANG_NAME))
            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./de.c:209:19: note: place parentheses around the assignment to silence this warning
        if (cswidth_name = get_cswidth_name(LANG_NAME))
                         ^
            (                                         )
./de.c:209:19: note: use '==' to turn this assignment into an equality comparison
        if (cswidth_name = get_cswidth_name(LANG_NAME))
                         ^
                         ==
./de.c:210:18: warning: implicit declaration of function 'create_cswidth' is invalid in C99 [-Wimplicit-function-declaration]
            set_cswidth(create_cswidth(cswidth_name));
                        ^
./de.c:212:2: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration]
        setuid(geteuid());
        ^
./de.c:212:9: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration]
        setuid(geteuid());
               ^
./de.c:225:6: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
        if (fork()) {
            ^
./de.c:234:6: warning: implicit declaration of function 'pause' is invalid in C99 [-Wimplicit-function-declaration]
            pause();
            ^
./de.c:261:7: warning: implicit declaration of function 'getppid' is invalid in C99 [-Wimplicit-function-declaration]
        kill(getppid(), SIGTERM);
             ^
./de.c:272:6: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration]
            dup2(fd, 2);
            ^
./de.c:273:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
            close(fd);
            ^
./de.c:329:11: warning: implicit declaration of function 'getdtablesize' is invalid in C99 [-Wimplicit-function-declaration]
        nofile = NOFILE;
                 ^
./de.c:82:16: note: expanded from:
#define NOFILE getdtablesize() 
               ^
./de.c:331:23: warning: implicitly declaring C library function 'calloc' with type 'void *(unsigned long, unsigned long)'
        all_socks   = (int *)calloc( sel_w,(sizeof(int)));
                             ^
./de.c:331:23: note: please include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
./de.c:350:18: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types]
                =select(nofile,ready_socks,dummy1_socks,dummy2_socks,0))==-1){
                               ^~~~~~~~~~~
/usr/include/sys/select.h:70:36: note: passing argument to parameter here
int     select(int, fd_set * __restrict, fd_set * __restrict,
                                       ^
./de.c:350:30: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types]
                =select(nofile,ready_socks,dummy1_socks,dummy2_socks,0))==-1){
                                           ^~~~~~~~~~~~
/usr/include/sys/select.h:70:57: note: passing argument to parameter here
int     select(int, fd_set * __restrict, fd_set * __restrict,
                                                            ^
./de.c:350:43: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types]
                =select(nofile,ready_socks,dummy1_socks,dummy2_socks,0))==-1){
                                                        ^~~~~~~~~~~~
/usr/include/sys/select.h:71:24: note: passing argument to parameter here
    fd_set * __restrict, struct timeval * __restrict) __RENAME(__select50);
                       ^
./de.c:418:2: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
        read(sd,gomi,1024);
        ^
./de.c:464:6: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
            exit(1);
            ^
./de.c:464:6: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
./de.c:474:2: warning: implicit declaration of function 'srand' is invalid in C99 [-Wimplicit-function-declaration]
        srand((int)time((long *)0));
        ^
./de.c:513:28: warning: incompatible pointer types passing 'struct sockaddr_un *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types]
            if (accept(sock_d_un, &addr_un, &addrlen) < 0) break;
                                  ^~~~~~~~
/usr/include/sys/socket.h:607:45: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                ^
./de.c:513:38: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
            if (accept(sock_d_un, &addr_un, &addrlen) < 0) break;
                                            ^~~~~~~~
/usr/include/sys/socket.h:607:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
./de.c:530:24: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types]
        if (accept(sock_d_in, &addr_in, &addrlen) < 0) break;
                              ^~~~~~~~
/usr/include/sys/socket.h:607:45: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                ^
./de.c:530:34: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (accept(sock_d_in, &addr_in, &addrlen) < 0) break;
                                        ^~~~~~~~
/usr/include/sys/socket.h:607:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
./de.c:674:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
        x = write(cblk[clp].sd, &snd_buf[cc], n-cc);
            ^
./de.c:693:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while(c= *p++) putc_cur(c);
          ~^~~~~~
./de.c:693:12: note: place parentheses around the assignment to silence this warning
    while(c= *p++) putc_cur(c);
           ^
          (      )
./de.c:693:12: note: use '==' to turn this assignment into an equality comparison
    while(c= *p++) putc_cur(c);
           ^
           ==
./de.c:714:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while(c= *p++) put2_cur(c);
          ~^~~~~~
./de.c:714:12: note: place parentheses around the assignment to silence this warning
    while(c= *p++) put2_cur(c);
           ^
          (      )
./de.c:714:12: note: use '==' to turn this assignment into an equality comparison
    while(c= *p++) put2_cur(c);
           ^
           ==
./de.c:783:2: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
        unlink(sockname);
        ^
./de.c:879:56: 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_d_un, (struct sockaddr *)&addr, &addrlen);
                                                       ^~~~~~~~
/usr/include/sys/socket.h:607:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
./de.c:890:56: 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_d_in, (struct sockaddr *)&addr, &addrlen);
                                                       ^~~~~~~~
/usr/include/sys/socket.h:607:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
./de.c:950:17: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration]
    while ((c = getopt(argc, argv, "f:s:h:N:")) != EOF) {
                ^
./de.c:969:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
            serverNO = atoi(optarg);
                       ^
30 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/inputmethod/ja-freewnn-server-bin/work/Xsi/Wnn/jserver
making all in Wnn/jutil...
gcc -O2 -fno-strength-reduce -DCSRG_BASED  -I../../Wnn/include  -I/usr/pkg/include     -DFUNCPROTO=15 -DNARROWPROTO  -DLIBDIR=\"/usr/pkg/share/wnn\" -DJAPANESE -I/usr/pkg/include -c wnnstat.c
wnnstat.c:95:1: error: 'main' must return 'int'
void
^
wnnstat.c:128:17: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration]
    while ((c = getopt(argc,argv,"weEdDfFUSJVL:")) != EOF) {
                ^
wnnstat.c:206:22: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
    rb.buf = (char *)malloc((unsigned)(rb.size = 0));
                     ^
wnnstat.c:206:22: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
wnnstat.c:218:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (serv = _wnn_get_machine_of_serv_defs(lang)) {
            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wnnstat.c:218:11: note: place parentheses around the assignment to silence this warning
        if (serv = _wnn_get_machine_of_serv_defs(lang)) {
                 ^
            (                                         )
wnnstat.c:218:11: note: use '==' to turn this assignment into an equality comparison
        if (serv = _wnn_get_machine_of_serv_defs(lang)) {
                 ^
                 ==
wnnstat.c:230:2: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
        exit(-1);
        ^
wnnstat.c:230:2: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
4 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/inputmethod/ja-freewnn-server-bin/work/Xsi/Wnn/jutil
making all in Wnn/man/2.env...
making all in Wnn/man/2.env/dic...
making all in Wnn/man/2.env/wnn...
making all in Wnn/man/4.cmd...
making all in Wnn/man/6.jutil...
=> Unwrapping files-to-be-installed.
=> Creating /scratch/inputmethod/ja-freewnn-server-bin/work/ja_freewnn
