+ 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/trn-4.77nb6/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/trn-4.77nb6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for trn-4.77nb6
--- newsnews ---
--- addng.o ---
--- newsnews ---
/bin/sh /home/pbulk/build/news/trn/work/trn-4.0-test77/newsnews.SH
--- addng.o ---
cc -c -O addng.c
--- newsnews ---
Extracting newsnews (with version substitution)
--- art.o ---
cc -c -O art.c
--- artio.o ---
cc -c -O artio.c
--- artsrch.o ---
cc -c -O artsrch.c
--- autosub.o ---
cc -c -O autosub.c
--- backpage.o ---
cc -c -O backpage.c
--- bits.o ---
cc -c -O bits.c
--- cache.o ---
cc -c -O cache.c
--- charsubst.o ---
cc -c -O charsubst.c
--- color.o ---
cc -c -O color.c
--- datasrc.o ---
cc -c -O datasrc.c
--- decode.o ---
cc -c -O decode.c
--- edit_dist.o ---
cc -c -O edit_dist.c
--- env.o ---
cc -c -O env.c
--- filter.o ---
cc -c -O filter.c
--- env.o ---
env.c: In function 'setphostname':
env.c:230:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      fgets(tmpbuf,TCBUF_SIZE,fp);
           ^
--- final.o ---
cc -c -O final.c
--- hash.o ---
cc -c -O hash.c
--- head.o ---
cc -c -O head.c
--- help.o ---
cc -c -O help.c
--- init.o ---
cc -c -O init.c
--- intrp.o ---
cc -c -O intrp.c
--- kfile.o ---
cc -c -O kfile.c
--- intrp.o ---
intrp.c: In function 'dointerp':
intrp.c:441:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
       fgets(scrbuf, sizeof scrbuf, stdin);
            ^
--- last.o ---
cc -c -O last.c
--- list.o ---
cc -c -O list.c
--- last.o ---
last.c: In function 'readlast':
last.c:40:12: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
      fscanf(tmpfp,"%ld %ld %ld %ld",&lasttime,&lastactsiz,
            ^
--- mempool.o ---
cc -c -O mempool.c
--- mime.o ---
cc -c -O mime.c
--- ng.o ---
cc -c -O ng.c
--- ngdata.o ---
cc -c -O ngdata.c
--- ngsrch.o ---
cc -c -O ngsrch.c
--- ngstuff.o ---
cc -c -O ngstuff.c
--- nntpauth.o ---
cc -c -O nntpauth.c
--- nntp.o ---
cc -c -O nntp.c
--- nntpclient.o ---
cc -c -O nntpclient.c
--- nntp.o ---
nntp.c: In function 'nntp_read':
nntp.c:631:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
  fread(buf, 1, 5, nntplink.rd_fp);
       ^
--- nntpinit.o ---
cc -c -O  nntpinit.c
--- nntplist.o ---
cc -c -O nntplist.c
--- only.o ---
cc -c -O only.c
--- opt.o ---
cc -c -O opt.c
--- parsedate.o ---
yacc  parsedate.y
parsedate.y:108.25-32: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
  108 | %type	<Number>	tDAYZONE tMONTH tMONTH_UNIT tSEC_UNIT
      |                         ^~~~~~~~
parsedate.y:108.34-39: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
  108 | %type	<Number>	tDAYZONE tMONTH tMONTH_UNIT tSEC_UNIT
      |                                  ^~~~~~
parsedate.y:108.41-51: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
  108 | %type	<Number>	tDAYZONE tMONTH tMONTH_UNIT tSEC_UNIT
      |                                         ^~~~~~~~~~~
parsedate.y:108.53-61: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
  108 | %type	<Number>	tDAYZONE tMONTH tMONTH_UNIT tSEC_UNIT
      |                                                     ^~~~~~~~~
parsedate.y:109.25-32: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
  109 | %type	<Number>	tSNUMBER tUNUMBER tZONE numzone zone
      |                         ^~~~~~~~
parsedate.y:109.34-41: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
  109 | %type	<Number>	tSNUMBER tUNUMBER tZONE numzone zone
      |                                  ^~~~~~~~
parsedate.y:109.43-47: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
  109 | %type	<Number>	tSNUMBER tUNUMBER tZONE numzone zone
      |                                           ^~~~~
parsedate.y:110.25-33: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
  110 | %type	<Meridian>	tMERIDIAN o_merid
      |                         ^~~~~~~~~
parsedate.y: warning: 7 shift/reduce conflicts [-Wconflicts-sr]
parsedate.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
cc -O -I/usr/pkg/include/ncurses -c -o parsedate.o y.tab.c
rm -f y.tab.c
--- rcln.o ---
cc -c -O rcln.c
--- rcstuff.o ---
cc -c -O rcstuff.c
--- respond.o ---
cc -c -O respond.c
--- rthread.o ---
cc -c -O rthread.c
--- rt-mt.o ---
cc -c -O rt-mt.c
--- rt-ov.o ---
cc -c -O rt-ov.c
--- rt-page.o ---
cc -c -O rt-page.c
--- rt-process.o ---
cc -c -O rt-process.c
--- rt-select.o ---
cc -c -O rt-select.c
--- rt-util.o ---
cc -c -O rt-util.c
--- rt-wumpus.o ---
cc -c -O rt-wumpus.c
--- sacmd.o ---
cc -c -O sacmd.c
--- sadesc.o ---
cc -c -O sadesc.c
--- sadisp.o ---
cc -c -O sadisp.c
--- samain.o ---
cc -c -O samain.c
--- samisc.o ---
cc -c -O samisc.c
--- sathread.o ---
cc -c -O sathread.c
--- scanart.o ---
cc -c -O scanart.c
--- scan.o ---
cc -c -O scan.c
--- scmd.o ---
cc -c -O scmd.c
--- score.o ---
cc -c -O score.c
--- score-easy.o ---
cc -c -O score-easy.c
--- scorefile.o ---
cc -c -O scorefile.c
--- scoresave.o ---
cc -c -O scoresave.c
--- sdisp.o ---
cc -c -O sdisp.c
--- search.o ---
cc -c -O search.c
--- smisc.o ---
cc -c -O smisc.c
--- sorder.o ---
cc -c -O sorder.c
--- spage.o ---
cc -c -O spage.c
--- sw.o ---
cc -c -O sw.c
--- term.o ---
cc -c -O term.c
--- tkstuff.o ---
cc -c -O  tkstuff.c
--- tktree.o ---
cc -c -O  tktree.c
--- trn-artchk.o ---
cc -c -O trn-artchk.c
--- trn.o ---
cc -c -O trn.c
--- univ.o ---
cc -c -O univ.c
--- url.o ---
cc -c -O url.c
--- util2.o ---
cc -c -O util2.c
--- util3.o ---
cc -c -O util3.c
--- util.o ---
cc -c -O util.c
--- uudecode.o ---
cc -c -O uudecode.c
--- util.o ---
util.c: In function 'doshell':
util.c:227:5: error: incompatible type for argument 1 of 'wait'
     while ((w = wait(&status)) != pid)
     ^
In file included from util.c:23:0:
/usr/include/sys/wait.h:114:16: note: expected '__WAIT_STATUS' but argument is of type 'WAIT_STATUS *'
 extern __pid_t wait (__WAIT_STATUS __stat_loc);
                ^
*** [util.o] Error code 1

bmake: stopped in /home/pbulk/build/news/trn/work/trn-4.0-test77
1 error

bmake: stopped in /home/pbulk/build/news/trn/work/trn-4.0-test77
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/news/trn
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/news/trn