+ 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.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/syncterm-1.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for syncterm-1.1nb1
/usr/bin/bash: pkg-config: command not found
/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'
/usr/bin/bash: pkg-config: command not found
Compiling conwrap.c
conwrap.c: In function '_sighandler_stop':
conwrap.c:74:2: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration]
   74 |  kill(getpid(), SIGSTOP);
      |  ^~~~
Compiling dat_file.c
dat_file.c: In function 'csvLineParser':
dat_file.c:127:10: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
  127 |  if((buf=strdup(line))==NULL) {
      |          ^~~~~~
      |          strupr
dat_file.c:127:9: 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:9: 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:12: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration]
  230 |  if(chsize(fileno(fp),0)!=0) /* truncate */
      |            ^~~~~~
filewrap.h:131:37: note: in definition of macro 'chsize'
  131 |  #define chsize(fd,size)  ftruncate(fd,size)
      |                                     ^~
Compiling datewrap.c
datewrap.c: In function 'sane_timegm':
datewrap.c:76:9: 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:21: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  243 |   #define stricmp   strcasecmp
      |                     ^~~~~~~~~~
dirwrap.c:1092:9: note: in expansion of macro 'stricmp'
 1092 |  return(stricmp(filename,FULLPATH(path,filename,sizeof(path)))==0);
      |         ^~~~~~~
dirwrap.c: In function 'wildmatchi':
dirwrap.c:1171:9: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
 1171 |  if((s1=strdup(fname))==NULL)
      |         ^~~~~~
      |         strupr
dirwrap.c:1171:8: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1171 |  if((s1=strdup(fname))==NULL)
      |        ^
dirwrap.c:1173:8: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1173 |  if((s2=strdup(spec))==NULL) {
      |        ^
Compiling filewrap.c
filewrap.c: In function 'lock':
filewrap.c:130:6: 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:9: warning: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration]
  441 |  return(fdopen(file,pszMode));
      |         ^~~~~~
      |         fopen
filewrap.c:441:9: 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:23: 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:22: 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:3: 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:8: 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:9: 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:9: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration]
  832 |  return(kill(pid,0)==0);
      |         ^~~~
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:21: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]
  243 |   #define stricmp   strcasecmp
      |                     ^~~~~~~~~~
ini_file.c:77:22: 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:21: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  244 |   #define strnicmp  strncasecmp
      |                     ^~~~~~~~~~~
ini_file.c:1103:7: note: in expansion of macro 'strnicmp'
 1103 |    if(strnicmp(p,prefix,strlen(prefix))!=0)
      |       ^~~~~~~~
ini_file.c: In function 'iniReadNamedStringList':
ini_file.c:1294:23: 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:22: 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:23: 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:22: 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:23: 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:9: 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:10: 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:11: 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:12: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration]
 2393 |  if(chsize(fileno(fp), pos)!=0) /* truncate */
      |            ^~~~~~
filewrap.h:131:37: note: in definition of macro 'chsize'
  131 |  #define chsize(fd,size)  ftruncate(fd,size)
      |                                     ^~
Compiling link_list.c
In file included from link_list.c:39:
link_list.c: In function 'listFree':
genwrap.h:305:15: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration]
  305 |         while(nanosleep(&ts, &ts) != 0 && errno==EINTR && x > 1); })
      |               ^~~~~~~~~
link_list.c:131:4: note: in expansion of macro 'SLEEP'
  131 |    SLEEP(1);
      |    ^~~~~
link_list.c: In function 'listAddNodeString':
link_list.c:640:10: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
  640 |  if((buf=strdup(str))==NULL)
      |          ^~~~~~
      |          strupr
link_list.c:640:9: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  640 |  if((buf=strdup(str))==NULL)
      |         ^
Compiling msg_queue.c
Compiling multisock.c
multisock.c: In function 'xpms_add':
multisock.c:117:51: 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:49: 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:46: 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:7: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  191 |   host=strdup(*iface);
      |       ^
Compiling semwrap.c
Compiling netwrap.c
In file included from netwrap.c:39:
netwrap.c: In function 'getNameServerList':
genwrap.h:244:21: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  244 |   #define strnicmp  strncasecmp
      |                     ^~~~~~~~~~~
netwrap.c:66:7: note: in expansion of macro 'strnicmp'
   66 |    if(strnicmp(p,"nameserver",10)!=0) /* no match */
      |       ^~~~~~~~
Compiling sockwrap.c
In file included from sockwrap.c:48:
sockwrap.c: In function 'getSocketOptionByName':
genwrap.h:243:21: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  243 |   #define stricmp   strcasecmp
      |                     ^~~~~~~~~~
sockwrap.c:157:6: note: in expansion of macro 'stricmp'
  157 |   if(stricmp(name,socket_options[i].name)==0) {
      |      ^~~~~~~
sockwrap.c: In function 'sendfilesocket':
genwrap.h:305:15: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration]
  305 |         while(nanosleep(&ts, &ts) != 0 && errno==EINTR && x > 1); })
      |               ^~~~~~~~~
sockwrap.c:219:5: 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:21: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]
  243 |   #define stricmp   strcasecmp
      |                     ^~~~~~~~~~
str_list.c:96:7: note: in expansion of macro 'stricmp'
   96 |    if(stricmp(list[i],str) == 0)
      |       ^~~~~~~
str_list.c: In function 'strListModifyEach':
str_list.c:216:9: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration]
  216 |   str = strdup(str);
      |         ^~~~~~
      |         strupr
str_list.c:216:7: 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:9: 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:8: 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:9: 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:9: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  388 |  if((buf=strdup(str))==NULL)
      |         ^
Compiling strwrap.c
Compiling threadwrap.c
Compiling unicode.c
Compiling xp_dl.c
Compiling xpbeep.c
xpbeep.c: In function 'unix_beep':
xpbeep.c:1195:22: error: 'KIOCSOUND' undeclared (first use in this function)
 1195 |    ioctl(console_fd, KIOCSOUND, (int) (1193180 / freq));
      |                      ^~~~~~~~~
xpbeep.c:1195:22: note: each undeclared identifier is reported only once for each function it appears in
In file included from xpbeep.c:64:
genwrap.h:305:15: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration]
  305 |         while(nanosleep(&ts, &ts) != 0 && errno==EINTR && x > 1); })
      |               ^~~~~~~~~
xpbeep.c:1197:3: note: in expansion of macro 'SLEEP'
 1197 |   SLEEP(dur);
      |   ^~~~~
gmake[1]: *** [/home/pbulk/build/comms/syncterm/work/syncterm-1.1/src/build/Common.gmake:456: 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
*** Error code 2

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

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