+ 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/xchrono-19900813nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xchrono-19900813nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xchrono-19900813nb2
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM   -I/opt/pkg/include -I.  -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64       -I/opt/pkg/include -c xchrono.c
xchrono.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int]
  205 | Syntax(call)
      | ^~~~~~
xchrono.c: In function 'main':
xchrono.c:286:52: warning: implicit declaration of function 'getenv' [-Wimplicit-function-declaration]
  286 |         clockArgs[TIMEZONE_ARG].value = (XtArgVal) getenv("TZ");
      |                                                    ^~~~~~
xchrono.c:44:1: note: 'getenv' is defined in header '<stdlib.h>'; did you forget to '#include <stdlib.h>'?
   43 | #include "clmask.bit"
  +++ |+#include <stdlib.h>
   44 | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -DNO_ASM   -I/opt/pkg/include -I.  -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64       -I/opt/pkg/include -c MultiClock.c
MultiClock.c:39:8: warning: type defaults to 'int' in declaration of 'erase_hands' [-Wimplicit-int]
   39 | static erase_hands(), xchrono_round();
      |        ^~~~~~~~~~~
MultiClock.c:39:23: warning: type defaults to 'int' in declaration of 'xchrono_round' [-Wimplicit-int]
   39 | static erase_hands(), xchrono_round();
      |                       ^~~~~~~~~~~~~
MultiClock.c:123:41: warning: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  123 |     /* xrm_class                */      NULL,
      |                                         ^~~~
MultiClock.c:123:41: note: (near initialization for 'clockClassRec.core_class.xrm_class')
MultiClock.c: In function 'SetClockUpdateInterval':
MultiClock.c:213:6: warning: type of 'interval' defaults to 'int' [-Wimplicit-int]
  213 | void SetClockUpdateInterval (interval)
      |      ^~~~~~~~~~~~~~~~~~~~~~
MultiClock.c: In function 'updateClocks':
MultiClock.c:426:13: warning: implicit declaration of function 'putenv'; did you mean 'getenv'? [-Wimplicit-function-declaration]
  426 |             putenv (tzEnviron);
      |             ^~~~~~
      |             getenv
MultiClock.c:441:8: warning: implicit declaration of function 'tzsetwall' [-Wimplicit-function-declaration]
  441 |   else tzsetwall();
      |        ^~~~~~~~~
MultiClock.c: At top level:
MultiClock.c:617:8: warning: return type defaults to 'int' [-Wimplicit-int]
  617 | static erase_hands (w, tm)
      |        ^~~~~~~~~~~
rm -f xchrono
LD_RUN_PATH=/opt/pkg/lib gcc -o xchrono -L /opt/pkg/lib xchrono.o MultiClock.o -lXaw -lXmu -lXt -lX11   -lm -lsocket -lnsl  -R/opt/pkg/lib -z lazyload -z combreloc -Wl,-M,/usr/lib/ld/map.pagealign -Wl,-M,/usr/lib/ld/map.noexdata
Undefined			first referenced
 symbol  			    in file
tzsetwall                           MultiClock.o
ld: fatal: symbol referencing errors. No output written to xchrono
collect2: error: ld returned 1 exit status
*** [xchrono] Error code 1

bmake: stopped in /home/pbulk/build/time/xchrono/work/xchrono
1 error

bmake: stopped in /home/pbulk/build/time/xchrono/work/xchrono
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/time/xchrono