+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sc-im-0.8.3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sc-im-0.8.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for sc-im-0.8.3
yacc -d gram.y
mv y.tab.c gram.c
sed -f eres.sed < gram.y > experres.h
sed -f sres.sed < gram.y > statres.h
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o block.o block.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o buffer.o buffer.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o clipboard.o clipboard.c
clipboard.c: In function 'paste_from_clipboard':
clipboard.c:95:17: warning: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration]
   95 |     FILE * fp = fdopen(fd, "r");
      |                 ^~~~~~
      |                 fopen
clipboard.c:95:17: warning: initialization of 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
clipboard.c: In function 'copy_to_clipboard':
clipboard.c:163:17: warning: initialization of 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  163 |     FILE * fp = fdopen(fd, "w");
      |                 ^~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o color.o color.c
color.c: In function 'get_custom_color':
color.c:710:15: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  710 |         if (! strcasecmp(name, aux->name)) return aux;
      |               ^~~~~~~~~~
      |               strncmp
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o conf.o conf.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o digraphs.o digraphs.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o exec.o exec.c
exec.c: In function 'exec_cmd':
exec.c:100:23: warning: implicit declaration of function 'strsep'; did you mean 'strstr'? [-Wimplicit-function-declaration]
  100 |             argv[i] = strsep(&line, " ");
      |                       ^~~~~~
      |                       strstr
exec.c:100:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  100 |             argv[i] = strsep(&line, " ");
      |                     ^
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o file.o file.c
file.c: In function 'get_delim':
file.c:199:10: warning: implicit declaration of function 'strcasecmp'; did you mean 'xmlStrcasecmp'? [-Wimplicit-function-declaration]
  199 |     if (!strcasecmp(type, "tsv") || !strcasecmp(type, "tab"))
      |          ^~~~~~~~~~
      |          xmlStrcasecmp
