+ 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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -Wall -c SAX.c  -fPIC -DPIC -o .libs/SAX.o
SAX.c: In function 'internalSubset':
SAX.c:182:10: warning: variable 'oldwellFormed' set but not used [-Wunused-but-set-variable]
      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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -Wall -c entities.c  -fPIC -DPIC -o .libs/entities.o
entities.c: In function 'xmlEncodeEntitiesReentrant':
entities.c:664:10: warning: implicit declaration of function 'xmlStrEqual' [-Wimplicit-function-declaration]
          (xmlStrEqual(doc->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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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' [-Wimplicit-function-declaration]
     xmlInitializePredefinedEntities();
     ^
parser.c: In function 'xmlParseReference':
parser.c:6543:6: warning: unused variable 'hex' [-Wunused-variable]
  int hex = NXT(2);
      ^
parser.c:6621:4: warning: implicit declaration of function 'xmlParseBalancedChunkMemory' [-Wimplicit-function-declaration]
    ret = xmlParseBalancedChunkMemory(ctxt->myDoc,
    ^
parser.c:6628:4: warning: implicit declaration of function 'xmlParseExternalEntity' [-Wimplicit-function-declaration]
    ret = xmlParseExternalEntity(ctxt->myDoc,
    ^
parser.c: In function 'xmlParseBalancedChunkFile':
parser.c:10647:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -Wall -c parserold.c  -fPIC -DPIC -o .libs/parserold.o
parserold.c: In function 'xmlOldParserHandleReference':
parserold.c:882:2: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch]
  switch(ctxt->instate) {
  ^
parserold.c:882:2: 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]
     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]
     switch(ctxt->instate) {
     ^
parserold.c:1114:5: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch]
parserold.c: In function 'xmlOldParseTryOrFinish':
parserold.c:6488:9: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch]
         switch (ctxt->instate) {
         ^
parserold.c:6488:9: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch]
parserold.c: At top level:
parserold.c:130:1: warning: 'xmlOldParserInputRead' defined but not used [-Wunused-function]
 xmlOldParserInputRead(xmlParserInputPtr in, int len) {
 ^
parserold.c:323:34: warning: 'nodeOldPush' defined but not used [-Wunused-function]
 PUSH_AND_POP(static, xmlNodePtr, node)
                                  ^
parserold.c:295:11: note: in definition of macro 'PUSH_AND_POP'
 scope int name##OldPush(xmlParserCtxtPtr ctxt, type value) {  \
           ^
parserold.c:563:1: warning: 'xmlOldNewStringInputStream' defined but not used [-Wunused-function]
 xmlOldNewStringInputStream(xmlParserCtxtPtr ctxt, const xmlChar *buffer) {
 ^
parserold.c:593:1: warning: 'xmlOldNewInputFromFile' defined but not used [-Wunused-function]
 xmlOldNewInputFromFile(xmlParserCtxtPtr ctxt, const char *filename) {
 ^
parserold.c:1272:1: warning: 'xmlOldDecodeEntities' defined but not used [-Wunused-function]
 xmlOldDecodeEntities(xmlParserCtxtPtr ctxt, int len, int what,
 ^
parserold.c:1552:1: warning: 'xmlOldHandleEntity' defined but not used [-Wunused-function]
 xmlOldHandleEntity(xmlParserCtxtPtr ctxt, xmlEntityPtr entity) {
 ^
parserold.c:1651:1: warning: 'xmlOldNamespaceParseQName' defined but not used [-Wunused-function]
 xmlOldNamespaceParseQName(xmlParserCtxtPtr ctxt, xmlChar **prefix) {
 ^
parserold.c:1754:1: warning: 'xmlOldParseNamespace' defined but not used [-Wunused-function]
 xmlOldParseNamespace(xmlParserCtxtPtr ctxt) {
 ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -DLIBXML_VERSION=\"1.8.17\" -I/home/pbulk/build/textproc/libxml/work/.buildlink/include -pipe -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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]
         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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -Wall -c debugXML.c  -fPIC -DPIC -o .libs/debugXML.o
debugXML.c: In function 'xmlShellPwd':
debugXML.c:1019:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
  strcpy(buffer, buf);
  ^
debugXML.c:1019:2: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default]
debugXML.c: In function 'xmlShell':
debugXML.c:1086:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
         if (!strcmp(command, "exit"))
         ^
debugXML.c:1041:9: warning: variable 'nbargs' set but not used [-Wunused-but-set-variable]
     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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -Wall -c tree.c  -fPIC -DPIC -o .libs/tree.o
tree.c: In function 'xmlDocContentDump':
tree.c:4425:2: warning: implicit declaration of function 'xmlStrEqual' [-Wimplicit-function-declaration]
  (!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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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]
     xmlXPathNAN /= 0;
                 ^
xpath.c:148:18: warning: division by zero [-Wdiv-by-zero]
     xmlXPathPINF /= 0;
                  ^
xpath.c:151:18: warning: division by zero [-Wdiv-by-zero]
     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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -Wall -c nanohttp.c  -fPIC -DPIC -o .libs/nanohttp.o
nanohttp.c: In function 'xmlNanoHTTPFetch':
nanohttp.c:1158:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(fd, buf, len);
       ^
nanohttp.c: In function 'xmlNanoHTTPSave':
nanohttp.c:1195:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(fd, buf, len);
       ^
In file included from /usr/include/fcntl.h:306:0,
                 from nanohttp.c:47:
In function 'open',
    inlined from 'xmlNanoHTTPSave' at nanohttp.c:1187:12:
/usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
    __open_missing_mode ();
                        ^
*** Error code 1

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

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

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

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/libxml