+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/skkfep-0.86cnb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/skkfep-0.86cnb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
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 ---
cc -pipe -O2 -I/usr/pkg/include/ncurses   -DUSE_LOCALE -O  -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -I/usr/pkg/include/ncurses -c jc.c
--- fep.o ---
cc -pipe -O2 -I/usr/pkg/include/ncurses   -DUSE_LOCALE -O  -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -I/usr/pkg/include/ncurses -c fep.c
fep.c: In function 'guess_system_kanji_code':
fep.c:82:17: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
             if (strcmp(tab->str, p)==0)
                 ^~~~~~
fep.c: In function 'kanjicode2string':
fep.c:93:1: warning: type of 'code' defaults to 'int' [-Wimplicit-int]
 kanjicode2string(code)
 ^~~~~~~~~~~~~~~~
fep.c: At top level:
fep.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(argc,argv,envp)
 ^~~~
fep.c: In function 'main':
fep.c:125:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration]
   if (!strncmp(argv[i],"-o",2))
        ^~~~~~~
fep.c:132:4: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
    strcpy(UserDicName,argv[++i]);
    ^~~~~~
fep.c:132:4: warning: incompatible implicit declaration of built-in function 'strcpy'
fep.c:132:4: note: include '<string.h>' or provide a declaration of 'strcpy'
fep.c:11:1:
+#include <string.h>
 #endif
fep.c:132:4:
    strcpy(UserDicName,argv[++i]);
    ^~~~~~
fep.c:138:4: warning: incompatible implicit declaration of built-in function 'strcpy'
    strcpy(ShellName,argv[++i]);
    ^~~~~~
fep.c:138:4: note: include '<string.h>' or provide a declaration of 'strcpy'
--- jc.o ---
jc.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(argc,argv)
 ^~~~
--- fep.o ---
fep.c:221:2: warning: implicit declaration of function 'setKanaKey'; did you mean 'setEscape'? [-Wimplicit-function-declaration]
  setKanaKey();
  ^~~~~~~~~~
  setEscape
--- jc.o ---
jc.c: In function 'main':
jc.c:129:3: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration]
   usage();
   ^~~~~
jc.c:130:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   exit(-1);
   ^~~~
jc.c:130:3: warning: incompatible implicit declaration of built-in function 'exit'
jc.c:130:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
jc.c:39:1:
+#include <stdlib.h>
 
jc.c:130:3:
   exit(-1);
   ^~~~
jc.c:132:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  if (!strcmp(argv[1],"-c")) {
       ^~~~~~
--- fep.o ---
fep.c:222:2: warning: implicit declaration of function 'getTCstr'; did you mean 'getCand'? [-Wimplicit-function-declaration]
  getTCstr();
  ^~~~~~~~
  getCand
--- jc.o ---
jc.c:143:3: warning: incompatible implicit declaration of built-in function 'exit'
   exit(0);
   ^~~~
jc.c:143:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
jc.c:145:12: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration]
  else if (!strncmp(argv[1],"-a",2)) {
            ^~~~~~~
jc.c:148:32: warning: implicit declaration of function 'getpid'; did you mean 'fgetpos'? [-Wimplicit-function-declaration]
    sprintf(tmpf,"/tmp/jctmp%d",getpid());
                                ^~~~~~
                                fgetpos
jc.c:151:5: warning: incompatible implicit declaration of built-in function 'exit'
     exit(1);
     ^~~~
jc.c:151:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
--- fep.o ---
fep.c:223:2: warning: implicit declaration of function 'get_winsize'; did you mean 'getline'? [-Wimplicit-function-declaration]
  get_winsize();
  ^~~~~~~~~~~
  getline
--- jc.o ---
jc.c:184:2: warning: implicit declaration of function 'doConv'; did you mean 'conv'? [-Wimplicit-function-declaration]
  doConv(nargc,nargv,cOption[1],cOption[2]);
  ^~~~~~
  conv
jc.c:186:3: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration]
   unlink(tmpf);
   ^~~~~~
   unix
--- fep.o ---
fep.c:224:2: warning: implicit declaration of function 'set_tty'; did you mean 'setstate'? [-Wimplicit-function-declaration]
  set_tty();
  ^~~~~~~
  setstate
--- jc.o ---
jc.c:187:2: warning: incompatible implicit declaration of built-in function 'exit'
  exit(0);
  ^~~~
