+ 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/docbook2mdoc-1.1.0/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/docbook2mdoc-1.1.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for docbook2mdoc-1.1.0
--- xmalloc.o ---
--- node.o ---
--- xmalloc.o ---
cc -pipe -O2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings  -c xmalloc.c
--- node.o ---
cc -pipe -O2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings  -c node.c
--- xmalloc.o ---
xmalloc.c: In function 'xreallocarray':
xmalloc.c:55:11: warning: implicit declaration of function 'reallocarray'; did you mean 'xreallocarray'? [-Wimplicit-function-declaration]
  if ((p = reallocarray(p, nmemb, size)) == NULL) {
           ^~~~~~~~~~~~
           xreallocarray
xmalloc.c:55:9: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  if ((p = reallocarray(p, nmemb, size)) == NULL) {
         ^
xmalloc.c: In function 'xasprintf':
xmalloc.c:93:8: warning: implicit declaration of function 'vasprintf'; did you mean 'xasprintf'? [-Wimplicit-function-declaration]
  ret = vasprintf(dest, fmt, ap);
        ^~~~~~~~~
        xasprintf
--- parse.o ---
cc -pipe -O2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings  -c parse.c
parse.c: In function 'xml_entity':
parse.c:424:16: warning: implicit declaration of function 'strtonum'; did you mean 'strtouq'? [-Wimplicit-function-declaration]
    codepoint = strtonum(name + 1, 0, 0x10ffff, &ccp);
                ^~~~~~~~
                strtouq
parse.c: In function 'parse_file':
parse.c:1038:45: warning: passing argument 1 of 'dirname' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  if (save_fname == NULL && (fname = dirname(fname)) != NULL &&
                                             ^~~~~
In file included from parse.c:24:
/usr/include/libgen.h:26:14: note: expected 'char *' but argument is of type 'const char *'
 extern char *dirname (char *__path) __THROW;
              ^~~~~~~
parse.c:1040:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
   (void)chdir(fname);
         ^~~~~~~~~~~~
--- reorg.o ---
cc -pipe -O2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings  -c reorg.c
--- macro.o ---
cc -pipe -O2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings  -c macro.c
--- docbook2mdoc.o ---
cc -pipe -O2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings  -c docbook2mdoc.c
--- tree.o ---
cc -pipe -O2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings  -c tree.c
--- docbook2mdoc.o ---
docbook2mdoc.c: In function 'pnode_printrefnamediv':
docbook2mdoc.c:170:2: warning: implicit declaration of function 'TAILQ_FOREACH_SAFE'; did you mean 'TAILQ_FOREACH'? [-Wimplicit-function-declaration]
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
  ^~~~~~~~~~~~~~~~~~
  TAILQ_FOREACH
docbook2mdoc.c:170:37: error: 'child' undeclared (first use in this function)
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
                                     ^~~~~
docbook2mdoc.c:170:37: note: each undeclared identifier is reported only once for each function it appears in
docbook2mdoc.c:170:47: error: expected ';' before '{' token
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
                                               ^~
                                               ;
docbook2mdoc.c:164:8: warning: variable 'comma' set but not used [-Wunused-but-set-variable]
  int   comma;
        ^~~~~
docbook2mdoc.c: In function 'pnode_printrefsynopsisdiv':
docbook2mdoc.c:191:37: error: 'child' undeclared (first use in this function)
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn)
                                     ^~~~~
docbook2mdoc.c:191:47: error: expected ';' before 'if'
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn)
                                               ^
                                               ;
   if (nc->node == NODE_TITLE)
   ~~                                           
docbook2mdoc.c: In function 'pnode_printfuncprototype':
docbook2mdoc.c:367:37: error: 'child' undeclared (first use in this function)
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
                                     ^~~~~
docbook2mdoc.c:367:47: error: expected ';' before '{' token
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
                                               ^~
                                               ;
docbook2mdoc.c: In function 'pnode_printauthor':
docbook2mdoc.c:561:37: error: 'child' undeclared (first use in this function)
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
                                     ^~~~~
docbook2mdoc.c:561:47: error: expected ';' before '{' token
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
                                               ^~
                                               ;
docbook2mdoc.c:590:47: error: expected ';' before '{' token
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
                                               ^~
                                               ;
docbook2mdoc.c: In function 'pnode_printvarlistentry':
docbook2mdoc.c:760:37: error: 'child' undeclared (first use in this function)
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
                                     ^~~~~
docbook2mdoc.c:760:47: error: expected ';' before '{' token
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
                                               ^~
                                               ;
docbook2mdoc.c:754:8: warning: variable 'comma' set but not used [-Wunused-but-set-variable]
  int   comma;
        ^~~~~
docbook2mdoc.c:753:26: warning: unused variable 'ncc' [-Wunused-variable]
  struct pnode *nc, *nn, *ncc;
                          ^~~
docbook2mdoc.c: In function 'pnode_printtitle':
docbook2mdoc.c:796:37: error: 'child' undeclared (first use in this function)
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
                                     ^~~~~
docbook2mdoc.c:796:47: error: expected ';' before '{' token
  TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) {
                                               ^~
                                               ;
*** [docbook2mdoc.o] Error code 1

bmake: stopped making "docbook2mdoc" in /home/pbulk/build/textproc/docbook2mdoc/work/docbook2mdoc-1.1.0
bmake: 1 error

bmake: stopped making "docbook2mdoc" in /home/pbulk/build/textproc/docbook2mdoc/work/docbook2mdoc-1.1.0
*** Error code 2

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

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