+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/syncterm-1.1nb8/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/syncterm-1.1nb8/work.log
===> Building for syncterm-1.1nb8
/opt/pkg/bin/gmake -C /home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev mtlib
gmake[1]: Entering directory '/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev'
/opt/pkg/bin/gmake -C /home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/conio mtlib
gmake[1]: Entering directory '/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/conio'
/opt/pkg/bin/gmake -C /home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/uifc mtlib
gmake[1]: Entering directory '/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/uifc'
Compiling bbslist.c
Compiling ansi_cio.c
Compiling conwrap.c
conwrap.c: In function '_sighandler_stop':
conwrap.c:74:9: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration]
   74 |         kill(getpid(), SIGSTOP);
      |         ^~~~
Compiling uifc32.c
Compiling dat_file.c
dat_file.c: In function 'csvLineParser':
dat_file.c:127:17: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
  127 |         if((buf=strdup(line))==NULL) {
      |                 ^~~~~~
      |                 strupr
dat_file.c:127:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  127 |         if((buf=strdup(line))==NULL) {
      |                ^
dat_file.c: In function 'tabLineParser':
dat_file.c:181:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  181 |         if((buf=strdup(line))==NULL) {
      |                ^
In file included from dat_file.c:40:
dat_file.c: In function 'dataWriteFile':
dat_file.c:230:19: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration]
  230 |         if(chsize(fileno(fp),0)!=0)     /* truncate */
      |                   ^~~~~~
filewrap.h:131:51: note: in definition of macro 'chsize'
  131 |         #define chsize(fd,size)         ftruncate(fd,size)
      |                                                   ^~
Compiling datewrap.c
In file included from /home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev/ini_file.h:43,
                 from bbslist.c:8:
bbslist.c: In function 'listcmp':
/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev/genwrap.h:243:49: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]
  243 |                 #define stricmp                 strcasecmp
      |                                                 ^~~~~~~~~~
bbslist.c:445:37: note: in expansion of macro 'stricmp'
  445 |                                 ret=stricmp(a+sort_order[item].offset,b+sort_order[item].offset);
      |                                     ^~~~~~~
bbslist.c: In function 'change_settings':
bbslist.c:1648:41: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
 1648 |                                         asprintf(&subopts[0], "Rows      (%d)", settings.custom_rows);
      |                                         ^~~~~~~~
      |                                         vsprintf
bbslist.c: In function 'show_bbslist':
bbslist.c:1826:167: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
 1826 |         load_bbslist(list, BBSLIST_SIZE, &defaults, settings.list_path, sizeof(settings.list_path), shared_list, sizeof(shared_list), &listcount, &opt, &bar, current?strdup(current):NULL);
      |                                                                                                                                                                       ^~~~~~
      |                                                                                                                                                                       strupr
bbslist.c:1826:182: warning: pointer/integer type mismatch in conditional expression
 1826 |         load_bbslist(list, BBSLIST_SIZE, &defaults, settings.list_path, sizeof(settings.list_path), shared_list, sizeof(shared_list), &listcount, &opt, &bar, current?strdup(current):NULL);
      |                                                                                                                                                                                      ^
bbslist.c:2046:215: warning: passing argument 11 of 'load_bbslist' makes pointer from integer without a cast [-Wint-conversion]
 2046 |                                                                 load_bbslist(list, BBSLIST_SIZE, &defaults, settings.list_path, sizeof(settings.list_path), shared_list, sizeof(shared_list), &listcount, &opt, &bar, strdup(list[listcount-1]->name));
      |                                                                                                                                                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                                       |
      |                                                                                                                                                                                                                       int
bbslist.c:1747:207: note: expected 'char *' but argument is of type 'int'
 1747 | void load_bbslist(struct bbslist **list, size_t listsize, struct bbslist *defaults, char *listpath, size_t listpathsize, char *shared_list, size_t shared_listsize, int *listcount, int *cur, int *bar, char *current)
      |                                                                                                                                                                                                         ~~~~~~^~~~~~~
bbslist.c:2101:215: warning: passing argument 11 of 'load_bbslist' makes pointer from integer without a cast [-Wint-conversion]
 2101 |                                                                 load_bbslist(list, BBSLIST_SIZE, &defaults, settings.list_path, sizeof(settings.list_path), shared_list, sizeof(shared_list), &listcount, &opt, &bar, strdup(list[opt]->name));
      |                                                                                                                                                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                                       |
      |                                                                                                                                                                                                                       int
bbslist.c:1747:207: note: expected 'char *' but argument is of type 'int'
 1747 | void load_bbslist(struct bbslist **list, size_t listsize, struct bbslist *defaults, char *listpath, size_t listpathsize, char *shared_list, size_t shared_listsize, int *listcount, int *cur, int *bar, char *current)
      |                                                                                                                                                                                                         ~~~~~~^~~~~~~
bbslist.c:2117:207: warning: passing argument 11 of 'load_bbslist' makes pointer from integer without a cast [-Wint-conversion]
 2117 |                                                         load_bbslist(list, BBSLIST_SIZE, &defaults, settings.list_path, sizeof(settings.list_path), shared_list, sizeof(shared_list), &listcount, &opt, &bar, strdup(list[opt]->name));
      |                                                                                                                                                                                                               ^~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                               |
      |                                                                                                                                                                                                               int
bbslist.c:1747:207: note: expected 'char *' but argument is of type 'int'
 1747 | void load_bbslist(struct bbslist **list, size_t listsize, struct bbslist *defaults, char *listpath, size_t listpathsize, char *shared_list, size_t shared_listsize, int *listcount, int *cur, int *bar, char *current)
      |                                                                                                                                                                                                         ~~~~~~^~~~~~~
bbslist.c:2231:232: warning: pointer/integer type mismatch in conditional expression
 2231 |                                                 load_bbslist(list, BBSLIST_SIZE, &defaults, settings.list_path, sizeof(settings.list_path), shared_list, sizeof(shared_list), &listcount, &opt, &bar, list[opt]?strdup(list[opt]->name):NULL);
      |                                                                                                                                                                                                                                        ^
datewrap.c: In function 'sane_timegm':
datewrap.c:76:16: warning: implicit declaration of function 'timegm'; did you mean 'time32'? [-Wimplicit-function-declaration]
   76 |         return timegm(tm);
      |                ^~~~~~
      |                time32
Compiling dirwrap.c
In file included from dirwrap.c:84:
dirwrap.c: In function 'isabspath':
genwrap.h:243:49: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  243 |                 #define stricmp                 strcasecmp
      |                                                 ^~~~~~~~~~
dirwrap.c:1092:16: note: in expansion of macro 'stricmp'
 1092 |         return(stricmp(filename,FULLPATH(path,filename,sizeof(path)))==0);
      |                ^~~~~~~
dirwrap.c: In function 'wildmatchi':
dirwrap.c:1171:16: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
 1171 |         if((s1=strdup(fname))==NULL)
      |                ^~~~~~
      |                strupr
dirwrap.c:1171:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1171 |         if((s1=strdup(fname))==NULL)
      |               ^
dirwrap.c:1173:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1173 |         if((s2=strdup(spec))==NULL) {
      |               ^
In file included from ansi_cio.c:38:
ansi_cio.c: In function 'ansi_keythread':
/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev/genwrap.h:305:71: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration]
  305 |                                                                 while(nanosleep(&ts, &ts) != 0 && errno==EINTR && x > 1); })
      |                                                                       ^~~~~~~~~
