+ 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/gopher-3.0.17/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gopher-3.0.17/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for gopher-3.0.17
Making Objects
(cd object; /opt/pkg/bin/gmake -j1 all)
gmake[1]: Entering directory '/home/pbulk/build/net/gopher/work/gopher-release-3.0.17/object'
Makefile:33: warning: ignoring prerequisites on suffix rule definition
touch shared
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c STRstring.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c GDgopherdir.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c GSgopherobj.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c DAarray.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c VIews.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c BLblock.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c Sockets.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c util.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c compatible.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c url.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c Debug.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c Regex.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c fileio.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -DLOCALEDIR=\"/etc/opt/pkg/gopher/gophernls\" -c ./Locale.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses     -I.. -I.  -I..   -c RBTree.c
rm -f libgopher.a
ar rcv libgopher.a STRstring.o GDgopherdir.o GSgopherobj.o DAarray.o   VIews.o       BLblock.o Sockets.o   util.o        compatible.o url.o       Debug.o       Regex.o fileio.o    Locale.o      RBTree.o
ar: writing libgopher.a
a - STRstring.o
a - GDgopherdir.o
a - GSgopherobj.o
a - DAarray.o
a - VIews.o
a - BLblock.o
a - Sockets.o
a - util.o
a - compatible.o
a - url.o
a - Debug.o
a - Regex.o
a - fileio.o
a - Locale.o
a - RBTree.o
ranlib libgopher.a || true
gmake[1]: Leaving directory '/home/pbulk/build/net/gopher/work/gopher-release-3.0.17/object'
Making client
(cd gopher; /opt/pkg/bin/gmake -j1 all)
gmake[1]: Entering directory '/home/pbulk/build/net/gopher/work/gopher-release-3.0.17/gopher'
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c manager.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c gopher.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c globals.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c ourutils.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c cso.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c subprocs.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c html2.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c CURcurses.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c gopherrc.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c download.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c pager.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c form.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses  -I.. -I.. -I../object  -DNOBANNER -DCTRLCPROMPTS -DCONTROLX   -DGOPHERLIB=\"/etc/opt/pkg/gopher\" -DGOPHERHELP=\"/etc/opt/pkg/gopher/gopher.hlp\" -DGLOBALRC=\"/etc/opt/pkg/gopher/gopher.rc\" -DREMOTERC=\"/etc/opt/pkg/gopher/gopherremote.rc\" -c upload.c
gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L../object -L../object -o gopher manager.o gopher.o globals.o ourutils.o cso.o subprocs.o html2.o CURcurses.o gopherrc.o download.o pager.o form.o upload.o  ../object/libgopher.a  -ltermcap  -ltermcap -lmalloc -lsocket -lnsl -lm 
Undefined			first referenced
 symbol  			    in file
nl                                  CURcurses.o
COLS                                manager.o
beep                                CURcurses.o
echo                                CURcurses.o
nonl                                CURcurses.o
initscr                             CURcurses.o
LINES                               manager.o
wmove                               manager.o
wclrtoeol                           manager.o
nodelay                             CURcurses.o
cbreak                              ourutils.o
delwin                              CURcurses.o
curscr                              CURcurses.o
endwin                              CURcurses.o
keypad                              CURcurses.o
newwin                              CURcurses.o
noecho                              ourutils.o
printw                              manager.o
acs_map                             CURcurses.o
stdscr                              manager.o
waddnstr                            manager.o
waddch                              manager.o
wclear                              manager.o
wgetch                              CURcurses.o
wattr_on                            pager.o
wattrset                            manager.o
wrefresh                            manager.o
clearok                             pager.o
wtouchln                            CURcurses.o
intrflush                           CURcurses.o
wattr_off                           pager.o
getcurx                             CURcurses.o
getcury                             CURcurses.o
getmaxy                             CURcurses.o
wprintw                             CURcurses.o
ld: fatal: symbol referencing errors. No output written to gopher
collect2: error: ld returned 1 exit status
gmake[1]: *** [Makefile:152: gopher] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/net/gopher/work/gopher-release-3.0.17/gopher'
gmake: *** [Makefile:154: gopher/gopher] Error 2
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/gopher