+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/icon-9.4.3nb1/work.log
+ su pbulk -c '"$@"' make /usr/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
/bin/mkdir -p /home/pbulk/build/lang/icon/work/icon.v943src/lib/icon
cd src/common;		/usr/pkg/bin/bmake
gcc -O -o infer infer.c
./infer >../h/arch.h
gcc -O -o doincl doincl.c
./doincl -o ../../bin/rt.h ../h/rt.h
gcc -O -o patchstr patchstr.c
cp patchstr ../../bin
gcc -O -I/usr/pkg/include -c long.c
gcc -O -I/usr/pkg/include -c getopt.c
gcc -O -I/usr/pkg/include -c time.c
gcc -O -I/usr/pkg/include -c filepart.c
gcc -O -I/usr/pkg/include -c identify.c
gcc -O -I/usr/pkg/include -c strtbl.c
gcc -O -I/usr/pkg/include -c rtdb.c
gcc -O -I/usr/pkg/include -c munix.c
gcc -O -I/usr/pkg/include -c literals.c
gcc -c rswitch.c
In file included from /usr/include/fcntl.h:25,
                 from rswitch.c:15:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
gcc -O -I/usr/pkg/include -c alloc.c
gcc -O -I/usr/pkg/include -c xwindow.c
gcc -O -I/usr/pkg/include -c dlrgint.c
gcc -O -I/usr/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/X11R6/lib64 -L/usr/X11R6/lib -lX11" != "x" ]; then /usr/pkg/bin/bmake xpm; fi
cd ../xpm; /usr/pkg/bin/bmake libXpm.a
gcc -c -O -DZPIPE data.c
data.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int]
 xpmNextString(mdata)
 ^~~~~~~~~~~~~
data.c:280:1: warning: return type defaults to 'int' [-Wimplicit-int]
 xpmGetCmt(mdata, cmt)
 ^~~~~~~~~
data.c:406:1: warning: return type defaults to 'int' [-Wimplicit-int]
 XpmDataClose(mdata)
 ^~~~~~~~~~~~
gcc -c -O -DZPIPE create.c
create.c:347:1: warning: return type defaults to 'int' [-Wimplicit-int]
 xpmCreateImage(display, attrib, image_return, shapeimage_return, attributes)
 ^~~~~~~~~~~~~~
gcc -c -O -DZPIPE misc.c
misc.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int]
 xpmFreeColorTable(colorTable, ncolors)
 ^~~~~~~~~~~~~~~~~
misc.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int]
 xpmInitInternAttrib(attrib)
 ^~~~~~~~~~~~~~~~~~~
misc.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int]
 xpmFreeInternAttrib(attrib)
 ^~~~~~~~~~~~~~~~~~~
misc.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int]
 XpmFreeExtensions(extensions, nextensions)
 ^~~~~~~~~~~~~~~~~
misc.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int]
 XpmAttributesSize()
 ^~~~~~~~~~~~~~~~~
misc.c:122:1: warning: return type defaults to 'int' [-Wimplicit-int]
 XpmFreeAttributes(attributes)
 ^~~~~~~~~~~~~~~~~
misc.c:170:1: warning: return type defaults to 'int' [-Wimplicit-int]
 xpmSetAttributes(attrib, attributes)
 ^~~~~~~~~~~~~~~~
gcc -c -O -DZPIPE rgb.c
gcc -c -O -DZPIPE scan.c
gcc -c -O -DZPIPE parse.c
parse.c: In function 'ParseValues':
parse.c:203:17: warning: implicit declaration of function 'atoui'; did you mean 'atoi'? [-Wimplicit-function-declaration]
      *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]
     status = xpmGetString(data, &string, &l);
              ^~~~~~~~~~~~
              xpmNextString
