+ 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 -D_FORTIFY_SOURCE=2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c xmalloc.c --- node.o --- cc -pipe -O2 -D_FORTIFY_SOURCE=2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c node.c --- xmalloc.o --- xmalloc.c: In function 'xreallocarray': xmalloc.c:55:2: warning: implicit declaration of function 'reallocarray' [-Wimplicit-function-declaration] if ((p = reallocarray(p, nmemb, size)) == NULL) { ^ xmalloc.c:55:9: warning: assignment makes pointer from integer without a cast [enabled by default] if ((p = reallocarray(p, nmemb, size)) == NULL) { ^ xmalloc.c: In function 'xasprintf': xmalloc.c:93:2: warning: implicit declaration of function 'vasprintf' [-Wimplicit-function-declaration] ret = vasprintf(dest, fmt, ap); ^ --- parse.o --- cc -pipe -O2 -D_FORTIFY_SOURCE=2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c parse.c parse.c: In function 'xml_entity': parse.c:424:4: warning: implicit declaration of function 'strtonum' [-Wimplicit-function-declaration] codepoint = strtonum(name + 1, 0, 0x10ffff, &ccp); ^ parse.c: In function 'parse_file': parse.c:1038:2: warning: passing argument 1 of 'dirname' discards 'const' qualifier from pointer target type [enabled by default] if (save_fname == NULL && (fname = dirname(fname)) != NULL && ^ In file included from parse.c:24:0: /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:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void)chdir(fname); ^ --- reorg.o --- cc -pipe -O2 -D_FORTIFY_SOURCE=2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c reorg.c --- macro.o --- cc -pipe -O2 -D_FORTIFY_SOURCE=2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c macro.c --- docbook2mdoc.o --- cc -pipe -O2 -D_FORTIFY_SOURCE=2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c docbook2mdoc.c --- tree.o --- --- docbook2mdoc.o --- docbook2mdoc.c: In function 'pnode_printrefnamediv': docbook2mdoc.c:170:2: warning: implicit declaration of function 'TAILQ_FOREACH_SAFE' [-Wimplicit-function-declaration] TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { ^ 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:48: 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) ^ --- tree.o --- cc -pipe -O2 -D_FORTIFY_SOURCE=2 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c tree.c --- docbook2mdoc.o --- docbook2mdoc.c:192:3: error: expected ';' before 'if' 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:48: 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:48: error: expected ';' before '{' token TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { ^ docbook2mdoc.c:590:48: 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:48: 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:48: error: expected ';' before '{' token TAILQ_FOREACH_SAFE(nc, &n->childq, child, nn) { ^ *** [docbook2mdoc.o] Error code 1 bmake: stopped in /home/pbulk/build/textproc/docbook2mdoc/work/docbook2mdoc-1.1.0 1 error bmake: stopped in /home/pbulk/build/textproc/docbook2mdoc/work/docbook2mdoc-1.1.0 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/docbook2mdoc *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/docbook2mdoc