+ 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/libxml-1.8.17nb4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libxml-1.8.17nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for libxml-1.8.17nb4
/usr/pkg/bin/bmake  all-recursive
Making all in doc
/bin/rm -f ./libxml
ln -s ./. ./libxml
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c SAX.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c SAX.c  -fPIC -DPIC -o .libs/SAX.o
SAX.c: In function 'internalSubset':
SAX.c:182:17: warning: variable 'oldwellFormed' set but not used [-Wunused-but-set-variable]
  182 |             int oldwellFormed;
      |                 ^~~~~~~~~~~~~
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c SAX.c -o SAX.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c entities.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c entities.c  -fPIC -DPIC -o .libs/entities.o
entities.c: In function 'xmlEncodeEntitiesReentrant':
entities.c:664:25: warning: implicit declaration of function 'xmlStrEqual' [-Wimplicit-function-declaration]
  664 |                        (xmlStrEqual(doc->encoding, "UTF-8"))) {
      |                         ^~~~~~~~~~~
entities.c:723:50: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
  723 |                 snprintf(buf, sizeof(buf), "&#%d;", val);
      |                                                  ^
In file included from /usr/include/stdio.h:900,
                 from entities.c:15:
/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 5 and 11 bytes into a destination of size 10
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c entities.c -o entities.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c encoding.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c encoding.c  -fPIC -DPIC -o .libs/encoding.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c encoding.c -o encoding.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c error.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c error.c  -fPIC -DPIC -o .libs/error.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c error.c -o error.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c parser.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c parser.c  -fPIC -DPIC -o .libs/parser.o
parser.c: In function 'xmlInitParser':
parser.c:674:5: warning: implicit declaration of function 'xmlInitializePredefinedEntities'; did you mean 'xmlCleanupPredefinedEntities'? [-Wimplicit-function-declaration]
  674 |     xmlInitializePredefinedEntities();
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     xmlCleanupPredefinedEntities
parser.c: In function 'xmlParseReference':
parser.c:6543:13: warning: unused variable 'hex' [-Wunused-variable]
 6543 |         int hex = NXT(2);
      |             ^~~
parser.c:6621:31: warning: implicit declaration of function 'xmlParseBalancedChunkMemory' [-Wimplicit-function-declaration]
 6621 |                         ret = xmlParseBalancedChunkMemory(ctxt->myDoc,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c:6628:31: warning: implicit declaration of function 'xmlParseExternalEntity'; did you mean 'xmlLoadExternalEntity'? [-Wimplicit-function-declaration]
 6628 |                         ret = xmlParseExternalEntity(ctxt->myDoc,
      |                               ^~~~~~~~~~~~~~~~~~~~~~
      |                               xmlLoadExternalEntity
parser.c: In function 'xmlParseBalancedChunkFile':
parser.c:10647:1: warning: control reaches end of non-void function [-Wreturn-type]
10647 | }
      | ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c parser.c -o parser.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c parserold.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c parserold.c  -fPIC -DPIC -o .libs/parserold.o
parserold.c: In function 'xmlOldParserHandleReference':
parserold.c:882:9: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch]
  882 |         switch(ctxt->instate) {
      |         ^~~~~~
parserold.c:882:9: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch]
parserold.c:938:5: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch]
  938 |     switch(ctxt->instate) {
      |     ^~~~~~
parserold.c:938:5: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch]
parserold.c: In function 'xmlOldParserHandlePEReference':
parserold.c:1114:5: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch]
 1114 |     switch(ctxt->instate) {
      |     ^~~~~~
parserold.c:1114:5: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch]
parserold.c: In function 'xmlOldParseEntityDecl':
parserold.c:3031:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 3031 |             if ((CUR == '"') || (CUR == '\''))
      |             ^~
