+ 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/icon-9.4.3nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/icon-9.4.3nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for icon-9.4.3nb1
/usr/bin/mkdir -p /home/pbulk/build/lang/icon/work/icon.v943src/lib/icon
cd src/common;		/opt/pkg/bin/bmake
gcc -I/usr/openwin/include -o infer infer.c
./infer >../h/arch.h
gcc -I/usr/openwin/include -o doincl doincl.c
./doincl -o ../../bin/rt.h ../h/rt.h
gcc -I/usr/openwin/include -o patchstr patchstr.c
cp patchstr ../../bin
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c long.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c getopt.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c time.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c filepart.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c identify.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c strtbl.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c rtdb.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c munix.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c literals.c
gcc -c rswitch.c
rswitch.c: In function 'coswitch':
rswitch.c:65:7: warning: implicit declaration of function 'new_context' [-Wimplicit-function-declaration]
   65 |       new_context( 0, NULL );
      |       ^~~~~~~~~~~
rswitch.c:66:7: warning: implicit declaration of function 'syserr' [-Wimplicit-function-declaration]
   66 |       syserr( "interp() returned in coswitch" );
      |       ^~~~~~
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c alloc.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c xwindow.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c dlrgint.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c ipp.c
cd ../h; for f in *.h; do							 sed -e 's:../h/::g;s:../xpm/::g' $f > ../../lib/icon/$f;			 done
if [ "x-L../../lib/icon -lIgpx -L /usr/openwin/lib -Xlinker -R/usr/openwin/lib -lX11" != "x" ]; then /opt/pkg/bin/bmake xpm; fi
cd ../xpm; /opt/pkg/bin/bmake libXpm.a
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV data.c
data.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int]
  113 | xpmNextString(mdata)
      | ^~~~~~~~~~~~~
data.c:280:1: warning: return type defaults to 'int' [-Wimplicit-int]
  280 | xpmGetCmt(mdata, cmt)
      | ^~~~~~~~~
data.c:406:1: warning: return type defaults to 'int' [-Wimplicit-int]
  406 | XpmDataClose(mdata)
      | ^~~~~~~~~~~~
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV create.c
create.c:347:1: warning: return type defaults to 'int' [-Wimplicit-int]
  347 | xpmCreateImage(display, attrib, image_return, shapeimage_return, attributes)
      | ^~~~~~~~~~~~~~
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV misc.c
misc.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int]
   17 | xpmFreeColorTable(colorTable, ncolors)
      | ^~~~~~~~~~~~~~~~~
misc.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int]
   42 | xpmInitInternAttrib(attrib)
      | ^~~~~~~~~~~~~~~~~~~
misc.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int]
   58 | xpmFreeInternAttrib(attrib)
      | ^~~~~~~~~~~~~~~~~~~
misc.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int]
   83 | XpmFreeExtensions(extensions, nextensions)
      | ^~~~~~~~~~~~~~~~~
misc.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int]
  111 | XpmAttributesSize()
      | ^~~~~~~~~~~~~~~~~
misc.c:122:1: warning: return type defaults to 'int' [-Wimplicit-int]
  122 | XpmFreeAttributes(attributes)
      | ^~~~~~~~~~~~~~~~~
misc.c:170:1: warning: return type defaults to 'int' [-Wimplicit-int]
  170 | xpmSetAttributes(attrib, attributes)
      | ^~~~~~~~~~~~~~~~
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV rgb.c
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV scan.c
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV parse.c
parse.c: In function 'ParseValues':
parse.c:203:24: warning: implicit declaration of function 'atoui'; did you mean 'atoi'? [-Wimplicit-function-declaration]
  203 |             *hotspot = atoui(buf, l, x_hotspot) && xpmNextUI(data, y_hotspot);
      |                        ^~~~~
      |                        atoi
