=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/skkfep", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for skkfep-0.86cnb2 --- genMakefile --- rm -f genMakefile cp config.h junk.c awk -f extrpar `cc -E junk.c | sed -n 's/^#[^"]*"\([^/][^"]*onfigs[^"]*\)".*/\1/p' | sort | uniq` > genMakefile rm -f junk.c awk -f extrpar config.h | cat - protoMakefile >> genMakefile --- all --- make -f genMakefile all --- jc.o --- --- fep.o --- --- jc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUSE_LOCALE -O -DSKK_CONF=\"/etc/opt/pkg/skk.conf\" -I/opt/pkg/include/ncurses -c jc.c --- fep.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUSE_LOCALE -O -DSKK_CONF=\"/etc/opt/pkg/skk.conf\" -I/opt/pkg/include/ncurses -c fep.c --- jc.o --- jc.c:112:1: error: return type defaults to 'int' [-Wimplicit-int] 112 | main(argc,argv) | ^~~~ jc.c: In function 'main': jc.c:129:17: error: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 129 | usage(); | ^~~~~ jc.c:130:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 130 | exit(-1); | ^~~~ jc.c:39:1: note: include '' or provide a declaration of 'exit' 38 | #include "config.h" +++ |+#include 39 | jc.c:130:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 130 | exit(-1); | ^~~~ jc.c:130:17: note: include '' or provide a declaration of 'exit' jc.c:132:14: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 132 | if (!strcmp(argv[1],"-c")) { | ^~~~~~ jc.c:39:1: note: include '' or provide a declaration of 'strcmp' 38 | #include "config.h" +++ |+#include 39 | jc.c:143:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 143 | exit(0); | ^~~~ jc.c:143:17: note: include '' or provide a declaration of 'exit' jc.c:145:19: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 145 | else if (!strncmp(argv[1],"-a",2)) { | ^~~~~~~ jc.c:145:19: note: include '' or provide a declaration of 'strncmp' jc.c:145:40: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 145 | else if (!strncmp(argv[1],"-a",2)) { | ^ : note: built-in 'strncmp' declared here jc.c:148:53: error: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 148 | sprintf(tmpf,"/tmp/jctmp%d",getpid()); | ^~~~~~ jc.c:151:33: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 151 | exit(1); | ^~~~ jc.c:151:33: note: include '' or provide a declaration of 'exit' jc.c:184:9: error: implicit declaration of function 'doConv'; did you mean 'conv'? [-Wimplicit-function-declaration] 184 | doConv(nargc,nargv,cOption[1],cOption[2]); | ^~~~~~ | conv jc.c:186:17: error: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 186 | unlink(tmpf); | ^~~~~~ jc.c:187:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 187 | exit(0); | ^~~~ jc.c:187:9: note: include '' or provide a declaration of 'exit' jc.c: At top level: jc.c:190:1: error: return type defaults to 'int' [-Wimplicit-int] 190 | doConv(argc,argv,fromCode,toCode) | ^~~~~~ jc.c: In function 'doConv': jc.c:202:41: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 202 | exit(-1); | ^~~~ jc.c:202:41: note: include '' or provide a declaration of 'exit' jc.c:208:41: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 208 | exit(-1); | ^~~~ jc.c:208:41: note: include '' or provide a declaration of 'exit' jc.c:213:33: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 213 | exit(-1); | ^~~~ jc.c:213:33: note: include '' or provide a declaration of 'exit' jc.c: In function 'conv': jc.c:250:17: error: implicit declaration of function 'n_impr' [-Wimplicit-function-declaration] 250 | n_impr(cOption); | ^~~~~~ jc.c:253:17: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 253 | strcpy(mbuf,is); | ^~~~~~ jc.c:253:17: note: include '' or provide a declaration of 'strcpy' jc.c:253:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] jc.c:253:17: note: include '' or provide a declaration of 'strcpy' jc.c:267:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 267 | strcpy(os,mbuf); | ^~~~~~ jc.c:267:17: note: include '' or provide a declaration of 'strcpy' jc.c: At top level: jc.c:270:1: error: return type defaults to 'int' [-Wimplicit-int] 270 | n_impr(s) | ^~~~~~ jc.c: In function 'n_impr': jc.c:275:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 275 | exit(-1); | ^~~~ jc.c:275:9: note: include '' or provide a declaration of 'exit' jc.c: At top level: jc.c:278:1: error: return type defaults to 'int' [-Wimplicit-int] 278 | putSFT(pptr,code) /* Put Shift in/out code */ | ^~~~~~ jc.c: In function 'cConvJS': jc.c:410:22: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 410 | int il = strlen(SIcode), | ^~~~~~ jc.c:410:22: note: include '' or provide a declaration of 'strlen' jc.c:410:22: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] jc.c:410:22: note: include '' or provide a declaration of 'strlen' jc.c:415:47: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 415 | if (strncmp(ip,SOcode,ol) == 0) { | ^~ : note: built-in 'strncmp' declared here jc.c:420:33: error: implicit declaration of function 'put_js'; did you mean 'puts'? [-Wimplicit-function-declaration] 420 | put_js(*ip,*(ip+1),op); | ^~~~~~ | puts jc.c:426:47: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 426 | if (strncmp(ip,SIcode,il) == 0) { | ^~ : note: built-in 'strncmp' declared here jc.c: At top level: jc.c:458:1: error: return type defaults to 'int' [-Wimplicit-int] 458 | put_js(ub,lb,op) | ^~~~~~ jc.c: In function 'file_open': jc.c:483:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 483 | exit(-1); | ^~~~ jc.c:483:17: note: include '' or provide a declaration of 'exit' jc.c: At top level: jc.c:609:1: error: return type defaults to 'int' [-Wimplicit-int] 609 | usage() | ^~~~~ *** [jc.o] Error code 1 make[1]: stopped making "all" in /home/pbulk/work/inputmethod/skkfep/work/skkfep --- fep.o --- fep.c: In function 'guess_system_kanji_code': fep.c:82:17: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 82 | if (strcmp(tab->str, p)==0) | ^~~~~~ fep.c:11:1: note: include '' or provide a declaration of 'strcmp' 10 | #include +++ |+#include 11 | #endif fep.c: In function 'kanjicode2string': fep.c:93:1: error: type of 'code' defaults to 'int' [-Wimplicit-int] 93 | kanjicode2string(code) | ^~~~~~~~~~~~~~~~ fep.c: At top level: fep.c:110:1: error: return type defaults to 'int' [-Wimplicit-int] 110 | main(argc,argv,envp) | ^~~~ fep.c: In function 'main': fep.c:125:22: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 125 | if (!strncmp(argv[i],"-o",2)) | ^~~~~~~ fep.c:125:22: note: include '' or provide a declaration of 'strncmp' fep.c:125:43: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 125 | if (!strncmp(argv[i],"-o",2)) | ^ : note: built-in 'strncmp' declared here fep.c:127:48: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 127 | else if (!strncmp(argv[i],"-f",2)) | ^ : note: built-in 'strncmp' declared here fep.c:129:48: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 129 | else if (!strncmp(argv[i],"-k",2)) | ^ : note: built-in 'strncmp' declared here fep.c:132:25: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 132 | strcpy(UserDicName,argv[++i]); | ^~~~~~ fep.c:132:25: note: include '' or provide a declaration of 'strcpy' fep.c:132:25: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] fep.c:132:25: note: include '' or provide a declaration of 'strcpy' fep.c:138:25: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 138 | strcpy(ShellName,argv[++i]); | ^~~~~~ fep.c:138:25: note: include '' or provide a declaration of 'strcpy' fep.c:221:9: error: implicit declaration of function 'setKanaKey' [-Wimplicit-function-declaration] 221 | setKanaKey(); | ^~~~~~~~~~ fep.c:222:9: error: implicit declaration of function 'getTCstr' [-Wimplicit-function-declaration] 222 | getTCstr(); | ^~~~~~~~ fep.c:223:9: error: implicit declaration of function 'get_winsize' [-Wimplicit-function-declaration] 223 | get_winsize(); | ^~~~~~~~~~~ fep.c:224:9: error: implicit declaration of function 'set_tty' [-Wimplicit-function-declaration] 224 | set_tty(); | ^~~~~~~ fep.c:225:9: error: implicit declaration of function 'set_int' [-Wimplicit-function-declaration] 225 | set_int(); | ^~~~~~~ fep.c:228:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 228 | strcpy(UserDicName,getenv("HOME")); | ^~~~~~ fep.c:228:17: note: include '' or provide a declaration of 'strcpy' fep.c:229:17: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 229 | strcat(UserDicName,"/"); | ^~~~~~ fep.c:229:17: note: include '' or provide a declaration of 'strcat' fep.c:229:17: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] fep.c:229:17: note: include '' or provide a declaration of 'strcat' fep.c:242:13: error: implicit declaration of function 'openSKKserv'; did you mean 'openSKK'? [-Wimplicit-function-declaration] 242 | if (openSKKserv() != -1) | ^~~~~~~~~~~ | openSKK fep.c:247:9: error: implicit declaration of function 'establishShell' [-Wimplicit-function-declaration] 247 | establishShell(); | ^~~~~~~~~~~~~~ In file included from /usr/include/sys/types.h:687, from fep.h:6, from fep.c:2: fep.c:251:9: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 251 | FD_ZERO(&selfds); | ^~~~~~~ fep.c:251:9: note: include '' or provide a declaration of 'memset' fep.c:263:34: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 263 | if ((i = read(Shellfd,shellBuf,SH_BUF_SIZ)) > 0) | ^~~~ | fread fep.c:264:33: error: implicit declaration of function 'writeShTty' [-Wimplicit-function-declaration] 264 | writeShTty(shellBuf,i); | ^~~~~~~~~~ fep.c:270:21: error: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] 270 | if (ioctl(0,FIONREAD,&i) == 0) { | ^~~~~ fep.c: In function 'decideCode': fep.c:293:35: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 293 | else if (!strncmp(s,"jis",3)) { | ^ : note: built-in 'strncmp' declared here fep.c: At top level: fep.c:314:1: error: return type defaults to 'int' [-Wimplicit-int] 314 | flushOut(minchar) | ^~~~~~~~ fep.c: In function 'thru': fep.c:353:9: error: implicit declaration of function 'writeTtyShell1' [-Wimplicit-function-declaration] 353 | writeTtyShell1(c); | ^~~~~~~~~~~~~~ fep.c: In function 'toAsc': fep.c:361:9: error: implicit declaration of function 'flushKana' [-Wimplicit-function-declaration] 361 | flushKana(); | ^~~~~~~~~ fep.c:362:9: error: implicit declaration of function 'setKeymap'; did you mean 'setkey'? [-Wimplicit-function-declaration] 362 | setKeymap(&CurrentKeymap,convertKeymap(&NormalKeymap)); | ^~~~~~~~~ | setkey fep.c:363:9: error: implicit declaration of function 'showmode' [-Wimplicit-function-declaration] 363 | showmode(SKK_MODE); | ^~~~~~~~ fep.c: In function 'thruToAsc': fep.c:376:1: error: type of 'c' defaults to 'int' [-Wimplicit-int] 376 | thruToAsc(c) | ^~~~~~~~~ fep.c: In function 'toEsc': fep.c:383:1: error: type of 'c' defaults to 'int' [-Wimplicit-int] 383 | toEsc(c) | ^~~~~ fep.c: In function 'thru1': fep.c:411:9: error: implicit declaration of function 'restoreKeymap' [-Wimplicit-function-declaration] 411 | restoreKeymap(&CurrentKeymap); | ^~~~~~~~~~~~~ fep.c:412:9: error: implicit declaration of function 'showlastmode' [-Wimplicit-function-declaration] 412 | showlastmode(); | ^~~~~~~~~~~~ *** [fep.o] Error code 1 make[1]: stopped making "all" in /home/pbulk/work/inputmethod/skkfep/work/skkfep make[1]: 2 errors make[1]: stopped making "all" in /home/pbulk/work/inputmethod/skkfep/work/skkfep *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/work/inputmethod/skkfep/work/skkfep bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/inputmethod/skkfep/work/skkfep *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/skkfep *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/skkfep