jc.c:187:2: note: include '<stdlib.h>' or provide a declaration of 'exit'
jc.c: At top level:
jc.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int]
 doConv(argc,argv,fromCode,toCode)
 ^~~~~~
jc.c: In function 'doConv':
jc.c:202:6: warning: incompatible implicit declaration of built-in function 'exit'
      exit(-1);
      ^~~~
jc.c:202:6: note: include '<stdlib.h>' or provide a declaration of 'exit'
jc.c:208:6: warning: incompatible implicit declaration of built-in function 'exit'
      exit(-1);
      ^~~~
jc.c:208:6: note: include '<stdlib.h>' or provide a declaration of 'exit'
jc.c:213:5: warning: incompatible implicit declaration of built-in function 'exit'
     exit(-1);
     ^~~~
jc.c:213:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
--- fep.o ---
fep.c:225:2: warning: implicit declaration of function 'set_int'; did you mean 'si_int'? [-Wimplicit-function-declaration]
  set_int();
  ^~~~~~~
  si_int
fep.c:228:3: warning: incompatible implicit declaration of built-in function 'strcpy'
   strcpy(UserDicName,getenv("HOME"));
   ^~~~~~
fep.c:228:3: note: include '<string.h>' or provide a declaration of 'strcpy'
fep.c:229:3: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration]
   strcat(UserDicName,"/");
   ^~~~~~
fep.c:229:3: warning: incompatible implicit declaration of built-in function 'strcat'
fep.c:229:3: note: include '<string.h>' or provide a declaration of 'strcat'
--- jc.o ---
jc.c: In function 'conv':
jc.c:250:3: warning: implicit declaration of function 'n_impr'; did you mean 'P_tmpdir'? [-Wimplicit-function-declaration]
   n_impr(cOption);
   ^~~~~~
   P_tmpdir
jc.c:253:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
   strcpy(mbuf,is);
   ^~~~~~
jc.c:253:3: warning: incompatible implicit declaration of built-in function 'strcpy'
jc.c:253:3: note: include '<string.h>' or provide a declaration of 'strcpy'
jc.c:39:1:
+#include <string.h>
 
jc.c:253:3:
   strcpy(mbuf,is);
   ^~~~~~
--- fep.o ---
fep.c:242:6: warning: implicit declaration of function 'openSKKserv'; did you mean 'openSKK'? [-Wimplicit-function-declaration]
  if (openSKKserv() != -1)
      ^~~~~~~~~~~
      openSKK
--- jc.o ---
jc.c:267:3: warning: incompatible implicit declaration of built-in function 'strcpy'
   strcpy(os,mbuf);
   ^~~~~~
jc.c:267:3: note: include '<string.h>' or provide a declaration of 'strcpy'
jc.c: At top level:
jc.c:270:1: warning: return type defaults to 'int' [-Wimplicit-int]
 n_impr(s)
 ^~~~~~
jc.c: In function 'n_impr':
jc.c:275:2: warning: incompatible implicit declaration of built-in function 'exit'
  exit(-1);
  ^~~~
jc.c:275:2: note: include '<stdlib.h>' or provide a declaration of 'exit'
jc.c: At top level:
jc.c:278:1: warning: return type defaults to 'int' [-Wimplicit-int]
 putSFT(pptr,code) /* Put Shift in/out code */
 ^~~~~~
--- fep.o ---
fep.c:247:2: warning: implicit declaration of function 'establishShell' [-Wimplicit-function-declaration]
  establishShell();
  ^~~~~~~~~~~~~~
--- jc.o ---
jc.c: In function 'cConvJS':
jc.c:410:11: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  int il = strlen(SIcode),
           ^~~~~~
jc.c:410:11: warning: incompatible implicit declaration of built-in function 'strlen'
jc.c:410:11: note: include '<string.h>' or provide a declaration of 'strlen'
jc.c:420:5: warning: implicit declaration of function 'put_js'; did you mean 'puts'? [-Wimplicit-function-declaration]
     put_js(*ip,*(ip+1),op);
     ^~~~~~
     puts
--- fep.o ---
fep.c:263:13: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
    if ((i = read(Shellfd,shellBuf,SH_BUF_SIZ)) > 0)
             ^~~~
             fread
--- jc.o ---
jc.c: At top level:
jc.c:458:1: warning: return type defaults to 'int' [-Wimplicit-int]
 put_js(ub,lb,op)
 ^~~~~~