gcc -c -O -DZPIPE hashtable.c
gcc -c -O -DZPIPE XpmWrFFrP.c
gcc -c -O -DZPIPE XpmRdFToP.c
gcc -c -O -DZPIPE XpmCrPFData.c
gcc -c -O -DZPIPE XpmCrDataFP.c
gcc -c -O -DZPIPE XpmWrFFrI.c
gcc -c -O -DZPIPE XpmRdFToI.c
gcc -c -O -DZPIPE XpmCrIFData.c
gcc -c -O -DZPIPE 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;		/usr/pkg/bin/bmake
gcc -O -I/usr/pkg/include -c rttparse.c
gcc -O -I/usr/pkg/include -c rttmain.c
gcc -O -I/usr/pkg/include -c rttlex.c
gcc -O -I/usr/pkg/include -c rttsym.c
gcc -O -I/usr/pkg/include -c rttnode.c
gcc -O -I/usr/pkg/include -c rttout.c
gcc -O -I/usr/pkg/include -c rttmisc.c
gcc -O -I/usr/pkg/include -c rttdb.c
gcc -O -I/usr/pkg/include -c rttinlin.c
gcc -O -I/usr/pkg/include -c rttilc.c
gcc -c -O ../preproc/pout.c
gcc -c -O ../preproc/pchars.c
gcc -c -O ../preproc/perr.c
gcc -c -O ../preproc/pmem.c
gcc -c -O ../preproc/bldtok.c
gcc -c -O ../preproc/macro.c
gcc -c -O ../preproc/preproc.c
gcc -c -O ../preproc/evaluate.c
gcc -c -O ../preproc/files.c
gcc -c -O ../preproc/gettok.c
gcc -c -O ../preproc/pinit.c
gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/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;		/usr/pkg/bin/bmake
gcc -O -I/usr/pkg/include -c tunix.c
tunix.c: In function 'execute':
tunix.c:253:10: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
          dup(fileno(stdout));
          ^~~~~~~~~~~~~~~~~~~