parse.c: In function 'ParseExtensions':
parse.c:447:14: warning: implicit declaration of function 'xpmGetString'; did you mean 'xpmNextString'? [-Wimplicit-function-declaration]
  447 |     status = xpmGetString(data, &string, &l);
      |              ^~~~~~~~~~~~
      |              xpmNextString
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV hashtable.c
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV XpmWrFFrP.c
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV XpmRdFToP.c
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV XpmCrPFData.c
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV XpmCrDataFP.c
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV XpmWrFFrI.c
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV XpmRdFToI.c
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV XpmCrIFData.c
gcc -c -I/usr/openwin/include -DZPIPE -DSYSV XpmCrDataFI.c
rm -f libXpm.a
ar qc libXpm.a data.o create.o misc.o rgb.o scan.o parse.o hashtable.o  XpmWrFFrP.o XpmRdFToP.o XpmCrPFData.o XpmCrDataFP.o  XpmWrFFrI.o XpmRdFToI.o XpmCrIFData.o XpmCrDataFI.o
ranlib libXpm.a 2>/dev/null || :
cp -p ../xpm/libXpm.a ../../lib/icon/libIgpx.a
cd ../xpm; for f in *.h; do							 sed -e 's:../h/::g;s:../xpm/::g' $f >	../../lib/icon/$f;			 done
cd src/rtt;		/opt/pkg/bin/bmake
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c rttparse.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c rttmain.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c rttlex.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c rttsym.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c rttnode.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c rttout.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c rttmisc.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c rttdb.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c rttinlin.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c rttilc.c
gcc -c -I/usr/openwin/include ../preproc/pout.c
gcc -c -I/usr/openwin/include ../preproc/pchars.c
gcc -c -I/usr/openwin/include ../preproc/perr.c
gcc -c -I/usr/openwin/include ../preproc/pmem.c
gcc -c -I/usr/openwin/include ../preproc/bldtok.c
gcc -c -I/usr/openwin/include ../preproc/macro.c
gcc -c -I/usr/openwin/include ../preproc/preproc.c
gcc -c -I/usr/openwin/include ../preproc/evaluate.c
gcc -c -I/usr/openwin/include ../preproc/files.c
gcc -c -I/usr/openwin/include ../preproc/gettok.c
gcc -c -I/usr/openwin/include ../preproc/pinit.c
gcc -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o rtt rttparse.o rttmain.o rttlex.o rttsym.o rttnode.o rttout.o rttmisc.o rttdb.o rttinlin.o rttilc.o pout.o pchars.o  perr.o pmem.o  bldtok.o macro.o preproc.o evaluate.o files.o gettok.o pinit.o ../common/getopt.o ../common/time.o ../common/filepart.o  ../common/identify.o ../common/strtbl.o ../common/alloc.o  ../common/rtdb.o ../common/munix.o ../common/literals.o
cp rtt ../../bin
cd src/icont;		/opt/pkg/bin/bmake
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c tunix.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c tglobals.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c util.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c trans.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c tcode.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c tlex.c
In file included from tlex.c:15:
../common/yylex.h: In function 'bufcmp':
../common/yylex.h:272:13: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  272 |    while (s != '\0' && s1 < lex_sbuf.endimage && *s == *s1) {
      |             ^~
../common/yylex.h:272:11: note: did you mean to dereference the pointer?
  272 |    while (s != '\0' && s1 < lex_sbuf.endimage && *s == *s1) {
      |           ^
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c lnklist.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c tparse.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c tsym.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c tmem.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c tree.c
gcc -I/usr/openwin/include -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o newhdr newhdr.c
gcc -I/usr/openwin/include -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o ixhdr.hdr  ixhdr.c ../common/alloc.o ../common/munix.o
./newhdr -o hdr.h ixhdr.hdr
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c link.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c lglob.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c lcode.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c llex.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c lmem.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c lsym.c
gcc -I/usr/openwin/include -I/usr/include -I/opt/pkg/include -c opcode.c
gcc -I/usr/openwin/include -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o icont tunix.o tglobals.o util.o trans.o tcode.o tlex.o lnklist.o tparse.o tsym.o tmem.o tree.o link.o lglob.o lcode.o llex.o lmem.o lsym.o opcode.o ../common/long.o ../common/getopt.o ../common/alloc.o  ../common/filepart.o ../common/strtbl.o ../common/ipp.o  ../common/munix.o
cp icont ../../bin
(cd ../../bin; rm -f icon; ln -s icont icon)
cd src/runtime;		/opt/pkg/bin/bmake
../../bin/rtt -x cnv.r
gcc -c -I/usr/openwin/include xcnv.c
rm xcnv.c
../../bin/rtt -x data.r
gcc -c -I/usr/openwin/include xdata.c
rm xdata.c
../../bin/rtt -x def.r
gcc -c -I/usr/openwin/include xdef.c
rm xdef.c
../../bin/rtt -x errmsg.r
gcc -c -I/usr/openwin/include xerrmsg.c
rm xerrmsg.c
../../bin/rtt -x extcall.r
gcc -c -I/usr/openwin/include xextcall.c
rm xextcall.c
../../bin/rtt -x fconv.r
gcc -c -I/usr/openwin/include xfconv.c
rm xfconv.c
../../bin/rtt -x fload.r
gcc -c -I/usr/openwin/include xfload.c
rm xfload.c
../../bin/rtt -x fmath.r
gcc -c -I/usr/openwin/include xfmath.c
rm xfmath.c
../../bin/rtt -x fmisc.r
gcc -c -I/usr/openwin/include xfmisc.c
rm xfmisc.c
../../bin/rtt -x fmonitr.r
gcc -c -I/usr/openwin/include xfmonitr.c
rm xfmonitr.c
../../bin/rtt -x fscan.r
gcc -c -I/usr/openwin/include xfscan.c
rm xfscan.c
../../bin/rtt -x fstr.r
gcc -c -I/usr/openwin/include xfstr.c
rm xfstr.c
../../bin/rtt -x fstranl.r
gcc -c -I/usr/openwin/include xfstranl.c
rm xfstranl.c
../../bin/rtt -x fstruct.r
gcc -c -I/usr/openwin/include xfstruct.c
rm xfstruct.c
../../bin/rtt -x fsys.r
gcc -c -I/usr/openwin/include xfsys.c
rm xfsys.c
../../bin/rtt -x fwindow.r
gcc -c -I/usr/openwin/include xfwindow.c
rm xfwindow.c
../../bin/rtt -x imain.r
gcc -c -I/usr/openwin/include ximain.c
rm ximain.c
../../bin/rtt -x imisc.r
gcc -c -I/usr/openwin/include ximisc.c
rm ximisc.c
../../bin/rtt -x init.r
gcc -c -I/usr/openwin/include xinit.c
rm xinit.c
../../bin/rtt -x interp.r
gcc -c -I/usr/openwin/include xinterp.c
rm xinterp.c
../../bin/rtt -x invoke.r
gcc -c -I/usr/openwin/include xinvoke.c
rm xinvoke.c
../../bin/rtt -x keyword.r
gcc -c -I/usr/openwin/include xkeyword.c
rm xkeyword.c
../../bin/rtt -x lmisc.r
gcc -c -I/usr/openwin/include xlmisc.c
rm xlmisc.c
../../bin/rtt -x oarith.r
gcc -c -I/usr/openwin/include xoarith.c
rm xoarith.c
../../bin/rtt -x oasgn.r
gcc -c -I/usr/openwin/include xoasgn.c
rm xoasgn.c
../../bin/rtt -x ocat.r
gcc -c -I/usr/openwin/include xocat.c
rm xocat.c
../../bin/rtt -x ocomp.r
gcc -c -I/usr/openwin/include xocomp.c
rm xocomp.c
../../bin/rtt -x omisc.r
gcc -c -I/usr/openwin/include xomisc.c
rm xomisc.c
../../bin/rtt -x oref.r
gcc -c -I/usr/openwin/include xoref.c
rm xoref.c
../../bin/rtt -x oset.r
gcc -c -I/usr/openwin/include xoset.c
rm xoset.c
../../bin/rtt -x ovalue.r
gcc -c -I/usr/openwin/include xovalue.c
rm xovalue.c
../../bin/rtt -x ralc.r
gcc -c -I/usr/openwin/include xralc.c
rm xralc.c
../../bin/rtt -x rcoexpr.r
gcc -c -I/usr/openwin/include xrcoexpr.c
rm xrcoexpr.c
../../bin/rtt -x rcomp.r
gcc -c -I/usr/openwin/include xrcomp.c
rm xrcomp.c
../../bin/rtt -x rdebug.r
gcc -c -I/usr/openwin/include xrdebug.c
rm xrdebug.c
../../bin/rtt -x rlrgint.r
gcc -c -I/usr/openwin/include xrlrgint.c
rm xrlrgint.c
../../bin/rtt -x rmemmgt.r
gcc -c -I/usr/openwin/include xrmemmgt.c
rm xrmemmgt.c
../../bin/rtt -x rmisc.r
gcc -c -I/usr/openwin/include xrmisc.c
rm xrmisc.c
../../bin/rtt -x rstruct.r
gcc -c -I/usr/openwin/include xrstruct.c
rm xrstruct.c
../../bin/rtt -x rsys.r
gcc -c -I/usr/openwin/include xrsys.c
rm xrsys.c
../../bin/rtt -x rwinrsc.r
gcc -c -I/usr/openwin/include xrwinrsc.c
rm xrwinrsc.c
../../bin/rtt -x rwinsys.r
gcc -c -I/usr/openwin/include xrwinsys.c
rm xrwinsys.c
../../bin/rtt -x rwindow.r
gcc -c -I/usr/openwin/include xrwindow.c
rm xrwindow.c
../../bin/rtt -x rcolor.r
gcc -c -I/usr/openwin/include xrcolor.c
rm xrcolor.c
../../bin/rtt -x rimage.r
gcc -c -I/usr/openwin/include xrimage.c
rm xrimage.c
cd ../common; /opt/pkg/bin/bmake
cd ../h; for f in *.h; do							 sed -e 's:../h/::g;s:../xpm/::g' $f > ../../lib/icon/$f;			 done
if [ "x-L../../lib/icon -lIgpx -L /usr/openwin/lib -Xlinker -R/usr/openwin/lib -lX11" != "x" ]; then /opt/pkg/bin/bmake xpm; fi
cd ../xpm; /opt/pkg/bin/bmake libXpm.a
`libXpm.a' is up to date.
cp -p ../xpm/libXpm.a ../../lib/icon/libIgpx.a
cd ../xpm; for f in *.h; do							 sed -e 's:../h/::g;s:../xpm/::g' $f >	../../lib/icon/$f;			 done
gcc  -o iconx  xcnv.o xdata.o xdef.o xerrmsg.o xextcall.o xfconv.o xfload.o xfmath.o xfmisc.o xfmonitr.o xfscan.o xfstr.o xfstranl.o xfstruct.o xfsys.o xfwindow.o ximain.o ximisc.o xinit.o xinterp.o xinvoke.o xkeyword.o xlmisc.o xoarith.o xoasgn.o xocat.o xocomp.o xomisc.o xoref.o xoset.o xovalue.o xralc.o xrcoexpr.o xrcomp.o xrdebug.o xrlrgint.o xrmemmgt.o xrmisc.o xrstruct.o xrsys.o xrwinrsc.o xrwinsys.o xrwindow.o xrcolor.o xrimage.o ../common/long.o ../common/time.o  ../common/rswitch.o ../common/xwindow.o  ../common/alloc.o ../common/filepart.o ../common/munix.o -L../../lib/icon -lIgpx -L /usr/openwin/lib -Xlinker -R/usr/openwin/lib -lX11 -lm -ldl 
ld: fatal: library -lX11: not found
ld: fatal: file processing errors. No output written to iconx
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
bmake[1]: stopped in /home/pbulk/build/lang/icon/work/icon.v943src/src/runtime
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/lang/icon/work/icon.v943src
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/icon
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/icon