jc.c: In function 'file_open':
jc.c:483:3: warning: incompatible implicit declaration of built-in function 'exit'
   exit(-1);
   ^~~~
jc.c:483:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
--- fep.o ---
fep.c:264:5: warning: implicit declaration of function 'writeShTty' [-Wimplicit-function-declaration]
     writeShTty(shellBuf,i);
     ^~~~~~~~~~
fep.c: At top level:
fep.c:314:1: warning: return type defaults to 'int' [-Wimplicit-int]
 flushOut(minchar)
 ^~~~~~~~
--- jc.o ---
jc.c: At top level:
jc.c:609:1: warning: return type defaults to 'int' [-Wimplicit-int]
 usage()
 ^~~~~
--- fep.o ---
fep.c: In function 'thru':
fep.c:353:2: warning: implicit declaration of function 'writeTtyShell1' [-Wimplicit-function-declaration]
  writeTtyShell1(c);
  ^~~~~~~~~~~~~~
fep.c: In function 'toAsc':
fep.c:361:2: warning: implicit declaration of function 'flushKana'; did you mean 'flushOut'? [-Wimplicit-function-declaration]
  flushKana();
  ^~~~~~~~~
  flushOut
fep.c:362:2: warning: implicit declaration of function 'setKeymap' [-Wimplicit-function-declaration]
  setKeymap(&CurrentKeymap,convertKeymap(&NormalKeymap));
  ^~~~~~~~~
fep.c:363:2: warning: implicit declaration of function 'showmode' [-Wimplicit-function-declaration]
  showmode(SKK_MODE);
  ^~~~~~~~
fep.c: In function 'thruToAsc':
fep.c:376:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int]
 thruToAsc(c)
 ^~~~~~~~~
fep.c: In function 'toEsc':
fep.c:383:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int]
 toEsc(c)
 ^~~~~
fep.c: In function 'thru1':
fep.c:411:2: warning: implicit declaration of function 'restoreKeymap'; did you mean 'convertKeymap'? [-Wimplicit-function-declaration]
  restoreKeymap(&CurrentKeymap);
  ^~~~~~~~~~~~~
  convertKeymap
fep.c:412:2: warning: implicit declaration of function 'showlastmode' [-Wimplicit-function-declaration]
  showlastmode();
  ^~~~~~~~~~~~
--- connsh.o ---
cc -pipe -O2 -I/usr/pkg/include/ncurses   -DUSE_LOCALE -O  -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -I/usr/pkg/include/ncurses -c connsh.c
--- readwrite.o ---
cc -pipe -O2 -I/usr/pkg/include/ncurses   -DUSE_LOCALE -O  -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -I/usr/pkg/include/ncurses -c readwrite.c
--- connsh.o ---
connsh.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int]
 establishShell()
 ^~~~~~~~~~~~~~
connsh.c: In function 'establishShell':
connsh.c:123:4: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
    strcpy(ShellName,p);
    ^~~~~~
connsh.c:123:4: warning: incompatible implicit declaration of built-in function 'strcpy'
connsh.c:123:4: note: include '<string.h>' or provide a declaration of 'strcpy'
connsh.c:12:1:
+#include <string.h>
 #ifdef SYSV
connsh.c:123:4:
    strcpy(ShellName,p);
    ^~~~~~
connsh.c:127:21: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration]
    pwent = getpwuid(getuid());
                     ^~~~~~
                     getpwuid
connsh.c:129:5: warning: incompatible implicit declaration of built-in function 'strcpy'
     strcpy(ShellName,pwent->pw_shell);
     ^~~~~~
connsh.c:129:5: note: include '<string.h>' or provide a declaration of 'strcpy'
connsh.c:131:5: warning: incompatible implicit declaration of built-in function 'strcpy'
     strcpy(ShellName,DEFAULT_SHELL);
     ^~~~~~
connsh.c:131:5: note: include '<string.h>' or provide a declaration of 'strcpy'
connsh.c:135:2: warning: implicit declaration of function 'getDevice'; did you mean 'getline'? [-Wimplicit-function-declaration]
  getDevice(&master,&slave);
  ^~~~~~~~~
  getline
connsh.c:137:15: warning: implicit declaration of function 'getpid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration]
  currentPid = getpid();
               ^~~~~~
               getpwuid
connsh.c:139:2: warning: implicit declaration of function 'set_winsize' [-Wimplicit-function-declaration]
  set_winsize(master);
  ^~~~~~~~~~~