ansi_cio.c:826:33: note: in expansion of macro 'SLEEP'
  826 |                                 SLEEP(1);
      |                                 ^~~~~
ansi_cio.c: In function 'ansi_initio_cb':
ansi_cio.c:949:17: warning: implicit declaration of function 'cfmakeraw' [-Wimplicit-function-declaration]
  949 |                 cfmakeraw(&tio_raw);
      |                 ^~~~~~~~~
uifc32.c: In function 'ulist':
uifc32.c:662:15: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
  662 |         title=strdup(initial_title==NULL?"":initial_title);
      |               ^~~~~~
      |               strupr
uifc32.c:662:14: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  662 |         title=strdup(initial_title==NULL?"":initial_title);
      |              ^
In file included from uifc32.c:49:
/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev/genwrap.h:244:49: warning: implicit declaration of function 'strncasecmp'; did you mean 'SDL_strncasecmp'? [-Wimplicit-function-declaration]
  244 |                 #define strnicmp                strncasecmp
      |                                                 ^~~~~~~~~~~
uifc32.c:1616:74: note: in expansion of macro 'strnicmp'
 1616 |                                                         && ((!a && s && !strnicmp(option[j]+b,search,s+1))
      |                                                                          ^~~~~~~~
uifc32.c:1737:85: warning: implicit declaration of function 'strcasestr'; did you mean 'SDL_strcasestr'? [-Wimplicit-function-declaration]
 1737 |                                                                                 if (strcasestr(option[j], search) != NULL) {
      |                                                                                     ^~~~~~~~~~
      |                                                                                     SDL_strcasestr
uifc32.c:1737:115: warning: comparison between pointer and integer
 1737 |                                                                                 if (strcasestr(option[j], search) != NULL) {
      |                                                                                                                   ^~
uifc32.c: In function 'uinput':
uifc32.c:1865:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1865 |         prompt=strdup(inprompt==NULL ? "":inprompt);
      |               ^
uifc32.c: In function 'umsgf':
uifc32.c:2005:5: warning: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
 2005 |     vasprintf(&buf, fmt, va);
      |     ^~~~~~~~~
      |     vsprintf
uifc32.c: In function 'help':
/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev/genwrap.h:243:49: warning: implicit declaration of function 'strcasecmp'; did you mean 'SDL_strcasecmp'? [-Wimplicit-function-declaration]
  243 |                 #define stricmp                 strcasecmp
      |                                                 ^~~~~~~~~~
uifc32.c:3013:20: note: in expansion of macro 'stricmp'
 3013 |                 if(stricmp(str,p) || line!=helpline) {
      |                    ^~~~~~~
Compiling filewrap.c
filewrap.c: In function 'lock':
filewrap.c:130:20: warning: implicit declaration of function 'flock'; did you mean 'lock'? [-Wimplicit-function-declaration]
  130 |                 if(flock(fd,LOCK_EX|LOCK_NB)!=0 && errno != EOPNOTSUPP)
      |                    ^~~~~
      |                    lock
filewrap.c: In function '_fsopen':
filewrap.c:441:16: warning: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration]
  441 |         return(fdopen(file,pszMode));
      |                ^~~~~~
      |                fopen
filewrap.c:441:16: warning: returning 'int' from a function with return type 'FILE *' makes pointer from integer without a cast [-Wint-conversion]
  441 |         return(fdopen(file,pszMode));
      |               ~^~~~~~~~~~~~~~~~~~~~~
Compiling genwrap.c
genwrap.c: In function 'c_unescape_str':
genwrap.c:206:30: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
  206 |         if(str==NULL || (buf=strdup(str))==NULL)
      |                              ^~~~~~
      |                              strupr
genwrap.c:206:29: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  206 |         if(str==NULL || (buf=strdup(str))==NULL)
      |                             ^
genwrap.c: In function 'xp_randomize':
genwrap.c:543:9: warning: implicit declaration of function 'srandom'; did you mean 'srand'? [-Wimplicit-function-declaration]
  543 |         srandom(seed);
      |         ^~~~~~~
      |         srand
genwrap.c: In function 'xp_random':
genwrap.c:565:22: warning: implicit declaration of function 'random'; did you mean 'rand_r'? [-Wimplicit-function-declaration]
  565 |                 curr=random();
      |                      ^~~~~~
      |                      rand_r
genwrap.c: In function 'truncsp_lines':
genwrap.c:746:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  746 |         if((src=strdup(dst))==NULL)
      |                ^
genwrap.c: In function 'check_pid':
genwrap.c:832:16: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration]
  832 |         return(kill(pid,0)==0);
      |                ^~~~
Compiling ciolib.c
Compiling uifcinit.c
Compiling ini_file.c
In file included from ini_file.h:43,
                 from ini_file.c:37:
ini_file.c: In function 'is_eof':
genwrap.h:243:49: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]
  243 |                 #define stricmp                 strcasecmp
      |                                                 ^~~~~~~~~~
ini_file.c:77:29: note: in expansion of macro 'stricmp'
   77 |         return(*str=='!' && stricmp(truncsp(str),INI_EOF_DIRECTIVE)==0);
      |                             ^~~~~~~
ini_file.c: In function 'iniReadSectionList':
genwrap.h:244:49: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  244 |                 #define strnicmp                strncasecmp
      |                                                 ^~~~~~~~~~~
ini_file.c:1103:28: note: in expansion of macro 'strnicmp'
 1103 |                         if(strnicmp(p,prefix,strlen(prefix))!=0)
      |                            ^~~~~~~~
ini_file.c: In function 'iniReadNamedStringList':
ini_file.c:1294:37: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
 1294 |                 if((lp[items]->name=strdup(name))==NULL)
      |                                     ^~~~~~
      |                                     strupr
ini_file.c:1294:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1294 |                 if((lp[items]->name=strdup(name))==NULL)
      |                                    ^
ini_file.c:1296:37: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1296 |                 if((lp[items]->value=strdup(value))==NULL)
      |                                     ^
ini_file.c: In function 'iniGetNamedStringList':
ini_file.c:1340:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1340 |                 if((lp[items]->name=strdup(name))==NULL)
      |                                    ^
ini_file.c:1342:37: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1342 |                 if((lp[items]->value=strdup(value))==NULL)
      |                                     ^
ini_file.c: In function 'isTrue':
ini_file.c:1364:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1364 |         if((str=strdup(value)) == NULL)
      |                ^
ini_file.c: In function 'parseEnumList':
ini_file.c:1954:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1954 |         if((vals=strdup(values)) == NULL)
      |                 ^
ini_file.c: In function 'parseIntList':
ini_file.c:2246:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 2246 |         if((vals = strdup(values)) == NULL)
      |                  ^
In file included from ini_file.c:45:
ini_file.c: In function 'iniWriteFile':
ini_file.c:2393:19: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration]
 2393 |         if(chsize(fileno(fp), pos)!=0)  /* truncate */
      |                   ^~~~~~
