===> Building for xmlstarlet-1.6.1nb13 /opt/pkg/bin/bmake all-am CC src/trans.o src/trans.c:46:5: warning: 'xmlInitMemory' is deprecated [-Wdeprecated-declarations] xmlInitMemory(); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlmemory.h:131:1: note: 'xmlInitMemory' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/trans.c:53:5: warning: 'xmlLineNumbersDefault' is deprecated [-Wdeprecated-declarations] xmlLineNumbersDefault(1); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1123:1: note: 'xmlLineNumbersDefault' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/trans.c:73:5: warning: 'xmlPedanticParserDefault' is deprecated [-Wdeprecated-declarations] xmlPedanticParserDefault(0); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1117:1: note: 'xmlPedanticParserDefault' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/trans.c:75:5: warning: '__xmlGetWarningsDefaultValue' is deprecated [-Wdeprecated-declarations] xmlGetWarningsDefaultValue = 1; ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1050:7: note: expanded from macro 'xmlGetWarningsDefaultValue' (*__xmlGetWarningsDefaultValue()) ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1027:1: note: '__xmlGetWarningsDefaultValue' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/trans.c:77:5: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations] xmlLoadExtDtdDefaultValue = 1; ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1054:39: note: expanded from macro 'xmlLoadExtDtdDefaultValue' #define xmlLoadExtDtdDefaultValue (*__xmlLoadExtDtdDefaultValue()) ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1033:1: note: '__xmlLoadExtDtdDefaultValue' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/trans.c:84:9: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations] xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS; ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1054:39: note: expanded from macro 'xmlLoadExtDtdDefaultValue' #define xmlLoadExtDtdDefaultValue (*__xmlLoadExtDtdDefaultValue()) ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1033:1: note: '__xmlLoadExtDtdDefaultValue' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/trans.c:88:9: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations] xmlLoadExtDtdDefaultValue = 0; ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1054:39: note: expanded from macro 'xmlLoadExtDtdDefaultValue' #define xmlLoadExtDtdDefaultValue (*__xmlLoadExtDtdDefaultValue()) ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1033:1: note: '__xmlLoadExtDtdDefaultValue' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ 7 warnings generated. CC src/xml_C14N.o src/xml_C14N.c:171:5: warning: 'xmlMemoryDump' is deprecated [-Wdeprecated-declarations] xmlMemoryDump(); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlmemory.h:159:1: note: 'xmlMemoryDump' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/xml_C14N.c:240:5: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations] xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS; ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1054:39: note: expanded from macro 'xmlLoadExtDtdDefaultValue' #define xmlLoadExtDtdDefaultValue (*__xmlLoadExtDtdDefaultValue()) ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1033:1: note: '__xmlLoadExtDtdDefaultValue' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/xml_C14N.c:241:5: warning: 'xmlSubstituteEntitiesDefault' is deprecated [-Wdeprecated-declarations] xmlSubstituteEntitiesDefault(1); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1104:1: note: 'xmlSubstituteEntitiesDefault' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. CC src/xml_depyx.o CC src/xml_edit.o src/xml_edit.c:361:18: warning: variable 'node' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if (type == XML_TEXT) ^~~~~~~~~~~~~~~~ src/xml_edit.c:371:48: note: uninitialized use occurs here xmlXPathNodeSetAdd(previous_insertion, node); ^~~~ src/xml_edit.c:361:14: note: remove the 'if' if its condition is always true else if (type == XML_TEXT) ^~~~~~~~~~~~~~~~~~~~~ src/xml_edit.c:339:24: note: initialize the variable 'node' to silence this warning xmlNodePtr node; ^ = NULL src/xml_edit.c:458:5: warning: 'xmlDeregisterNodeDefault' is deprecated [-Wdeprecated-declarations] xmlDeregisterNodeDefault(&removeNodeFromPrev); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/tree.h:1309:1: note: 'xmlDeregisterNodeDefault' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/xml_edit.c:533:5: warning: 'xmlDeregisterNodeDefault' is deprecated [-Wdeprecated-declarations] xmlDeregisterNodeDefault(NULL); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/tree.h:1309:1: note: 'xmlDeregisterNodeDefault' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/xml_edit.c:561:9: warning: 'xmlCleanupGlobals' is deprecated [-Wdeprecated-declarations] xmlCleanupGlobals(); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1077:1: note: 'xmlCleanupGlobals' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/xml_edit.c:755:5: warning: 'xmlCleanupGlobals' is deprecated [-Wdeprecated-declarations] xmlCleanupGlobals(); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1077:1: note: 'xmlCleanupGlobals' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. CC src/xml_elem.o src/xml_elem.c:271:27: warning: incompatible function pointer types passing 'void (void *, void *, xmlChar *)' (aka 'void (void *, void *, unsigned char *)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, const unsigned char *)') [-Wincompatible-function-pointer-types] xmlHashScan(uniq, hash_key_put, &lines); ^~~~~~~~~~~~ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/hash.h:228:22: note: passing argument to parameter 'scan' here xmlHashScanner scan, ^ 1 warning generated. CC src/xml_escape.o CC src/xml_format.o src/xml_format.c:114:5: warning: 'xmlInitMemory' is deprecated [-Wdeprecated-declarations] xmlInitMemory(); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlmemory.h:131:1: note: 'xmlInitMemory' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/xml_format.c:121:5: warning: 'xmlLineNumbersDefault' is deprecated [-Wdeprecated-declarations] xmlLineNumbersDefault(1); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1123:1: note: 'xmlLineNumbersDefault' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/xml_format.c:123:5: warning: 'xmlSubstituteEntitiesDefault' is deprecated [-Wdeprecated-declarations] xmlSubstituteEntitiesDefault(1); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1104:1: note: 'xmlSubstituteEntitiesDefault' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/xml_format.c:125:5: warning: 'xmlPedanticParserDefault' is deprecated [-Wdeprecated-declarations] xmlPedanticParserDefault(0); ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1117:1: note: 'xmlPedanticParserDefault' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/xml_format.c:127:5: warning: '__xmlGetWarningsDefaultValue' is deprecated [-Wdeprecated-declarations] xmlGetWarningsDefaultValue = 1; ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1050:7: note: expanded from macro 'xmlGetWarningsDefaultValue' (*__xmlGetWarningsDefaultValue()) ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1027:1: note: '__xmlGetWarningsDefaultValue' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/xml_format.c:128:5: warning: '__xmlDoValidityCheckingDefaultValue' is deprecated [-Wdeprecated-declarations] xmlDoValidityCheckingDefaultValue = 0; ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1048:7: note: expanded from macro 'xmlDoValidityCheckingDefaultValue' (*__xmlDoValidityCheckingDefaultValue()) ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1025:1: note: '__xmlDoValidityCheckingDefaultValue' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ src/xml_format.c:129:5: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations] xmlLoadExtDtdDefaultValue = 0; ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1054:39: note: expanded from macro 'xmlLoadExtDtdDefaultValue' #define xmlLoadExtDtdDefaultValue (*__xmlLoadExtDtdDefaultValue()) ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/parser.h:1033:1: note: '__xmlLoadExtDtdDefaultValue' has been explicitly marked deprecated here XML_DEPRECATED ^ /Users/pbulk/build/textproc/xmlstarlet/work/.buildlink/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED' #define XML_DEPRECATED __attribute__((deprecated)) ^ 7 warnings generated. CC src/xml_ls.o src/xml_ls.c:149:15: warning: comparison of array 'd->d_name' equal to a null pointer is always false [-Wtautological-pointer-compare] if ((d->d_name == NULL) || !strcmp(d->d_name, ".") || !strcmp(d->d_name, "..")) ~~~^~~~~~ ~~~~ 1 warning generated. CC src/xml_pyx.o src/xml_pyx.c:203:36: error: expected ')' pyxExternalSubsetHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name, ^ src/xml_pyx.c:203:25: note: to match this '(' pyxExternalSubsetHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name, ^ src/xml_pyx.c:206:36: error: use of undeclared identifier 'name' fprintf(stdout, "D %s PUBLIC", name); /* TODO: re-check */ ^ src/xml_pyx.c:207:9: error: use of undeclared identifier 'ExternalID' if (ExternalID == NULL) ^ src/xml_pyx.c:210:36: error: use of undeclared identifier 'ExternalID' fprintf(stdout, " \"%s\"", ExternalID); ^ src/xml_pyx.c:211:9: error: use of undeclared identifier 'SystemID'; did you mean 'system'? if (SystemID == NULL) ^~~~~~~~ system /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:184:6: note: 'system' declared here int system(const char *) __DARWIN_ALIAS_C(system); ^ src/xml_pyx.c:214:38: error: use of undeclared identifier 'SystemID'; did you mean 'system'? fprintf(stdout, " \"%s\"\n", SystemID); ^~~~~~~~ system /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:184:6: note: 'system' declared here int system(const char *) __DARWIN_ALIAS_C(system); ^ src/xml_pyx.c:218:29: error: expected ')' pyxCommentHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value) ^ src/xml_pyx.c:218:18: note: to match this '(' pyxCommentHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value) ^ src/xml_pyx.c:221:18: error: use of undeclared identifier 'value' SanitizeData(value, xmlStrlen(value)); ^ src/xml_pyx.c:221:35: error: use of undeclared identifier 'value' SanitizeData(value, xmlStrlen(value)); ^ src/xml_pyx.c:226:32: error: expected ')' pyxCdataBlockHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value, int len) ^ src/xml_pyx.c:226:21: note: to match this '(' pyxCdataBlockHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value, int len) ^ src/xml_pyx.c:229:18: error: use of undeclared identifier 'value' SanitizeData(value, len); ^ src/xml_pyx.c:229:25: error: use of undeclared identifier 'len' SanitizeData(value, len); ^ src/xml_pyx.c:291:27: warning: incompatible function pointer types assigning to 'externalSubsetSAXFunc' (aka 'void (*)(void *, const unsigned char *, const unsigned char *, const unsigned char *)') from 'void (void *)' [-Wincompatible-function-pointer-types] pyxSAX.externalSubset = pyxExternalSubsetHandler; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ src/xml_pyx.c:292:20: warning: incompatible function pointer types assigning to 'commentSAXFunc' (aka 'void (*)(void *, const unsigned char *)') from 'void (void *)' [-Wincompatible-function-pointer-types] pyxSAX.comment = pyxCommentHandler; ^ ~~~~~~~~~~~~~~~~~ src/xml_pyx.c:293:23: warning: incompatible function pointer types assigning to 'cdataBlockSAXFunc' (aka 'void (*)(void *, const unsigned char *, int)') from 'void (void *)' [-Wincompatible-function-pointer-types] pyxSAX.cdataBlock = pyxCdataBlockHandler; ^ ~~~~~~~~~~~~~~~~~~~~ 3 warnings and 12 errors generated. *** [src/xml_pyx.o] Error code 1 bmake[1]: stopped making "all-am" in /Users/pbulk/build/textproc/xmlstarlet/work/xmlstarlet-1.6.1 bmake[1]: 1 error bmake[1]: stopped making "all-am" in /Users/pbulk/build/textproc/xmlstarlet/work/xmlstarlet-1.6.1 bmake: stopped making "all" in /Users/pbulk/build/textproc/xmlstarlet/work/xmlstarlet-1.6.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/xmlstarlet *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/xmlstarlet