connsh.c:140:2: warning: implicit declaration of function 'setEnvirons' [-Wimplicit-function-declaration]
  setEnvirons();
  ^~~~~~~~~~~
connsh.c:21:15: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration]
 #define vfork fork
               ^~~~
connsh.c:175:10: note: in expansion of macro 'vfork'
  if((i = vfork()) < 0) {
          ^~~~~
connsh.c:177:3: warning: implicit declaration of function 'reset_tty'; did you mean 'tcsetattr'? [-Wimplicit-function-declaration]
   reset_tty();
   ^~~~~~~~~
   tcsetattr
connsh.c:178:3: warning: implicit declaration of function 'Exit'; did you mean 'exit'? [-Wimplicit-function-declaration]
   Exit(1);
   ^~~~
   exit
connsh.c:191:10: warning: implicit declaration of function 'setsid'; did you mean 'tcgetsid'? [-Wimplicit-function-declaration]
   (void) setsid();
          ^~~~~~
          tcgetsid
connsh.c:219:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
   close(slave);
   ^~~~~
   pclose
connsh.c:223:4: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration]
    _exit(1);
    ^~~~~
connsh.c:223:4: warning: incompatible implicit declaration of built-in function '_exit'
connsh.c:227:3: warning: implicit declaration of function 'set_tty_sane'; did you mean 'setstate'? [-Wimplicit-function-declaration]
   set_tty_sane(slave);
   ^~~~~~~~~~~~
   setstate
connsh.c:228:3: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration]
   dup2(slave,0);
   ^~~~
connsh.c:237:3: warning: implicit declaration of function 'seteuid'; did you mean 'setenv'? [-Wimplicit-function-declaration]
   seteuid(getuid());
   ^~~~~~~
   setenv
connsh.c:238:18: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
   p = &ShellName[strlen(ShellName)];
                  ^~~~~~
connsh.c:238:18: warning: incompatible implicit declaration of built-in function 'strlen'
connsh.c:238:18: note: include '<string.h>' or provide a declaration of 'strlen'
connsh.c:242:3: warning: incompatible implicit declaration of built-in function 'strcpy'
   strcpy(procName,p);
   ^~~~~~
connsh.c:242:3: note: include '<string.h>' or provide a declaration of 'strcpy'
connsh.c:244:7: warning: implicit declaration of function 'execl' [-Wimplicit-function-declaration]
       execl(ShellName, procName, 0);
       ^~~~~
connsh.c:244:7: warning: incompatible implicit declaration of built-in function 'execl'
connsh.c:246:7: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration]
       execvp(ShellName, ShellArg);
       ^~~~~~
connsh.c:249:3: warning: incompatible implicit declaration of built-in function '_exit'
   _exit(127);
   ^~~~~
connsh.c: At top level:
connsh.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int]
 getDevice(master,slave)
 ^~~~~~~~~
connsh.c: In function 'getDevice':
connsh.c:333:5: warning: implicit declaration of function 'chown' [-Wimplicit-function-declaration]
     chown(SlaveName, getuid(), getgid());
     ^~~~~
connsh.c:333:32: warning: implicit declaration of function 'getgid'; did you mean 'tcgetsid'? [-Wimplicit-function-declaration]
     chown(SlaveName, getuid(), getgid());
                                ^~~~~~
                                tcgetsid
connsh.c:334:5: warning: implicit declaration of function 'chmod' [-Wimplicit-function-declaration]
     chmod(SlaveName, 0622);
     ^~~~~
connsh.c:335:5: warning: 'return' with no value, in function returning non-void
     return;
     ^~~~~~
connsh.c:290:1: note: declared here
 getDevice(master,slave)
 ^~~~~~~~~
connsh.c: At top level:
connsh.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int]
 freeDevice()
 ^~~~~~~~~~
--- readwrite.o ---
readwrite.c: In function 'read1':
readwrite.c:46:6: warning: implicit declaration of function 'read'; did you mean 'read1'? [-Wimplicit-function-declaration]
  if (read(STDIN_FILENO,&c,1) != 0)
      ^~~~
      read1
readwrite.c: In function 'checkStatusAndConvCode':
readwrite.c:109:6: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration]
      strncpy(buf,codeMode[oc].socode,codeMode[oc].so_len);
      ^~~~~~~