filewrap.h:131:51: note: in definition of macro 'chsize'
  131 |         #define chsize(fd,size)         ftruncate(fd,size)
      |                                                   ^~
In file included from ciolib.c:48:
ciolib.c: In function 'ciolib_delay':
/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev/genwrap.h:305:71: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration]
  305 |                                                                 while(nanosleep(&ts, &ts) != 0 && errno==EINTR && x > 1); })
      |                                                                       ^~~~~~~~~
ciolib.c:1280:9: note: in expansion of macro 'SLEEP'
 1280 |         SLEEP(a);
      |         ^~~~~
Compiling cterm.c
Compiling link_list.c
In file included from link_list.c:39:
link_list.c: In function 'listFree':
genwrap.h:305:71: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration]
  305 |                                                                 while(nanosleep(&ts, &ts) != 0 && errno==EINTR && x > 1); })
      |                                                                       ^~~~~~~~~
link_list.c:131:25: note: in expansion of macro 'SLEEP'
  131 |                         SLEEP(1);
      |                         ^~~~~
link_list.c: In function 'listAddNodeString':
link_list.c:640:17: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
  640 |         if((buf=strdup(str))==NULL)
      |                 ^~~~~~
      |                 strupr
link_list.c:640:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  640 |         if((buf=strdup(str))==NULL)
      |                ^
