=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for xjdic-2.4 --- xjdcomm_cl.o --- --- xjdfrontend_cl.o --- --- xjdcomm_sv.o --- --- xjdservcomm_sv.o --- --- xjdfrontend_cl.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDCLSERV xjdfrontend.c -o xjdfrontend_cl.o --- xjdcomm_cl.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDCLSERV xjdcomm.c -o xjdcomm_cl.o --- xjdcomm_sv.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDDIC -DXJDCLSERV -DMMAP xjdcomm.c -o xjdcomm_sv.o --- xjdservcomm_sv.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDDIC -DXJDCLSERV -DMMAP xjdservcomm.c -o xjdservcomm_sv.o --- xjdfrontend_cl.o --- xjdfrontend.c: In function 'locale_output': xjdfrontend.c:710:15: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft); ^ --- xjdcomm_cl.o --- xjdcomm.c: In function 'xjdicrc': xjdcomm.c:273:5: warning: implicit declaration of function 'EMtoggle' [-Wimplicit-function-declaration] EMtoggle (); ^~~~~~~~ --- xjdfrontend_cl.o --- In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c: In function 'locale_GetKBStr': xjdfrontend.c:2251:15: warning: implicit declaration of function 'iswprint' [-Wimplicit-function-declaration] } else if (iswprint(wbuf[length])) { ^~~~~~~~ xjdfrontend.c:2284:21: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c:2284:31: warning: passing argument 3 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'size_t * restrict {aka long unsigned int * restrict}' but argument is of type 'int *' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c:2284:56: warning: passing argument 5 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'size_t * restrict {aka long unsigned int * restrict}' but argument is of type 'int *' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c: In function 'convert_to_euc': xjdfrontend.c:2327:15: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] iconv(descr, &in, &inbytesleft, &out, &outlen); ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c:2327:20: warning: passing argument 3 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] iconv(descr, &in, &inbytesleft, &out, &outlen); ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'size_t * restrict {aka long unsigned int * restrict}' but argument is of type 'int *' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c:2327:40: warning: passing argument 5 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] iconv(descr, &in, &inbytesleft, &out, &outlen); ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'size_t * restrict {aka long unsigned int * restrict}' but argument is of type 'int *' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c: At top level: xjdfrontend.c:2921:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ --- xjdsa.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdsa.c --- xjdfrontend_cl.o --- xjdfrontend.c: In function 'main': xjdfrontend.c:2946:29: warning: implicit declaration of function 'getcwd'; did you mean 'getwc'? [-Wimplicit-function-declaration] dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); ^~~~~~ getwc xjdfrontend.c:2946:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); ^ xjdfrontend.c:3230:11: warning: implicit declaration of function 'getpid'; did you mean 'getwc'? [-Wimplicit-function-declaration] pid = getpid(); ^~~~~~ getwc xjdfrontend.c:3562:6: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(2); ^~~~~ --- xjdcomm_sa.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdcomm.c -o xjdcomm_sa.o --- xjdservcomm_sa.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdservcomm.c -o xjdservcomm_sa.o --- xjdsa.o --- xjdsa.c: In function 'xjdserver': xjdsa.c:84:10: warning: implicit declaration of function 'Kstrcmp'; did you mean 'strcmp'? [-Wimplicit-function-declaration] res = Kstrcmp(sch_str_len,sch_str); ^~~~~~~ strcmp xjdsa.c:179:10: warning: implicit declaration of function 'jindex'; did you mean 'rindex'? [-Wimplicit-function-declaration] schix = jindex(it); ^~~~~~ rindex xjdsa.c:183:10: warning: implicit declaration of function 'dbchar'; did you mean 'putchar'? [-Wimplicit-function-declaration] while ((dbchar(schix) != 0x0a) && (schix >= 0)) schix--; ^~~~~~ putchar --- xjdcomm_sa.o --- xjdcomm.c: In function 'xjdicrc': xjdcomm.c:273:5: warning: implicit declaration of function 'EMtoggle' [-Wimplicit-function-declaration] EMtoggle (); ^~~~~~~~ --- xjdfrontend_sa.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdfrontend.c -o xjdfrontend_sa.o --- xjdclient.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDCLSERV xjdclient.c --- xjdserver.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDDIC -DXJDCLSERV -DMMAP xjdserver.c --- xjdfrontend_sa.o --- xjdfrontend.c: In function 'locale_output': xjdfrontend.c:710:15: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft); ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c: In function 'locale_GetKBStr': xjdfrontend.c:2251:15: warning: implicit declaration of function 'iswprint' [-Wimplicit-function-declaration] } else if (iswprint(wbuf[length])) { ^~~~~~~~ xjdfrontend.c:2284:21: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c:2284:31: warning: passing argument 3 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'size_t * restrict {aka long unsigned int * restrict}' but argument is of type 'int *' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c:2284:56: warning: passing argument 5 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'size_t * restrict {aka long unsigned int * restrict}' but argument is of type 'int *' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c: In function 'convert_to_euc': xjdfrontend.c:2327:15: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] iconv(descr, &in, &inbytesleft, &out, &outlen); ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c:2327:20: warning: passing argument 3 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] iconv(descr, &in, &inbytesleft, &out, &outlen); ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'size_t * restrict {aka long unsigned int * restrict}' but argument is of type 'int *' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c:2327:40: warning: passing argument 5 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] iconv(descr, &in, &inbytesleft, &out, &outlen); ^ In file included from xjdfrontend.c:34:0: /usr/include/iconv.h:46:8: note: expected 'size_t * restrict {aka long unsigned int * restrict}' but argument is of type 'int *' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ xjdfrontend.c: At top level: xjdfrontend.c:2921:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ xjdfrontend.c: In function 'main': xjdfrontend.c:2946:29: warning: implicit declaration of function 'getcwd'; did you mean 'getwc'? [-Wimplicit-function-declaration] dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); ^~~~~~ getwc xjdfrontend.c:2946:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); ^ xjdfrontend.c:3230:11: warning: implicit declaration of function 'getpid'; did you mean 'getwc'? [-Wimplicit-function-declaration] pid = getpid(); ^~~~~~ getwc --- xjdclient.o --- xjdclient.c:45:15: warning: built-in function 'yn' declared as non-function unsigned char yn[2]; ^~ --- xjdfrontend_sa.o --- xjdfrontend.c:3562:6: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(2); ^~~~~ --- xjdclient.o --- xjdclient.c: In function 'connectsock': xjdclient.c:128:34: warning: implicit declaration of function 'inet_addr'; did you mean 'h_addr'? [-Wimplicit-function-declaration] else if ((sin.sin_addr.s_addr = inet_addr(host)) == INADDR_NONE) ^~~~~~~~~ h_addr --- xjdserver.o --- xjdserver.c:144:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ xjdserver.c: In function 'main': xjdserver.c:157:29: warning: implicit declaration of function 'getcwd'; did you mean 'getw'? [-Wimplicit-function-declaration] dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); ^~~~~~ getw xjdserver.c:157:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); ^ xjdserver.c:279:7: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] i = fork(); ^~~~ xjdserver.c:350:11: warning: implicit declaration of function 'Kstrcmp'; did you mean 'strcmp'? [-Wimplicit-function-declaration] res = Kstrcmp(pdu_in.xjdreq_schlen,pdu_in.xjdreq_schstr); ^~~~~~~ strcmp xjdserver.c:446:11: warning: implicit declaration of function 'jindex'; did you mean 'rindex'? [-Wimplicit-function-declaration] schix = jindex(it); ^~~~~~ rindex xjdserver.c:450:11: warning: implicit declaration of function 'dbchar'; did you mean 'putchar'? [-Wimplicit-function-declaration] while ((dbchar(schix) != 0x0a) && (schix >= 0)) schix--; ^~~~~~ putchar --- xjdxgen.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c xjdxgen.c --- exjdxgen.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c exjdxgen.c --- xjdxgen.o --- xjdxgen.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ xjdxgen.c: In function 'main': xjdxgen.c:88:6: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ap = argv; ^ xjdxgen.c:99:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ xjdxgen.c:99:3: warning: incompatible implicit declaration of built-in function 'exit' xjdxgen.c:99:3: note: include '' or provide a declaration of 'exit' xjdxgen.c:121:17: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buf = (void *)malloc(1000); ^~~~~~ xjdxgen.c:121:17: warning: incompatible implicit declaration of built-in function 'malloc' xjdxgen.c:121:17: note: include '' or provide a declaration of 'malloc' xjdxgen.c:126:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xjdxgen.c:126:3: note: include '' or provide a declaration of 'exit' xjdxgen.c:136:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xjdxgen.c:136:2: note: include '' or provide a declaration of 'exit' xjdxgen.c:143:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xjdxgen.c:143:7: note: include '' or provide a declaration of 'exit' xjdxgen.c:161:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xjdxgen.c:161:4: note: include '' or provide a declaration of 'exit' xjdxgen.c:193:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xjdxgen.c:193:6: note: include '' or provide a declaration of 'exit' xjdxgen.c:207:45: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xjdxgen.c:207:45: note: include '' or provide a declaration of 'exit' xjdxgen.c:219:8: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xjdxgen.c:219:8: note: include '' or provide a declaration of 'exit' xjdxgen.c:230:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xjdxgen.c:230:9: note: include '' or provide a declaration of 'exit' xjdxgen.c:269:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xjdxgen.c:269:5: note: include '' or provide a declaration of 'exit' xjdxgen.c:277:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xjdxgen.c:277:3: note: include '' or provide a declaration of 'exit' xjdxgen.c:279:3: warning: incompatible implicit declaration of built-in function 'exit' exit (0); ^~~~ xjdxgen.c:279:3: note: include '' or provide a declaration of 'exit' xjdxgen.c: In function 'xjdicrc': xjdxgen.c:348:35: warning: implicit declaration of function 'getenv'; did you mean 'getline'? [-Wimplicit-function-declaration] dicenv = (unsigned char *)getenv("XJDIC"); ^~~~~~ getline xjdxgen.c:348:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dicenv = (unsigned char *)getenv("XJDIC"); ^ xjdxgen.c:352:29: warning: implicit declaration of function 'getcwd'; did you mean 'getw'? [-Wimplicit-function-declaration] dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); ^~~~~~ getw xjdxgen.c:352:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); ^ xjdxgen.c:356:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xjdxgen.c:356:4: note: include '' or provide a declaration of 'exit' xjdxgen.c:370:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] strcpy(xjdicdir,(unsigned char *)getenv("HOME")); ^ --- exjdxgen.o --- exjdxgen.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ exjdxgen.c: In function 'main': exjdxgen.c:80:5: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ap = argv; ^ exjdxgen.c:87:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ exjdxgen.c:87:3: warning: incompatible implicit declaration of built-in function 'exit' exjdxgen.c:87:3: note: include '' or provide a declaration of 'exit' exjdxgen.c:97:17: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buf = (void *)malloc(1000); ^~~~~~ exjdxgen.c:97:17: warning: incompatible implicit declaration of built-in function 'malloc' exjdxgen.c:97:17: note: include '' or provide a declaration of 'malloc' exjdxgen.c:102:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ exjdxgen.c:102:3: note: include '' or provide a declaration of 'exit' exjdxgen.c:112:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ exjdxgen.c:112:2: note: include '' or provide a declaration of 'exit' exjdxgen.c:119:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ exjdxgen.c:119:7: note: include '' or provide a declaration of 'exit' exjdxgen.c:137:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ exjdxgen.c:137:4: note: include '' or provide a declaration of 'exit' exjdxgen.c:186:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ exjdxgen.c:186:7: note: include '' or provide a declaration of 'exit' exjdxgen.c:225:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ exjdxgen.c:225:6: note: include '' or provide a declaration of 'exit' --- xjdserver --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" xjdcomm_sv.o xjdservcomm_sv.o xjdserver.o -o xjdserver --- xjdic_cl --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" xjdclient.o xjdcomm_cl.o xjdfrontend_cl.o -o xjdic_cl --- xjdxgen --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" xjdxgen.o -o xjdxgen --- exjdxgen --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" exjdxgen.o -o exjdxgen --- xjdic_sa --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" xjdsa.o xjdcomm_sa.o xjdservcomm_sa.o xjdfrontend_sa.o -o xjdic_sa