readwrite.c:109:6: warning: incompatible implicit declaration of built-in function 'strncpy'
readwrite.c:109:6: note: include '<string.h>' or provide a declaration of 'strncpy'
readwrite.c:6:1:
+#include <string.h>
 
readwrite.c:109:6:
      strncpy(buf,codeMode[oc].socode,codeMode[oc].so_len);
      ^~~~~~~
readwrite.c:150:5: warning: incompatible implicit declaration of built-in function 'strncpy'
     strncpy(buf,codeMode[oc].socode,codeMode[oc].so_len);
     ^~~~~~~
readwrite.c:150:5: note: include '<string.h>' or provide a declaration of 'strncpy'
readwrite.c: In function 'syncStatus':
readwrite.c:227:4: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
    write(ttyno,codeMode[oc].socode,codeMode[oc].so_len);
    ^~~~~
    fwrite
readwrite.c: At top level:
readwrite.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int]
 writeTTYorg(ttyno,s,l,ic,oc,istatus,ostatus)
 ^~~~~~~~~~~
readwrite.c:322:1: warning: return type defaults to 'int' [-Wimplicit-int]
 writes(s)
 ^~~~~~
readwrite.c: In function 'writes':
readwrite.c:324:20: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
 {       int    l = strlen(s);
                    ^~~~~~
readwrite.c:324:20: warning: incompatible implicit declaration of built-in function 'strlen'
readwrite.c:324:20: note: include '<string.h>' or provide a declaration of 'strlen'
readwrite.c: At top level:
readwrite.c:329:1: warning: return type defaults to 'int' [-Wimplicit-int]
 write1(c)
 ^~~~~~
readwrite.c:335:1: warning: return type defaults to 'int' [-Wimplicit-int]
 writeShTty(s,l)
 ^~~~~~~~~~
readwrite.c:343:1: warning: return type defaults to 'int' [-Wimplicit-int]
 writeTty(s,l)
 ^~~~~~~~
readwrite.c:351:1: warning: return type defaults to 'int' [-Wimplicit-int]
 writeShell1(c)
 ^~~~~~~~~~~
readwrite.c:357:1: warning: return type defaults to 'int' [-Wimplicit-int]
 writeShells(s)
 ^~~~~~~~~~~
readwrite.c: In function 'writeShells':
readwrite.c:360:10: warning: incompatible implicit declaration of built-in function 'strlen'
  int l = strlen(s);
          ^~~~~~
readwrite.c:360:10: note: include '<string.h>' or provide a declaration of 'strlen'
readwrite.c: At top level:
readwrite.c:364:1: warning: return type defaults to 'int' [-Wimplicit-int]
 writeTtyShell1(c)
 ^~~~~~~~~~~~~~
readwrite.c:370:1: warning: return type defaults to 'int' [-Wimplicit-int]
 writeTtyShells(s)
 ^~~~~~~~~~~~~~
readwrite.c: In function 'writeTtyShells':
readwrite.c:373:10: warning: incompatible implicit declaration of built-in function 'strlen'
  int l = strlen(s);
          ^~~~~~
readwrite.c:373:10: note: include '<string.h>' or provide a declaration of 'strlen'
readwrite.c: At top level:
readwrite.c:377:1: warning: return type defaults to 'int' [-Wimplicit-int]
 bell()
 ^~~~
--- terms.o ---
cc -pipe -O2 -I/usr/pkg/include/ncurses   -DUSE_LOCALE -O  -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -I/usr/pkg/include/ncurses -c terms.c
--- stty.o ---
cc -pipe -O2 -I/usr/pkg/include/ncurses   -DUSE_LOCALE -O  -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -I/usr/pkg/include/ncurses -c stty.c
--- terms.o ---
terms.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int]
 getTCstr()
 ^~~~~~~~
terms.c: In function 'getTCstr':
terms.c:42:52: warning: implicit declaration of function 'adjstr' [-Wimplicit-function-declaration]
 #define GETSTR(v,s) {v = pt; suc = tgetstr(s,&pt); adjstr(&v,&pt);}
                                                    ^~~~~~
terms.c:51:2: note: in expansion of macro 'GETSTR'
  GETSTR(T_ce,"ce");   /* clear to the end of line */
  ^~~~~~
terms.c:75:3: warning: implicit declaration of function 'Exit'; did you mean 'exit'? [-Wimplicit-function-declaration]
   Exit(-1);
   ^~~~
   exit