gcc -O -I/usr/pkg/include -c tglobals.c
gcc -O -I/usr/pkg/include -c util.c
gcc -O -I/usr/pkg/include -c trans.c
gcc -O -I/usr/pkg/include -c tcode.c
gcc -O -I/usr/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]
    while (s != '\0' && s1 < lex_sbuf.endimage && *s == *s1) {
             ^~
../common/yylex.h:272:11: note: did you mean to dereference the pointer?
    while (s != '\0' && s1 < lex_sbuf.endimage && *s == *s1) {
           ^
gcc -O -I/usr/pkg/include -c lnklist.c
gcc -O -I/usr/pkg/include -c tparse.c
gcc -O -I/usr/pkg/include -c tsym.c
gcc -O -I/usr/pkg/include -c tmem.c
gcc -O -I/usr/pkg/include -c tree.c
gcc -O -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o newhdr newhdr.c
gcc -O -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o ixhdr.hdr  ixhdr.c ../common/alloc.o ../common/munix.o
./newhdr -o hdr.h ixhdr.hdr
gcc -O -I/usr/pkg/include -c link.c
gcc -O -I/usr/pkg/include -c lglob.c
gcc -O -I/usr/pkg/include -c lcode.c
gcc -O -I/usr/pkg/include -c llex.c
gcc -O -I/usr/pkg/include -c lmem.c
gcc -O -I/usr/pkg/include -c lsym.c
gcc -O -I/usr/pkg/include -c opcode.c
gcc -O -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/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;		/usr/pkg/bin/bmake
../../bin/rtt -x cnv.r
gcc -c -O xcnv.c
rm xcnv.c
../../bin/rtt -x data.r
gcc -c -O xdata.c
rm xdata.c
../../bin/rtt -x def.r
gcc -c -O xdef.c
rm xdef.c
../../bin/rtt -x errmsg.r
gcc -c -O xerrmsg.c
rm xerrmsg.c
../../bin/rtt -x extcall.r
gcc -c -O xextcall.c
rm xextcall.c
../../bin/rtt -x fconv.r
gcc -c -O xfconv.c
rm xfconv.c
../../bin/rtt -x fload.r
gcc -c -O xfload.c
rm xfload.c
../../bin/rtt -x fmath.r
gcc -c -O xfmath.c
rm xfmath.c
../../bin/rtt -x fmisc.r
gcc -c -O xfmisc.c
rm xfmisc.c
../../bin/rtt -x fmonitr.r
gcc -c -O xfmonitr.c
rm xfmonitr.c
../../bin/rtt -x fscan.r
gcc -c -O xfscan.c
rm xfscan.c
../../bin/rtt -x fstr.r
gcc -c -O xfstr.c
rm xfstr.c
../../bin/rtt -x fstranl.r
gcc -c -O xfstranl.c
rm xfstranl.c
../../bin/rtt -x fstruct.r
gcc -c -O xfstruct.c
rm xfstruct.c
../../bin/rtt -x fsys.r
gcc -c -O xfsys.c
rm xfsys.c
../../bin/rtt -x fwindow.r
gcc -c -O xfwindow.c
rm xfwindow.c
../../bin/rtt -x imain.r
gcc -c -O ximain.c
rm ximain.c
../../bin/rtt -x imisc.r
gcc -c -O ximisc.c
rm ximisc.c
../../bin/rtt -x init.r
gcc -c -O xinit.c
rm xinit.c
../../bin/rtt -x interp.r
gcc -c -O xinterp.c
rm xinterp.c
../../bin/rtt -x invoke.r
gcc -c -O xinvoke.c
rm xinvoke.c
../../bin/rtt -x keyword.r
gcc -c -O xkeyword.c
rm xkeyword.c
../../bin/rtt -x lmisc.r
gcc -c -O xlmisc.c
rm xlmisc.c
../../bin/rtt -x oarith.r
gcc -c -O xoarith.c
rm xoarith.c
../../bin/rtt -x oasgn.r
gcc -c -O xoasgn.c
rm xoasgn.c
../../bin/rtt -x ocat.r
gcc -c -O xocat.c
rm xocat.c
../../bin/rtt -x ocomp.r
gcc -c -O xocomp.c
rm xocomp.c
../../bin/rtt -x omisc.r
gcc -c -O xomisc.c
rm xomisc.c
../../bin/rtt -x oref.r
gcc -c -O xoref.c
rm xoref.c
../../bin/rtt -x oset.r
gcc -c -O xoset.c
rm xoset.c
../../bin/rtt -x ovalue.r
gcc -c -O xovalue.c
rm xovalue.c
../../bin/rtt -x ralc.r
gcc -c -O xralc.c
rm xralc.c
../../bin/rtt -x rcoexpr.r
gcc -c -O xrcoexpr.c
rm xrcoexpr.c
../../bin/rtt -x rcomp.r
gcc -c -O xrcomp.c
rm xrcomp.c
../../bin/rtt -x rdebug.r
gcc -c -O xrdebug.c
rm xrdebug.c
../../bin/rtt -x rlrgint.r
gcc -c -O xrlrgint.c
rm xrlrgint.c
../../bin/rtt -x rmemmgt.r
gcc -c -O xrmemmgt.c
rm xrmemmgt.c
../../bin/rtt -x rmisc.r
gcc -c -O xrmisc.c
rm xrmisc.c
../../bin/rtt -x rstruct.r
gcc -c -O xrstruct.c
rm xrstruct.c
../../bin/rtt -x rsys.r
gcc -c -O xrsys.c
rm xrsys.c
../../bin/rtt -x rwinrsc.r
gcc -c -O xrwinrsc.c
rm xrwinrsc.c
../../bin/rtt -x rwinsys.r
gcc -c -O xrwinsys.c
rm xrwinsys.c
../../bin/rtt -x rwindow.r
gcc -c -O xrwindow.c
rm xrwindow.c
../../bin/rtt -x rcolor.r
gcc -c -O xrcolor.c
rm xrcolor.c
../../bin/rtt -x rimage.r
gcc -c -O xrimage.c
rm xrimage.c
cd ../common; /usr/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/X11R6/lib64 -L/usr/X11R6/lib -lX11" != "x" ]; then /usr/pkg/bin/bmake xpm; fi
cd ../xpm; /usr/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 -Wl,-E -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/X11R6/lib64 -L/usr/X11R6/lib -lX11 -lm -ldl -lpthread
/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status
*** Error code 1

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

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

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/lang/icon
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/lang/icon