+ 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 --- parse.o --- --- xmalloc.o --- xmalloc.c: In function 'xasprintf': xmalloc.c:93:15: warning: implicit declaration of function 'vasprintf'; did you mean 'xasprintf'? [-Wimplicit-function-declaration] 93 | 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:37: warning: implicit declaration of function 'strtonum'; did you mean 'strtouq'? [-Wimplicit-function-declaration] 424 | codepoint = strtonum(name + 1, 0, 0x10ffff, &ccp); | ^~~~~~~~ | strtouq parse.c: In function 'parse_file': parse.c:1038:52: warning: passing argument 1 of 'dirname' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1038 | if (save_fname == NULL && (fname = dirname(fname)) != NULL && | ^~~~~ In file included from parse.c:24: /usr/include/libgen.h:26:29: note: expected 'char *' but argument is of type 'const char *' 26 | extern char *dirname (char *__path) __THROW; | ~~~~~~^~~~~~ parse.c:1040:23: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1040 | (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 docbook2mdoc.c: In function 'pnode_printrefnamediv': docbook2mdoc.c:170:9: warning: implicit declaration of function 'TAILQ_FOREACH_SAFE'; did you mean 'TAILQ_FOREACH'? [-Wimplicit-function-declaration] 170 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { | ^~~~~~~~~~~~~~~~~~ | TAILQ_FOREACH docbook2mdoc.c:170:44: error: 'child' undeclared (first use in this function) 170 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { | ^~~~~ docbook2mdoc.c:170:44: note: each undeclared identifier is reported only once for each function it appears in docbook2mdoc.c:170:54: error: expected ';' before '{' token 170 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { | ^~ | ; docbook2mdoc.c:164:26: warning: variable 'comma' set but not used [-Wunused-but-set-variable] 164 | int comma; | ^~~~~ docbook2mdoc.c: In function 'pnode_printrefsynopsisdiv': docbook2mdoc.c:191:44: error: 'child' undeclared (first use in this function) 191 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) | ^~~~~ docbook2mdoc.c:191:54: error: expected ';' before 'if' 191 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) | ^ | ; 192 | if (nc->node == NODE_TITLE) | ~~ docbook2mdoc.c: In function 'pnode_printfuncprototype': docbook2mdoc.c:367:44: error: 'child' undeclared (first use in this function) 367 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { | ^~~~~ docbook2mdoc.c:367:54: error: expected ';' before '{' token 367 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { | ^~ | ; docbook2mdoc.c: In function 'pnode_printauthor': docbook2mdoc.c:561:44: error: 'child' undeclared (first use in this function) 561 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { | ^~~~~ docbook2mdoc.c:561:54: error: expected ';' before '{' token 561 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { | ^~ | ; docbook2mdoc.c:590:54: error: expected ';' before '{' token 590 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { | ^~ | ; docbook2mdoc.c: In function 'pnode_printvarlistentry': docbook2mdoc.c:760:44: error: 'child' undeclared (first use in this function) 760 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { | ^~~~~ docbook2mdoc.c:760:54: error: expected ';' before '{' token 760 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { | ^~ | ; docbook2mdoc.c:754:26: warning: variable 'comma' set but not used [-Wunused-but-set-variable] 754 | int comma; | ^~~~~ docbook2mdoc.c:753:36: warning: unused variable 'ncc' [-Wunused-variable] 753 | struct pnode *nc, *nn, *ncc; | ^~~ docbook2mdoc.c: In function 'pnode_printtitle': docbook2mdoc.c:796:44: error: 'child' undeclared (first use in this function) 796 | TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { | ^~~~~ docbook2mdoc.c:796:54: error: expected ';' before '{' token 796 | 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-el9-trunk-x86_64/textproc/docbook2mdoc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/docbook2mdoc