terms.c: In function 'setEnvirons':
terms.c:130:21: warning: implicit declaration of function 'getpid'; did you mean 'tcgetsid'? [-Wimplicit-function-declaration]
  sprintf(buf, "%d", getpid());
                     ^~~~~~
                     tcgetsid
terms.c:135:6: warning: implicit declaration of function 'msgLine' [-Wimplicit-function-declaration]
  if (msgLine() != (int)UseBottomLine) {
      ^~~~~~~
terms.c:179:7: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  q += strlen(q);
       ^~~~~~
terms.c:179:7: warning: incompatible implicit declaration of built-in function 'strlen'
terms.c:179:7: note: include '<string.h>' or provide a declaration of 'strlen'
terms.c:4:1:
+#include <string.h>
 #include <stdlib.h>
terms.c:179:7:
  q += strlen(q);
       ^~~~~~
terms.c: At top level:
terms.c:240:1: warning: return type defaults to 'int' [-Wimplicit-int]
 adjstr(buf,ptr)
 ^~~~~~
terms.c:256:1: warning: return type defaults to 'int' [-Wimplicit-int]
 msgLine()
 ^~~~~~~
terms.c:261:1: warning: return type defaults to 'int' [-Wimplicit-int]
 toMsg()
 ^~~~~
terms.c: In function 'toMsg':
terms.c:264:3: warning: implicit declaration of function 'standout'; did you mean 'stdout'? [-Wimplicit-function-declaration]
   standout(1);
   ^~~~~~~~
   stdout
terms.c:266:3: warning: implicit declaration of function 'writes'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
   writes(tgoto(T_TS,0,0));
   ^~~~~~
   fwrite
terms.c: At top level:
terms.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int]
 fromMsg()
 ^~~~~~~
terms.c:284:1: warning: return type defaults to 'int' [-Wimplicit-int]
 initFep()
 ^~~~~~~
terms.c:297:1: warning: return type defaults to 'int' [-Wimplicit-int]
 termFep()
 ^~~~~~~
terms.c:309:1: warning: return type defaults to 'int' [-Wimplicit-int]
 underline(ctl)
 ^~~~~~~~~
terms.c:318:1: warning: return type defaults to 'int' [-Wimplicit-int]
 standout(ctl)
 ^~~~~~~~
terms.c:327:1: warning: return type defaults to 'int' [-Wimplicit-int]
 saveCsr()
 ^~~~~~~
terms.c:332:1: warning: return type defaults to 'int' [-Wimplicit-int]
 restoreCsr()
 ^~~~~~~~~~
terms.c:337:1: warning: return type defaults to 'int' [-Wimplicit-int]
 clearToEnd()
 ^~~~~~~~~~
terms.c:342:1: warning: return type defaults to 'int' [-Wimplicit-int]
 csrLeft(n)
 ^~~~~~~
terms.c:351:1: warning: return type defaults to 'int' [-Wimplicit-int]
 csrRight(n)
 ^~~~~~~~
terms.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int]
 cls()
 ^~~
terms.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int]
 erase(n)
 ^~~~~
terms.c: In function 'erase':
terms.c:369:3: warning: implicit declaration of function 'write1'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
   write1(' ');
   ^~~~~~
   fwrite
terms.c: At top level:
terms.c:374:1: warning: return type defaults to 'int' [-Wimplicit-int]
 rubout(n)
 ^~~~~~
--- stty.o ---
stty.c:125:1: warning: return type defaults to 'int' [-Wimplicit-int]
 set_winsize(tty)
 ^~~~~~~~~~~
stty.c: In function 'set_winsize':
stty.c:133:6: warning: implicit declaration of function 'msgLine' [-Wimplicit-function-declaration]
  if (msgLine() == (int)UseBottomLine) {
      ^~~~~~~
stty.c: At top level:
stty.c:143:1: warning: return type defaults to 'int' [-Wimplicit-int]
 get_winsize()
 ^~~~~~~~~~~
stty.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int]
 set_tty()
 ^~~~~~~
stty.c: In function 'set_tty':
stty.c:203:2: warning: implicit declaration of function 'initFep' [-Wimplicit-function-declaration]
  initFep();
  ^~~~~~~
stty.c:207:3: warning: implicit declaration of function 'reset_tty'; did you mean 'set_tty'? [-Wimplicit-function-declaration]
   reset_tty();
   ^~~~~~~~~
   set_tty