file.c: In function 'savefile':
file.c:249:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  249 |     if ((len = strlen(p.we_wordv[0])) >= sizeof(name)) {
      |                ^~~~~~
file.c:87:1: note: include '<string.h>' or provide a declaration of 'strlen'
   86 | #include <pthread.h>
  +++ |+#include <string.h>
   87 | extern pthread_t fthread;
file.c:249:16: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  249 |     if ((len = strlen(p.we_wordv[0])) >= sizeof(name)) {
      |                ^~~~~~
file.c:249:16: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:266:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  266 |     if (curfile != NULL && strlen(curfile) && backup_exists(curfile)) remove_backup(curfile);
      |                            ^~~~~~
file.c:266:28: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:271:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  271 |     if ((curfile == NULL || ! strlen(curfile)) && backup_exists(name)) {
      |                               ^~~~~~
file.c:271:31: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:283:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
  283 |         strcpy(doc->name, name);
      |         ^~~~~~
file.c:283:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:283:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
file.c:283:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:288:27: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  288 |         sprintf(curfile + strlen(curfile), ".sc");
      |                           ^~~~~~
file.c:288:27: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:291:16: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  291 |     } else if (strlen(curfile) > 4 && (! strcasecmp( & curfile[strlen(curfile)-4], ".csv"))) {
      |                ^~~~~~
file.c:291:16: note: include '<string.h>' or provide a declaration of 'strlen'
file.c: In function 'writefile':
file.c:358:12: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  358 |     (void) strcpy(tfname, fname);
      |            ^~~~~~
file.c:358:12: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c: In function 'write_fd':
file.c:529:53: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  529 |                                 snprintf(strcolor + strlen(strcolor), strlen(line)+5, " bg=%s", &line[0]);
      |                                                     ^~~~~~
file.c:529:53: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:532:52: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  532 |                                 sprintf(strcolor + strlen(strcolor), " bg=%.*s", BUFFERSIZE-5, cc->name);
      |                                                    ^~~~~~
file.c:532:52: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:536:74: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  536 |                         if ((*pp)->ucolor->bold)      sprintf(strcolor + strlen(strcolor), " bold=1");
      |                                                                          ^~~~~~
file.c:536:74: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:537:74: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  537 |                         if ((*pp)->ucolor->italic)    sprintf(strcolor + strlen(strcolor), " italic=1");
      |                                                                          ^~~~~~
file.c:537:74: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:538:74: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  538 |                         if ((*pp)->ucolor->dim)       sprintf(strcolor + strlen(strcolor), " dim=1");
      |                                                                          ^~~~~~
file.c:538:74: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:539:74: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  539 |                         if ((*pp)->ucolor->reverse)   sprintf(strcolor + strlen(strcolor), " reverse=1");
      |                                                                          ^~~~~~
file.c:539:74: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:540:74: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  540 |                         if ((*pp)->ucolor->standout)  sprintf(strcolor + strlen(strcolor), " standout=1");
      |                                                                          ^~~~~~
file.c:540:74: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:541:74: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  541 |                         if ((*pp)->ucolor->underline) sprintf(strcolor + strlen(strcolor), " underline=1");
      |                                                                          ^~~~~~
file.c:541:74: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:542:74: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  542 |                         if ((*pp)->ucolor->blink)     sprintf(strcolor + strlen(strcolor), " blink=1");
      |                                                                          ^~~~~~
file.c:542:74: note: include '<string.h>' or provide a declaration of 'strlen'
file.c: In function 'write_cells':
file.c:702:33: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration]
  702 |                     dpointptr = strchr(line, dpoint);
      |                                 ^~~~~~
file.c:702:33: note: include '<string.h>' or provide a declaration of 'strchr'
file.c:702:33: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch]
file.c:702:33: note: include '<string.h>' or provide a declaration of 'strchr'
file.c: In function 'readfile':
file.c:743:11: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  743 |     if (! strlen(fname)) return 0;
      |           ^~~~~~
file.c:743:11: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:748:49: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  748 |     if (str_in_str(fname, CONFIG_FILE) == -1 && strlen(curfile) &&
      |                                                 ^~~~~~
file.c:748:49: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:749:31: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  749 |     backup_exists(curfile) && strcmp(fname, curfile)) {
      |                               ^~~~~~
file.c:749:31: note: include '<string.h>' or provide a declaration of 'strcmp'
file.c:780:27: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  780 |                 int len = strlen(fname);
      |                           ^~~~~~
file.c:780:27: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:782:31: warning: implicit declaration of function 'strrchr' [-Wimplicit-function-declaration]
  782 |                 char * pstr = strrchr(fname, '/');
      |                               ^~~~~~~
file.c:782:31: note: include '<string.h>' or provide a declaration of 'strrchr'
file.c:782:31: warning: incompatible implicit declaration of built-in function 'strrchr' [-Wbuiltin-declaration-mismatch]
file.c:782:31: note: include '<string.h>' or provide a declaration of 'strrchr'
file.c:785:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  785 |                 strcpy(bkpname, fname);
      |                 ^~~~~~
file.c:785:17: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:796:15: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  796 |     int len = strlen(fname);
      |               ^~~~~~
file.c:796:15: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:809:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  809 |         strcpy(roman->name, fname);
      |         ^~~~~~
file.c:809:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:824:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  824 |         strcpy(roman->name, fname);
      |         ^~~~~~
file.c:824:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:839:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  839 |         strcpy(roman->name, fname);
      |         ^~~~~~
file.c:839:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:852:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  852 |         strcpy(roman->name, fname);
      |         ^~~~~~
file.c:852:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:864:7: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  864 |       strcpy(roman->name, fname);
      |       ^~~~~~
file.c:864:7: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:880:12: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  880 |     (void) strcpy(save, fname);
      |            ^~~~~~
file.c:880:12: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:884:13: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration]
  884 |         if (strstr(save, "scimrc") == NULL) {
      |             ^~~~~~
file.c:884:13: note: include '<string.h>' or provide a declaration of 'strstr'
file.c:884:13: warning: incompatible implicit declaration of built-in function 'strstr' [-Wbuiltin-declaration-mismatch]
file.c:884:13: note: include '<string.h>' or provide a declaration of 'strstr'
file.c:905:9: warning: incompatible implicit declaration of built-in function 'strstr' [-Wbuiltin-declaration-mismatch]
  905 |     if (strstr(save, "scimrc") == NULL) {
      |         ^~~~~~
file.c:905:9: note: include '<string.h>' or provide a declaration of 'strstr'
file.c: In function 'findhome':
file.c:935:13: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  935 |             strcpy(tmppath, HomeDir);
      |             ^~~~~~
file.c:935:13: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:949:13: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  949 |             strcpy(tmppath, pwent->pw_dir);
      |             ^~~~~~
file.c:949:13: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:951:9: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration]
  951 |         strcat(tmppath, pathptr);
      |         ^~~~~~
file.c:951:9: note: include '<string.h>' or provide a declaration of 'strcat'
file.c:951:9: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
file.c:951:9: note: include '<string.h>' or provide a declaration of 'strcat'
file.c:952:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  952 |         strcpy(path, tmppath);
      |         ^~~~~~
file.c:952:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c: In function 'openfile':
file.c:1008:18: warning: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration]
 1008 |         if ((f = fdopen(pipefd[(rfd==NULL?1:2)], rfd==NULL?"w":"r")) == NULL) {
      |                  ^~~~~~
      |                  fopen
file.c:1008:16: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1008 |         if ((f = fdopen(pipefd[(rfd==NULL?1:2)], rfd==NULL?"w":"r")) == NULL) {
      |                ^
file.c:1009:20: warning: implicit declaration of function 'kill'; did you mean 'fill'? [-Wimplicit-function-declaration]
 1009 |             (void) kill(pid, 9);
      |                    ^~~~
      |                    fill
file.c: In function 'import_csv':
file.c:1134:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 1134 |         int l = strlen(line_in);
      |                 ^~~~~~
file.c:1134:17: note: include '<string.h>' or provide a declaration of 'strlen'
file.c: In function 'import_markdown':
file.c:1266:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 1266 |         int l = strlen(line_in);
      |                 ^~~~~~
file.c:1266:17: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:1284:13: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1284 |             strcpy(line_in_head, line_in);
      |             ^~~~~~
file.c:1284:13: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c: In function 'do_export':
file.c:1410:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1410 |         strcpy(type_export, "csv");
      |         ^~~~~~
file.c:1410:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:1412:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1412 |         strcpy(type_export, "tab");
      |         ^~~~~~
file.c:1412:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:1414:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1414 |         strcpy(type_export, "tex");
      |         ^~~~~~
file.c:1414:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:1416:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1416 |         strcpy(type_export, "txt");
      |         ^~~~~~
file.c:1416:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:1418:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1418 |         strcpy(type_export, "mkd");
      |         ^~~~~~
file.c:1418:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:1423:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 1423 |     if (strlen(linea) > 4) {   // ex. 'csv '
      |         ^~~~~~
file.c:1423:9: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:1425:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1425 |         strcpy(ruta, linea);
      |         ^~~~~~
file.c:1425:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:1430:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1430 |         strcpy(ruta, curfile);
      |         ^~~~~~
file.c:1430:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:1431:22: warning: incompatible implicit declaration of built-in function 'strrchr' [-Wbuiltin-declaration-mismatch]
 1431 |         char * ext = strrchr(ruta, '.');
      |                      ^~~~~~~
file.c:1431:22: note: include '<string.h>' or provide a declaration of 'strrchr'
file.c:1440:49: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 1440 |     if (! force_rewrite && file_exists(ruta) && strlen(ruta) > 0) {
      |                                                 ^~~~~~
file.c:1440:49: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:1450:75: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 1450 |     if (( !strcmp(type_export, "csv") || !strcmp(type_export, "tab")) && (strlen(ruta) && backup_exists(ruta))) {
      |                                                                           ^~~~~~
file.c:1450:75: note: include '<string.h>' or provide a declaration of 'strlen'
file.c: In function 'export_markdown':
file.c:1537:36: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
 1537 |                     if (col == c0) strcat (dashline, "|");
      |                                    ^~~~~~
file.c:1537:36: note: include '<string.h>' or provide a declaration of 'strcat'
file.c:1539:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
 1539 |                         strcat (dashline, ":");
      |                         ^~~~~~
file.c:1539:25: note: include '<string.h>' or provide a declaration of 'strcat'
file.c:1541:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
 1541 |                         strcat (dashline, "-");
      |                         ^~~~~~
file.c:1541:25: note: include '<string.h>' or provide a declaration of 'strcat'
file.c:1544:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
 1544 |                         strcat (dashline, "-");
      |                         ^~~~~~
file.c:1544:25: note: include '<string.h>' or provide a declaration of 'strcat'
file.c:1547:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
 1547 |                         strcat (dashline, ":");
      |                         ^~~~~~
file.c:1547:25: note: include '<string.h>' or provide a declaration of 'strcat'
file.c:1549:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
 1549 |                         strcat (dashline, "-");
      |                         ^~~~~~
file.c:1549:25: note: include '<string.h>' or provide a declaration of 'strcat'
file.c:1551:21: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
 1551 |                     strcat (dashline, "|");
      |                     ^~~~~~
file.c:1551:21: note: include '<string.h>' or provide a declaration of 'strcat'
file.c:1568:29: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1568 |                             strcpy(num, formated_s);
      |                             ^~~~~~
file.c:1568:29: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:1576:25: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1576 |                         strcpy(text, (*pp)->label);
      |                         ^~~~~~
file.c:1576:25: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c: In function 'export_plain':
file.c:1696:29: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1696 |                             strcpy(num, formated_s);
      |                             ^~~~~~
file.c:1696:29: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:1704:25: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1704 |                         strcpy(text, (*pp)->label);
      |                         ^~~~~~
file.c:1704:25: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c: In function 'unspecial':
file.c:1844:9: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch]
 1844 |     if (strchr(str, delim) != NULL) backquote = 1;
      |         ^~~~~~
file.c:1844:9: note: include '<string.h>' or provide a declaration of 'strchr'
file.c: In function 'plugin_exists':
file.c:2010:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 2010 |         strcpy((char *) path, cwd);
      |         ^~~~~~
file.c:2010:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:2011:9: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
 2011 |         strcat((char *) path, "/");
      |         ^~~~~~
file.c:2011:9: note: include '<string.h>' or provide a declaration of 'strcat'
file.c:2012:9: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration]
 2012 |         strncat((char *) path, name, len);
      |         ^~~~~~~
file.c:2012:9: note: include '<string.h>' or provide a declaration of 'strncat'
file.c:2012:9: warning: incompatible implicit declaration of built-in function 'strncat' [-Wbuiltin-declaration-mismatch]
file.c:2012:9: note: include '<string.h>' or provide a declaration of 'strncat'
file.c:2042:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 2042 |     strcpy((char *) path, HELP_PATH);
      |     ^~~~~~
file.c:2042:5: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:2043:5: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
 2043 |     strcat((char *) path, "/");
      |     ^~~~~~
file.c:2043:5: note: include '<string.h>' or provide a declaration of 'strcat'
file.c:2044:5: warning: incompatible implicit declaration of built-in function 'strncat' [-Wbuiltin-declaration-mismatch]
 2044 |     strncat((char *) path, name, len);
      |     ^~~~~~~
file.c:2044:5: note: include '<string.h>' or provide a declaration of 'strncat'
file.c: In function 'do_autobackup':
file.c:2061:37: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 2061 |     if (curfile == NULL || ! (len = strlen(curfile))) return (void *) -1;
      |                                     ^~~~~~
file.c:2061:37: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:2065:19: warning: incompatible implicit declaration of built-in function 'strrchr' [-Wbuiltin-declaration-mismatch]
 2065 |     char * pstr = strrchr(curfile, '/');
      |                   ^~~~~~~
file.c:2065:19: note: include '<string.h>' or provide a declaration of 'strrchr'
file.c:2069:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 2069 |     strcpy(name, curfile);
      |     ^~~~~~
file.c:2069:5: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:2071:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 2071 |     sprintf(name + strlen(name), ".bak");
      |                    ^~~~~~
file.c:2071:20: note: include '<string.h>' or provide a declaration of 'strlen'
file.c: In function 'remove_backup':
file.c:2134:15: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 2134 |     int len = strlen(file);
      |               ^~~~~~
file.c:2134:15: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:2136:19: warning: incompatible implicit declaration of built-in function 'strrchr' [-Wbuiltin-declaration-mismatch]
 2136 |     char * pstr = strrchr(file, '/');
      |                   ^~~~~~~
file.c:2136:19: note: include '<string.h>' or provide a declaration of 'strrchr'
file.c:2139:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 2139 |     strcpy(name, file);
      |     ^~~~~~
file.c:2139:5: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c: In function 'backup_exists':
file.c:2153:15: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 2153 |     int len = strlen(file);
      |               ^~~~~~
file.c:2153:15: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:2155:19: warning: incompatible implicit declaration of built-in function 'strrchr' [-Wbuiltin-declaration-mismatch]
 2155 |     char * pstr = strrchr(file, '/');
      |                   ^~~~~~~
file.c:2155:19: note: include '<string.h>' or provide a declaration of 'strrchr'
file.c:2158:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 2158 |     strcpy(name, file);
      |     ^~~~~~
file.c:2158:5: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c: In function 'openfile_nested':
file.c:2177:26: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 2177 |     if (cmd == NULL || ! strlen(cmd)) return;
      |                          ^~~~~~
file.c:2177:26: note: include '<string.h>' or provide a declaration of 'strlen'
file.c: In function 'openfile_under_cursor':
file.c:2199:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 2199 |         strcpy(text, (*pp)->label);
      |         ^~~~~~
file.c:2199:9: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c: In function 'load_file':
file.c:2245:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 2245 |     roman->name = ! strlen(file) ? NULL : strdup(file);
      |                     ^~~~~~
file.c:2245:21: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:2245:43: warning: implicit declaration of function 'strdup'; did you mean 'scr_dump'? [-Wimplicit-function-declaration]
 2245 |     roman->name = ! strlen(file) ? NULL : strdup(file);
      |                                           ^~~~~~
      |                                           scr_dump
file.c:2245:41: warning: pointer/integer type mismatch in conditional expression
 2245 |     roman->name = ! strlen(file) ? NULL : strdup(file);
      |                                         ^
file.c: In function 'load_tbl':
file.c:2278:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 2278 |     strcpy(name, ""); //force name to be empty
      |     ^~~~~~
file.c:2278:5: note: include '<string.h>' or provide a declaration of 'strcpy'
file.c:2295:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 2295 |         if (c) sprintf(name + strlen(name), " ");
      |                               ^~~~~~
file.c:2295:31: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:2296:24: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 2296 |         sprintf(name + strlen(name), "%s", p.we_wordv[c]);
      |                        ^~~~~~
file.c:2296:24: note: include '<string.h>' or provide a declaration of 'strlen'
file.c:2301:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
 2301 |     if (strlen(name) != 0) {
      |         ^~~~~~
file.c:2301:9: note: include '<string.h>' or provide a declaration of 'strlen'
file.c: In function 'export_delim':
file.c:1944:9: warning: 'pid' may be used uninitialized [-Wmaybe-uninitialized]
 1944 |     if (! pid && verbose) {
      |         ^~~~~
file.c:1884:9: note: 'pid' declared here
 1884 |     int pid;
      |         ^~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o format.o format.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o function.o function.c
function.c: In function 'doext':
function.c:951:23: warning: implicit declaration of function 'popen'; did you mean 'fopen'? [-Wimplicit-function-declaration]
  951 |             if ((pp = popen(buff, "r")) == (FILE *) NULL) {    /* run it */
      |                       ^~~~~
      |                       fopen
function.c:951:21: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  951 |             if ((pp = popen(buff, "r")) == (FILE *) NULL) {    /* run it */
      |                     ^
function.c:970:24: warning: implicit declaration of function 'pclose'; did you mean 'fclose'? [-Wimplicit-function-declaration]
  970 |                 (void) pclose(pp);
      |                        ^~~~~~
      |                        fclose
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o graph.o graph.c
graph.c: In function 'print_vertexs':
graph.c:277:8: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
  277 |        strcpy(det, "Graph is empty");
      |        ^~~~~~
graph.c:72:1: note: include '<string.h>' or provide a declaration of 'strcpy'
   71 | #include "trigger.h"
  +++ |+#include <string.h>
   72 | 
graph.c:277:8: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  277 |        strcpy(det, "Graph is empty");
      |        ^~~~~~
graph.c:277:8: note: include '<string.h>' or provide a declaration of 'strcpy'
graph.c:287:4: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  287 |    strcpy(msg, "Content of graph:\n");
      |    ^~~~~~
graph.c:287:4: note: include '<string.h>' or provide a declaration of 'strcpy'
graph.c:290:21: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  290 |       sprintf(det + strlen(det), "sheet:{%s} vertex: %d %d vis:%d eval_vis:%d\n", temp->sheet->name, temp->ent->row, temp->ent->col, temp->visited, temp->eval_visited);
      |                     ^~~~~~
graph.c:290:21: note: include '<string.h>' or provide a declaration of 'strlen'
graph.c:290:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
graph.c:290:21: note: include '<string.h>' or provide a declaration of 'strlen'
graph.c: In function 'EvalJustOneVertex':
graph.c:833:33: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  833 |         if ( !p->label || !v || strcmp(v, p->label) != 0 || cellerror) {
      |                                 ^~~~~~
graph.c:833:33: note: include '<string.h>' or provide a declaration of 'strcmp'
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DGNUPLOT -DUSECOLORS -DXLS -DXLSX -DXLSX_EXPORT -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1 -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" -DHELP_PATH=\"/opt/local/share/sc-im\" -DLIBDIR=\"/opt/local/share/doc/sc-im\" -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD -DGNUPLOT -DXLS -I/opt/local/include -DODS -DXLSX -I/opt/local/include/libxml2 -I/opt/local/include -DXLSX_EXPORT -I/opt/local/include  -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I/opt/local/include/lua-5.1  -c -o help.o help.c
help.c: In function 'load_help':
help.c:96:18: error: 'PATH_MAX' undeclared (first use in this function)
   96 |         char cwd[PATH_MAX];
      |                  ^~~~~~~~
help.c:96:18: note: each undeclared identifier is reported only once for each function it appears in
help.c:98:13: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration]
   98 |         if (realpath(exepath, cwd) == NULL) return -1;
      |             ^~~~~~~~
help.c:96:14: warning: unused variable 'cwd' [-Wunused-variable]
   96 |         char cwd[PATH_MAX];
      |              ^~~
gmake: *** [<builtin>: help.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/math/sc-im
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/math/sc-im