Compiling vidmodes.c
cterm.c: In function 'parse_parameters':
cterm.c:1334:15: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
 1334 |         dup = strdup(seq->param_str);
      |               ^~~~~~
      |               strupr
cterm.c:1334:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1334 |         dup = strdup(seq->param_str);
      |             ^
cterm.c: In function 'save_extended_colour_seq':
cterm.c:2051:25: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
 2051 |                         asprintf(str, "%s", seq->param[seqoff]);
      |                         ^~~~~~~~
      |                         vsprintf
In file included from cterm.c:71:
cterm.c: In function 'do_ansi':
cterm.c:3942:120: warning: passing argument 2 of 'ciolib_replace_font' makes pointer from integer without a cast [-Wint-conversion]
 3942 |                                                                                         replace_font(cterm->font_slot, strdup("Remote Defined Font"), p2, i);
      |                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                        |
      |                                                                                                                        int
ciolib.h:550:63: note: in definition of macro 'replace_font'
  550 |         #define replace_font(a,b,c,d)   ciolib_replace_font(a,b,c,d)
      |                                                               ^
ciolib.h:465:68: note: expected 'char *' but argument is of type 'int'
  465 | CIOLIBEXPORT void CIOLIBCALL ciolib_replace_font(uint8_t id, char *name, void *data, size_t size);
      |                                                              ~~~~~~^~~~
cterm.c: In function 'cterm_write':
cterm.c:4865:96: warning: passing argument 2 of 'ciolib_replace_font' makes pointer from integer without a cast [-Wint-conversion]
 4865 |                                                                 replace_font(cterm->font_slot, strdup("Remote Defined Font"), buf2, cterm->font_size);
      |                                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                |
      |                                                                                                int