parserold.c:3033:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 3033 |                 if (value) {
      |                 ^~
parserold.c: In function 'xmlOldParseConditionalSections':
parserold.c:362:15: warning: macro expands to multiple statements [-Wmultistatement-macros]
  362 | #define GROW  xmlOldParserInputGrow(ctxt->input, INPUT_CHUNK);          \
      |               ^~~~~~~~~~~~~~~~~~~~~
parserold.c:4215:13: note: in expansion of macro 'GROW'
 4215 |             GROW;
      |             ^~~~
parserold.c:4214:9: note: some parts of macro expansion are not guarded by this 'if' clause
 4214 |         if (CUR == 0)
      |         ^~
parserold.c:357:17: warning: macro expands to multiple statements [-Wmultistatement-macros]
  357 | #define SHRINK  xmlOldParserInputShrink(ctxt->input);                   \
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
parserold.c:4219:9: note: in expansion of macro 'SHRINK'
 4219 |         SHRINK;
      |         ^~~~~~
parserold.c:4218:5: note: some parts of macro expansion are not guarded by this 'if' clause
 4218 |     if (CUR == 0)
      |     ^~
parserold.c: In function 'xmlOldParseTryOrFinish':
parserold.c:6488:9: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch]
 6488 |         switch (ctxt->instate) {
      |         ^~~~~~
parserold.c:6488:9: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch]
At top level:
parserold.c:1754:1: warning: 'xmlOldParseNamespace' defined but not used [-Wunused-function]
 1754 | xmlOldParseNamespace(xmlParserCtxtPtr ctxt) {
      | ^~~~~~~~~~~~~~~~~~~~
parserold.c:1651:1: warning: 'xmlOldNamespaceParseQName' defined but not used [-Wunused-function]
 1651 | xmlOldNamespaceParseQName(xmlParserCtxtPtr ctxt, xmlChar **prefix) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
parserold.c:1552:1: warning: 'xmlOldHandleEntity' defined but not used [-Wunused-function]
 1552 | xmlOldHandleEntity(xmlParserCtxtPtr ctxt, xmlEntityPtr entity) {
      | ^~~~~~~~~~~~~~~~~~
parserold.c:1272:1: warning: 'xmlOldDecodeEntities' defined but not used [-Wunused-function]
 1272 | xmlOldDecodeEntities(xmlParserCtxtPtr ctxt, int len, int what,
      | ^~~~~~~~~~~~~~~~~~~~
parserold.c:593:1: warning: 'xmlOldNewInputFromFile' defined but not used [-Wunused-function]
  593 | xmlOldNewInputFromFile(xmlParserCtxtPtr ctxt, const char *filename) {
      | ^~~~~~~~~~~~~~~~~~~~~~
parserold.c:563:1: warning: 'xmlOldNewStringInputStream' defined but not used [-Wunused-function]
  563 | xmlOldNewStringInputStream(xmlParserCtxtPtr ctxt, const xmlChar *buffer) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
parserold.c:323:34: warning: 'nodeOldPush' defined but not used [-Wunused-function]
  323 | PUSH_AND_POP(static, xmlNodePtr, node)
      |                                  ^~~~
parserold.c:295:11: note: in definition of macro 'PUSH_AND_POP'
  295 | scope int name##OldPush(xmlParserCtxtPtr ctxt, type value) {            \
      |           ^~~~
parserold.c:130:1: warning: 'xmlOldParserInputRead' defined but not used [-Wunused-function]
  130 | xmlOldParserInputRead(xmlParserInputPtr in, int len) {
      | ^~~~~~~~~~~~~~~~~~~~~
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c parserold.c -o parserold.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c HTMLparser.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c HTMLparser.c  -fPIC -DPIC -o .libs/HTMLparser.o
HTMLparser.c: In function 'htmlParseTryOrFinish':
HTMLparser.c:3044:9: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch]
 3044 |         switch (ctxt->instate) {
      |         ^~~~~~
HTMLparser.c:3044:9: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch]
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c HTMLparser.c -o HTMLparser.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c HTMLtree.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c HTMLtree.c  -fPIC -DPIC -o .libs/HTMLtree.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c HTMLtree.c -o HTMLtree.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c debugXML.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c debugXML.c  -fPIC -DPIC -o .libs/debugXML.o
debugXML.c: In function 'xmlShellPwd':
debugXML.c:1019:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
 1019 |         strcpy(buffer, buf);
      |         ^~~~~~
debugXML.c:28:1: note: include '<string.h>' or provide a declaration of 'strcpy'
   27 | #include "HTMLparser.h"
  +++ |+#include <string.h>
   28 | 
debugXML.c:1019:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
 1019 |         strcpy(buffer, buf);
      |         ^~~~~~
debugXML.c:1019:9: note: include '<string.h>' or provide a declaration of 'strcpy'
debugXML.c: In function 'xmlShell':
debugXML.c:1086:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
 1086 |         if (!strcmp(command, "exit"))
      |              ^~~~~~
debugXML.c:1086:14: note: include '<string.h>' or provide a declaration of 'strcmp'
debugXML.c:1041:9: warning: variable 'nbargs' set but not used [-Wunused-but-set-variable]
 1041 |     int nbargs;
      |         ^~~~~~
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c debugXML.c -o debugXML.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c tree.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c tree.c  -fPIC -DPIC -o .libs/tree.o
tree.c: In function 'xmlDocContentDump':
tree.c:4425:11: warning: implicit declaration of function 'xmlStrEqual' [-Wimplicit-function-declaration]
 4425 |         (!xmlStrEqual(cur->encoding, "UTF-8"))) {
      |           ^~~~~~~~~~~
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c tree.c -o tree.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c xpath.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c xpath.c  -fPIC -DPIC -o .libs/xpath.o
xpath.c: In function 'xmlXPathInit':
xpath.c:145:17: warning: division by zero [-Wdiv-by-zero]
  145 |     xmlXPathNAN /= 0;
      |                 ^~
xpath.c:148:18: warning: division by zero [-Wdiv-by-zero]
  148 |     xmlXPathPINF /= 0;
      |                  ^~
xpath.c:151:18: warning: division by zero [-Wdiv-by-zero]
  151 |     xmlXPathMINF /= 0;
      |                  ^~
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c xpath.c -o xpath.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c xmlIO.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c xmlIO.c  -fPIC -DPIC -o .libs/xmlIO.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c xmlIO.c -o xmlIO.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c xmlmemory.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c xmlmemory.c  -fPIC -DPIC -o .libs/xmlmemory.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c xmlmemory.c -o xmlmemory.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.   -DLIBXML_VERSION=\"1.8.17\"  -I/usr/pkg/include  -pipe -O2 -I/usr/pkg/include -Wall -c nanohttp.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -Wall -c nanohttp.c  -fPIC -DPIC -o .libs/nanohttp.o
nanohttp.c: In function 'xmlNanoHTTPFetch':
nanohttp.c:1158:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 1158 |         write(fd, buf, len);
      |         ^~~~~~~~~~~~~~~~~~~
nanohttp.c: In function 'xmlNanoHTTPSave':
nanohttp.c:1195:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 1195 |         write(fd, buf, len);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/fcntl.h:342,
                 from nanohttp.c:47:
In function 'open',
    inlined from 'xmlNanoHTTPSave' at nanohttp.c:1187:14:
/usr/include/bits/fcntl2.h:50:11: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
   50 |           __open_missing_mode ();
      |           ^~~~~~~~~~~~~~~~~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped making "all-am" in /home/pbulk/build/textproc/libxml/work/libxml-1.8.17
*** Error code 1

Stop.
bmake[1]: stopped making "all-recursive" in /home/pbulk/build/textproc/libxml/work/libxml-1.8.17
*** Error code 1

Stop.
bmake: stopped making "all" in /home/pbulk/build/textproc/libxml/work/libxml-1.8.17
*** Error code 1

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

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