stty.c:208:3: warning: implicit declaration of function 'Exit'; did you mean 'exit'? [-Wimplicit-function-declaration]
   Exit(-1);
   ^~~~
   exit
stty.c: At top level:
stty.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int]
 reset_tty()
 ^~~~~~~~~
stty.c: In function 'reset_tty':
stty.c:214:2: warning: implicit declaration of function 'termFep' [-Wimplicit-function-declaration]
  termFep();
  ^~~~~~~
stty.c: At top level:
stty.c:218:1: warning: return type defaults to 'int' [-Wimplicit-int]
 set_tty_sane(tty)
 ^~~~~~~~~~~~
stty.c: In function 'segv_exit':
stty.c:281:2: warning: implicit declaration of function 'Abort'; did you mean 'abort'? [-Wimplicit-function-declaration]
  Abort();
  ^~~~~
  abort
stty.c: In function 'chld_changed':
stty.c:306:13: error: storage size of 'statusp' isn't known
  union wait statusp;
             ^~~~~~~
stty.c: In function 'winchange':
stty.c:405:2: warning: implicit declaration of function 'showcurmode' [-Wimplicit-function-declaration]
  showcurmode();
  ^~~~~~~~~~~
stty.c: In function 'sig_usr1':
stty.c:415:2: warning: implicit declaration of function 'toggleEscape' [-Wimplicit-function-declaration]
  toggleEscape(ViEsc);
  ^~~~~~~~~~~~
stty.c: At top level:
stty.c:437:1: warning: return type defaults to 'int' [-Wimplicit-int]
 set_int()
 ^~~~~~~
stty.c:463:1: warning: return type defaults to 'int' [-Wimplicit-int]
 saveJisyo()
 ^~~~~~~~~
stty.c:479:1: warning: return type defaults to 'int' [-Wimplicit-int]
 Exit(v)
 ^~~~
stty.c: In function 'Exit':
stty.c:482:2: warning: implicit declaration of function 'freeDevice' [-Wimplicit-function-declaration]
  freeDevice();
  ^~~~~~~~~~
stty.c: At top level:
stty.c:487:1: warning: return type defaults to 'int' [-Wimplicit-int]
 Abort()
 ^~~~~
--- keybind.o ---
--- stty.o ---
*** [stty.o] Error code 1

make[1]: stopped making "all" in /home/pbulk/build/inputmethod/skkfep/work/skkfep
--- keybind.o ---
cc -pipe -O2 -I/usr/pkg/include/ncurses   -DUSE_LOCALE -O  -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -I/usr/pkg/include/ncurses -c keybind.c
keybind.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int]
 setKanaKey()
 ^~~~~~~~~~
keybind.c: In function 'setKanaKey':
keybind.c:51:5: warning: implicit declaration of function 'changeKey' [-Wimplicit-function-declaration]
     changeKey(&NormalKeymap, toKana, k);
     ^~~~~~~~~
keybind.c: In function 'toggleEscape':
keybind.c:117:2: warning: implicit declaration of function 'showmessage' [-Wimplicit-function-declaration]
  showmessage("Escape mode off");
  ^~~~~~~~~~~
keybind.c: In function 'convertKeymap':
keybind.c:140:2: warning: implicit declaration of function 'overrideKeymap'; did you mean 'convertKeymap'? [-Wimplicit-function-declaration]
  overrideKeymap(keymap_body,skm);
  ^~~~~~~~~~~~~~
  convertKeymap
keybind.c: At top level:
keybind.c:144:1: warning: return type defaults to 'int' [-Wimplicit-int]
 overrideKeymap(km,skm)
 ^~~~~~~~~~~~~~
keybind.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int]
 changeKey(skm,func,newkey)
 ^~~~~~~~~
keybind.c:172:1: warning: return type defaults to 'int' [-Wimplicit-int]
 setKeymap(current, new)
 ^~~~~~~~~
keybind.c:179:1: warning: return type defaults to 'int' [-Wimplicit-int]
 restoreKeymap(current)
 ^~~~~~~~~~~~~
make[1]: 1 error

make[1]: stopped making "all" in /home/pbulk/build/inputmethod/skkfep/work/skkfep
*** [all] Error code 2

bmake: stopped making "all" in /home/pbulk/build/inputmethod/skkfep/work/skkfep
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/inputmethod/skkfep/work/skkfep
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/inputmethod/skkfep
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/inputmethod/skkfep