ciolib.h:550:63: note: in definition of macro 'replace_font'
  550 |         #define replace_font(a,b,c,d)   ciolib_replace_font(a,b,c,d)
      |                                                               ^
ciolib.h:465:68: note: expected 'char *' but argument is of type 'int'
  465 | CIOLIBEXPORT void CIOLIBCALL ciolib_replace_font(uint8_t id, char *name, void *data, size_t size);
      |                                                              ~~~~~~^~~~
Compiling msg_queue.c
Compiling multisock.c
multisock.c: In function 'xpms_add':
multisock.c:117:65: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
  117 |                 xpms_set->socks[xpms_set->sock_count].address = strdup(addr);
      |                                                                 ^~~~~~
      |                                                                 strcmp
multisock.c:117:63: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  117 |                 xpms_set->socks[xpms_set->sock_count].address = strdup(addr);
      |                                                               ^
multisock.c:123:60: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  123 |                 xpms_set->socks[xpms_set->sock_count].prot = strdup(prot);
      |                                                            ^
multisock.c: In function 'xpms_add_list':
multisock.c:191:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  191 |                 host=strdup(*iface);
      |                     ^
Compiling uifcx.c
uifcx.c: In function 'getstr':
uifcx.c:149:22: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration]
  149 |         istty=isatty(fileno(stdin));
      |                      ^~~~~~
In file included from uifcx.c:36:
uifcx.c: In function 'ulist':
/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev/genwrap.h:243:49: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  243 |                 #define stricmp                 strcasecmp
      |                                                 ^~~~~~~~~~
uifcx.c:223:24: note: in expansion of macro 'stricmp'
  223 |         if(opts==2 && !stricmp(option[0],"Yes") && !stricmp(option[1],"No")) {
      |                        ^~~~~~~
uifcx.c: In function 'umsgf':
uifcx.c:380:9: warning: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
  380 |         vasprintf(&buf, fmt, va);
      |         ^~~~~~~~~
      |         vsprintf
Compiling semwrap.c
Compiling allfonts.c
Compiling netwrap.c
In file included from netwrap.c:39:
netwrap.c: In function 'getNameServerList':
genwrap.h:244:49: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  244 |                 #define strnicmp                strncasecmp
      |                                                 ^~~~~~~~~~~
netwrap.c:66:28: note: in expansion of macro 'strnicmp'
   66 |                         if(strnicmp(p,"nameserver",10)!=0) /* no match */
      |                            ^~~~~~~~
Creating gcc.sunos.lib.release/libuifc_mt.a ...
gmake[1]: Leaving directory '/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/uifc'
Compiling mouse.c
Compiling sockwrap.c
In file included from sockwrap.c:48:
sockwrap.c: In function 'getSocketOptionByName':
genwrap.h:243:49: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  243 |                 #define stricmp                 strcasecmp
      |                                                 ^~~~~~~~~~
sockwrap.c:157:20: note: in expansion of macro 'stricmp'
  157 |                 if(stricmp(name,socket_options[i].name)==0) {
      |                    ^~~~~~~
sockwrap.c: In function 'sendfilesocket':
genwrap.h:305:71: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration]
  305 |                                                                 while(nanosleep(&ts, &ts) != 0 && errno==EINTR && x > 1); })
      |                                                                       ^~~~~~~~~
sockwrap.c:219:33: note: in expansion of macro 'SLEEP'
  219 |                                 SLEEP(1);
      |                                 ^~~~~
Compiling semfile.c
Compiling str_list.c
In file included from str_list.c:40:
str_list.c: In function 'strListFind':
genwrap.h:243:49: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]
  243 |                 #define stricmp                 strcasecmp
      |                                                 ^~~~~~~~~~
str_list.c:96:28: note: in expansion of macro 'stricmp'
   96 |                         if(stricmp(list[i],str) == 0)
      |                            ^~~~~~~
str_list.c: In function 'strListModifyEach':
str_list.c:216:23: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
  216 |                 str = strdup(str);
      |                       ^~~~~~
      |                       strupr
str_list.c:216:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  216 |                 str = strdup(str);
      |                     ^
str_list.c: In function 'strListAppend':
str_list.c:256:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  256 |         if((buf=strdup(str))==NULL)
      |                ^
str_list.c: In function 'strListAppendFormat':
str_list.c:289:15: warning: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
  289 |         len = vasprintf(&buf, format, va);
      |               ^~~~~~~~~
      |               vsprintf
str_list.c: In function 'strListInsert':
str_list.c:310:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  310 |         if((buf=strdup(str))==NULL)
      |                ^
str_list.c: In function 'strListSplitCopy':
str_list.c:388:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  388 |         if((buf=strdup(str))==NULL)
      |                ^
Compiling syncicon64.c
In file included from mouse.c:37:
mouse.c: In function 'ciomouse_gotevent':
/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev/genwrap.h:305:71: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration]
  305 |                                                                 while(nanosleep(&ts, &ts) != 0 && errno==EINTR && x > 1); })
      |                                                                       ^~~~~~~~~
mouse.c:149:17: note: in expansion of macro 'SLEEP'
  149 |                 SLEEP(1);
      |                 ^~~~~
Compiling utf8_codepages.c
Compiling strwrap.c
Compiling threadwrap.c
Compiling curs_cio.c
Compiling unicode.c
Compiling sdl_con.c
Compiling sdlfuncs.c
Compiling xp_dl.c
Compiling xpbeep.c
xpbeep.c: In function 'unix_beep':
xpbeep.c:1195:43: error: 'KIOCSOUND' undeclared (first use in this function)
 1195 |                         ioctl(console_fd, KIOCSOUND, (int) (1193180 / freq));
      |                                           ^~~~~~~~~
xpbeep.c:1195:43: note: each undeclared identifier is reported only once for each function it appears in
In file included from xpbeep.c:64:
genwrap.h:305:71: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration]
  305 |                                                                 while(nanosleep(&ts, &ts) != 0 && errno==EINTR && x > 1); })
      |                                                                       ^~~~~~~~~
xpbeep.c:1197:17: note: in expansion of macro 'SLEEP'
 1197 |                 SLEEP(dur);
      |                 ^~~~~
gmake[1]: *** [/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/build/Common.gmake:455: gcc.sunos.obj.release-mt/xpbeep.o] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev'
gmake: *** [/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/build/Common.gmake:487: xpdev-mt] Error 2
gmake: *** Waiting for unfinished jobs....
Compiling bitmap_con.c
In file included from /usr/include/sys/types.h:672,
                 from /usr/include/sys/time.h:105,
                 from curs_cio.c:36:
curs_cio.c: In function 'curs_kbhit':
curs_cio.c:790:16: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration]
  790 |         FD_SET(fileno(stdin),&rfds);
      |                ^~~~~~
curs_cio.c: In function 'curs_initciolib':
curs_cio.c:842:27: warning: implicit declaration of function 'strcasestr'; did you mean 'SDL_strcasestr'? [-Wimplicit-function-declaration]
  842 |                 else if (!strcasestr(p, "UTF"))
      |                           ^~~~~~~~~~
      |                           SDL_strcasestr
sdl_con.c: In function 'sdl_user_func':
sdl_con.c:213:51: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
  213 |                                 if((ev.user.data1=strdup(va_arg(argptr, char *)))==NULL) {
      |                                                   ^~~~~~
      |                                                   strupr
sdl_con.c:213:50: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  213 |                                 if((ev.user.data1=strdup(va_arg(argptr, char *)))==NULL) {
      |                                                  ^
In file included from sdl_con.c:7:
/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev/genwrap.h:305:71: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration]
  305 |                                                                 while(nanosleep(&ts, &ts) != 0 && errno==EINTR && x > 1); })
      |                                                                       ^~~~~~~~~
/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev/genwrap.h:308:41: note: in expansion of macro 'SLEEP'
  308 |         #define YIELD()                 SLEEP(1)
      |                                         ^~~~~
sdl_con.c:232:25: note: in expansion of macro 'YIELD'
  232 |                         YIELD();
      |                         ^~~~~
sdl_con.c: In function 'sdl_getcliptext':
sdl_con.c:294:21: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  294 |         char *ret = strdup((char *)u8);
      |                     ^~~~~~
In file included from bitmap_con.c:11:
bitmap_con.c: In function 'blinker_thread':
/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/xpdev/genwrap.h:305:71: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration]
  305 |                                                                 while(nanosleep(&ts, &ts) != 0 && errno==EINTR && x > 1); })
      |                                                                       ^~~~~~~~~
bitmap_con.c:619:25: note: in expansion of macro 'SLEEP'
  619 |                         SLEEP(10);
      |                         ^~~~~
Creating gcc.sunos.lib.release/libciolib_mt.a ...
gmake[1]: Leaving directory '/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/conio'
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/syncterm
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/syncterm