MidnightBSD Magus

textproc/xmlstarlet

Command Line XML Toolkit

Flavor Version Run OSVersion Arch License Restricted Status
1.6.1 630 4.0 i386 mit 0 fail

License Permissions: dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

Events

Machine Type Time Message
m4032 info 2026-02-09 04:14:29.812595 Test Started
m4032 fail 2026-02-09 04:14:52.107715 make build returned non-zero: 1
m4032 fail 2026-02-09 04:14:52.171577 Test complete.

Log

===>  Building for xmlstarlet-1.6.1
--- all ---
/usr/bin/make  all-am
--- src/.dirstamp ---
--- src/.deps/.dirstamp ---
--- version.h ---
--- src/usage.c ---
--- src/c14n-usage.c ---
--- src/depyx-usage.c ---
--- src/edit-usage.c ---
--- src/elem-usage.c ---
--- src/escape-usage.c ---
--- src/format-usage.c ---
--- src/edit-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/edit-usage.txt > src/edit-usage.c
--- src/escape-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/escape-usage.txt > src/escape-usage.c
--- src/usage.c ---
/usr/bin/awk -f ./usage2c.awk src/usage.txt > src/usage.c
--- src/elem-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/elem-usage.txt > src/elem-usage.c
--- src/format-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/format-usage.txt > src/format-usage.c
--- src/depyx-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/depyx-usage.txt > src/depyx-usage.c
--- src/ls-usage.c ---
--- src/pyx-usage.c ---
--- src/select-usage.c ---
--- src/pyx-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/pyx-usage.txt > src/pyx-usage.c
--- src/trans-usage.c ---
--- src/unescape-usage.c ---
--- src/validate-usage.c ---
--- src/ls-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/ls-usage.txt > src/ls-usage.c
--- src/trans.o ---
--- src/select-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/select-usage.txt > src/select-usage.c
--- src/trans-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/trans-usage.txt > src/trans-usage.c
--- src/trans.o ---
depbase=`echo src/trans.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/trans.o -MD -MP -MF $depbase.Tpo -c -o src/trans.o src/trans.c && mv -f $depbase.Tpo $depbase.Po
--- src/validate-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/validate-usage.txt > src/validate-usage.c
--- src/xml_C14N.o ---
--- src/unescape-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/unescape-usage.txt > src/unescape-usage.c
--- src/xml_depyx.o ---
--- src/xml_C14N.o ---
depbase=`echo src/xml_C14N.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml_C14N.o -MD -MP -MF $depbase.Tpo -c -o src/xml_C14N.o src/xml_C14N.c && mv -f $depbase.Tpo $depbase.Po
--- src/xml_edit.o ---
--- src/xml_depyx.o ---
depbase=`echo src/xml_depyx.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml_depyx.o -MD -MP -MF $depbase.Tpo -c -o src/xml_depyx.o src/xml_depyx.c && mv -f $depbase.Tpo $depbase.Po
--- src/xml_elem.o ---
depbase=`echo src/xml_elem.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml_elem.o -MD -MP -MF $depbase.Tpo -c -o src/xml_elem.o src/xml_elem.c && mv -f $depbase.Tpo $depbase.Po
--- src/xml_edit.o ---
depbase=`echo src/xml_edit.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml_edit.o -MD -MP -MF $depbase.Tpo -c -o src/xml_edit.o src/xml_edit.c && mv -f $depbase.Tpo $depbase.Po
--- src/xml_escape.o ---
depbase=`echo src/xml_escape.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml_escape.o -MD -MP -MF $depbase.Tpo -c -o src/xml_escape.o src/xml_escape.c && mv -f $depbase.Tpo $depbase.Po
--- src/xml_format.o ---
depbase=`echo src/xml_format.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml_format.o -MD -MP -MF $depbase.Tpo -c -o src/xml_format.o src/xml_format.c && mv -f $depbase.Tpo $depbase.Po
--- src/c14n-usage.c ---
/usr/bin/awk -f ./usage2c.awk src/c14n-usage.txt > src/c14n-usage.c
--- src/xml_ls.o ---
depbase=`echo src/xml_ls.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml_ls.o -MD -MP -MF $depbase.Tpo -c -o src/xml_ls.o src/xml_ls.c && mv -f $depbase.Tpo $depbase.Po
--- src/xml_C14N.o ---
src/xml_C14N.c:171:5: warning: 'xmlMemoryDump' is deprecated [-Wdeprecated-declarations]
--- src/xml_elem.o ---
src/xml_elem.c:192:33: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'const xmlChar *' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  192 |     dest->array[dest->offset++] = name;
      |                                 ^ ~~~~
--- src/xml_C14N.o ---
  171 |     xmlMemoryDump();
      |     ^
/usr/local/include/libxml2/libxml/xmlmemory.h:159:1: note: 'xmlMemoryDump' has been explicitly marked deprecated here
  159 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_C14N.c:240:5: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations]
  240 |     xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1054:39: note: expanded from macro 'xmlLoadExtDtdDefaultValue'
 1054 |   #define xmlLoadExtDtdDefaultValue (*__xmlLoadExtDtdDefaultValue())
      |                                       ^
/usr/local/include/libxml2/libxml/parser.h:1033:1: note: '__xmlLoadExtDtdDefaultValue' has been explicitly marked deprecated here
 1033 | XML_DEPRECATED
      | ^
--- src/trans.o ---
src/trans.c:46:5: warning: 'xmlInitMemory' is deprecated [-Wdeprecated-declarations]
   46 |     xmlInitMemory();
      |     ^
/usr/local/include/libxml2/libxml/xmlmemory.h:131:1: note: 'xmlInitMemory' has been explicitly marked deprecated here
  131 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/trans.c:53:5: warning: 'xmlLineNumbersDefault' is deprecated [-Wdeprecated-declarations]
   53 |     xmlLineNumbersDefault(1);
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1123:1: note: 'xmlLineNumbersDefault' has been explicitly marked deprecated here
 1123 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
--- src/xml_format.o ---
src/xml_format.c:114:5: warning: 'xmlInitMemory' is deprecated [-Wdeprecated-declarations]
  114 |     xmlInitMemory();
      |     ^
/usr/local/include/libxml2/libxml/xmlmemory.h:131:1: note: 'xmlInitMemory' has been explicitly marked deprecated here
  131 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_format.c:121:5: warning: 'xmlLineNumbersDefault' is deprecated [-Wdeprecated-declarations]
  121 |     xmlLineNumbersDefault(1);
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1123:1: note: 'xmlLineNumbersDefault' has been explicitly marked deprecated here
 1123 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
--- src/xml_edit.o ---
src/xml_edit.c:361:18: warning: variable 'node' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  361 |         else if (type == XML_TEXT)
      |                  ^~~~~~~~~~~~~~~~
src/xml_edit.c:371:48: note: uninitialized use occurs here
  371 |         xmlXPathNodeSetAdd(previous_insertion, node);
      |                                                ^~~~
src/xml_edit.c:361:14: note: remove the 'if' if its condition is always true
  361 |         else if (type == XML_TEXT)
      |              ^~~~~~~~~~~~~~~~~~~~~
  362 |         {
src/xml_edit.c:339:24: note: initialize the variable 'node' to silence this warning
  339 |         xmlNodePtr node;
      |                        ^
      |                         = NULL
src/xml_edit.c:458:5: warning: 'xmlDeregisterNodeDefault' is deprecated [-Wdeprecated-declarations]
  458 |     xmlDeregisterNodeDefault(&removeNodeFromPrev);
      |     ^
--- 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]
  149 |       if ((d->d_name == NULL) || !strcmp(d->d_name, ".") || !strcmp(d->d_name, ".."))
      |            ~~~^~~~~~    ~~~~
src/xml_ls.c:152:10: warning: implicit declaration of function 'lstat' [-Wimplicit-function-declaration]
  152 |       if(lstat(d->d_name, &stats) != 0)
      |          ^
--- src/xml_C14N.o ---
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_C14N.c:241:5: warning: 'xmlSubstituteEntitiesDefault' is deprecated [-Wdeprecated-declarations]
  241 |     xmlSubstituteEntitiesDefault(1);
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1104:1: note: 'xmlSubstituteEntitiesDefault' has been explicitly marked deprecated here
 1104 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
--- src/trans.o ---
src/trans.c:73:5: warning: 'xmlPedanticParserDefault' is deprecated [-Wdeprecated-declarations]
   73 |     xmlPedanticParserDefault(0);
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1117:1: note: 'xmlPedanticParserDefault' has been explicitly marked deprecated here
 1117 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/trans.c:75:5: warning: '__xmlGetWarningsDefaultValue' is deprecated [-Wdeprecated-declarations]
   75 |     xmlGetWarningsDefaultValue = 1;
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1050:7: note: expanded from macro 'xmlGetWarningsDefaultValue'
 1050 |     (*__xmlGetWarningsDefaultValue())
      |       ^
/usr/local/include/libxml2/libxml/parser.h:1027:1: note: '__xmlGetWarningsDefaultValue' has been explicitly marked deprecated here
 1027 | XML_DEPRECATED
      | ^
--- src/xml_format.o ---
src/xml_format.c:123:5: warning: 'xmlSubstituteEntitiesDefault' is deprecated [-Wdeprecated-declarations]
  123 |     xmlSubstituteEntitiesDefault(1);
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1104:1: note: 'xmlSubstituteEntitiesDefault' has been explicitly marked deprecated here
 1104 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_format.c:125:5: warning: 'xmlPedanticParserDefault' is deprecated [-Wdeprecated-declarations]
  125 |     xmlPedanticParserDefault(0);
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1117:1: note: 'xmlPedanticParserDefault' has been explicitly marked deprecated here
 1117 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
--- src/xml_edit.o ---
/usr/local/include/libxml2/libxml/tree.h:1309:1: note: 'xmlDeregisterNodeDefault' has been explicitly marked deprecated here
 1309 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_edit.c:533:5: warning: 'xmlDeregisterNodeDefault' is deprecated [-Wdeprecated-declarations]
  533 |     xmlDeregisterNodeDefault(NULL);
      |     ^
/usr/local/include/libxml2/libxml/tree.h:1309:1: note: 'xmlDeregisterNodeDefault' has been explicitly marked deprecated here
 1309 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_edit.c:561:9: warning: 'xmlCleanupGlobals' is deprecated [-Wdeprecated-declarations]
--- src/xml_pyx.o ---
--- src/trans.o ---
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/trans.c:77:5: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations]
   77 |     xmlLoadExtDtdDefaultValue = 1;
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1054:39: note: expanded from macro 'xmlLoadExtDtdDefaultValue'
 1054 |   #define xmlLoadExtDtdDefaultValue (*__xmlLoadExtDtdDefaultValue())
      |                                       ^
/usr/local/include/libxml2/libxml/parser.h:1033:1: note: '__xmlLoadExtDtdDefaultValue' has been explicitly marked deprecated here
 1033 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
--- src/xml_format.o ---
      |                                           ^
src/xml_format.c:127:5: warning: '__xmlGetWarningsDefaultValue' is deprecated [-Wdeprecated-declarations]
  127 |     xmlGetWarningsDefaultValue = 1;
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1050:7: note: expanded from macro 'xmlGetWarningsDefaultValue'
 1050 |     (*__xmlGetWarningsDefaultValue())
      |       ^
/usr/local/include/libxml2/libxml/parser.h:1027:1: note: '__xmlGetWarningsDefaultValue' has been explicitly marked deprecated here
 1027 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_format.c:128:5: warning: '__xmlDoValidityCheckingDefaultValue' is deprecated [-Wdeprecated-declarations]
  128 |     xmlDoValidityCheckingDefaultValue = 0;
      |     ^
--- src/xml_edit.o ---
  561 |         xmlCleanupGlobals();
      |         ^
/usr/local/include/libxml2/libxml/parser.h:1077:1: note: 'xmlCleanupGlobals' has been explicitly marked deprecated here
 1077 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_edit.c:755:5: warning: 'xmlCleanupGlobals' is deprecated [-Wdeprecated-declarations]
  755 |     xmlCleanupGlobals();
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1077:1: note: 'xmlCleanupGlobals' has been explicitly marked deprecated here
 1077 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
--- src/trans.o ---
src/trans.c:84:9: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations]
   84 |         xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;
      |         ^
/usr/local/include/libxml2/libxml/parser.h:1054:39: note: expanded from macro 'xmlLoadExtDtdDefaultValue'
 1054 |   #define xmlLoadExtDtdDefaultValue (*__xmlLoadExtDtdDefaultValue())
      |                                       ^
/usr/local/include/libxml2/libxml/parser.h:1033:1: note: '__xmlLoadExtDtdDefaultValue' has been explicitly marked deprecated here
 1033 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/trans.c:88:9: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations]
   88 |         xmlLoadExtDtdDefaultValue = 0;
      |         ^
--- src/xml_format.o ---
/usr/local/include/libxml2/libxml/parser.h:1048:7: note: expanded from macro 'xmlDoValidityCheckingDefaultValue'
 1048 |     (*__xmlDoValidityCheckingDefaultValue())
      |       ^
/usr/local/include/libxml2/libxml/parser.h:1025:1: note: '__xmlDoValidityCheckingDefaultValue' has been explicitly marked deprecated here
 1025 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_format.c:129:5: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations]
  129 |     xmlLoadExtDtdDefaultValue = 0;
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1054:39: note: expanded from macro 'xmlLoadExtDtdDefaultValue'
 1054 |   #define xmlLoadExtDtdDefaultValue (*__xmlLoadExtDtdDefaultValue())
      |                                       ^
--- src/xml_pyx.o ---
depbase=`echo src/xml_pyx.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml_pyx.o -MD -MP -MF $depbase.Tpo -c -o src/xml_pyx.o src/xml_pyx.c && mv -f $depbase.Tpo $depbase.Po
--- src/trans.o ---
/usr/local/include/libxml2/libxml/parser.h:1054:39: note: expanded from macro 'xmlLoadExtDtdDefaultValue'
 1054 |   #define xmlLoadExtDtdDefaultValue (*__xmlLoadExtDtdDefaultValue())
      |                                       ^
/usr/local/include/libxml2/libxml/parser.h:1033:1: note: '__xmlLoadExtDtdDefaultValue' has been explicitly marked deprecated here
 1033 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
--- src/xml_format.o ---
/usr/local/include/libxml2/libxml/parser.h:1033:1: note: '__xmlLoadExtDtdDefaultValue' has been explicitly marked deprecated here
 1033 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_format.c:353:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  353 | foCleanup()
      |          ^
      |           void
--- src/xml_elem.o ---
1 warning generated.
--- src/xml_select.o ---
depbase=`echo src/xml_select.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml_select.o -MD -MP -MF $depbase.Tpo -c -o src/xml_select.o src/xml_select.c && mv -f $depbase.Tpo $depbase.Po
--- src/trans.o ---
7 warnings generated.
--- src/xml_trans.o ---
depbase=`echo src/xml_trans.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml_trans.o -MD -MP -MF $depbase.Tpo -c -o src/xml_trans.o src/xml_trans.c && mv -f $depbase.Tpo $depbase.Po
--- src/xml_C14N.o ---
3 warnings generated.
--- src/xml_validate.o ---
depbase=`echo src/xml_validate.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml_validate.o -MD -MP -MF $depbase.Tpo -c -o src/xml_validate.o src/xml_validate.c && mv -f $depbase.Tpo $depbase.Po
--- src/escape-usage.o ---
depbase=`echo src/escape-usage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/escape-usage.o -MD -MP -MF $depbase.Tpo -c -o src/escape-usage.o src/escape-usage.c && mv -f $depbase.Tpo $depbase.Po
--- src/xml_format.o ---
8 warnings generated.
--- src/edit-usage.o ---
depbase=`echo src/edit-usage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/edit-usage.o -MD -MP -MF $depbase.Tpo -c -o src/edit-usage.o src/edit-usage.c && mv -f $depbase.Tpo $depbase.Po
--- src/xml_ls.o ---
2 warnings generated.
--- src/usage.o ---
depbase=`echo src/usage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/usage.o -MD -MP -MF $depbase.Tpo -c -o src/usage.o src/usage.c && mv -f $depbase.Tpo $depbase.Po
--- src/elem-usage.o ---
depbase=`echo src/elem-usage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/elem-usage.o -MD -MP -MF $depbase.Tpo -c -o src/elem-usage.o src/elem-usage.c && mv -f $depbase.Tpo $depbase.Po
--- src/xml.o ---
depbase=`echo src/xml.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/libxml2   -Wall -pedantic -ansi -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/xml.o -MD -MP -MF $depbase.Tpo -c -o src/xml.o src/xml.c && mv -f $depbase.Tpo $depbase.Po
--- src/xml_pyx.o ---
src/xml_pyx.c:203:36: error: expected ')'
  203 | pyxExternalSubsetHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name,
      |                                    ^
src/xml_pyx.c:203:25: note: to match this '('
  203 | pyxExternalSubsetHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name,
      |                         ^
src/xml_pyx.c:206:36: error: use of undeclared identifier 'name'
  206 |     fprintf(stdout, "D %s PUBLIC", name); /* TODO: re-check */
      |                                    ^
src/xml_pyx.c:207:9: error: use of undeclared identifier 'ExternalID'
  207 |     if (ExternalID == NULL)
      |         ^
--- src/xml_select.o ---
src/xml_select.c:552:55: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
--- src/xml_pyx.o ---
src/xml_pyx.c:210:36: error: use of undeclared identifier 'ExternalID'
  210 |         fprintf(stdout, " \"%s\"", ExternalID);
      |                                    ^
--- src/xml_trans.o ---
src/xml_trans.c:131:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  131 | trCleanup()
      |          ^
      |           void
--- src/xml_select.o ---
  552 |                 xmlStrPrintf(num_buf, sizeof num_buf, BAD_CAST "t%d", t);
      |                                                       ^~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/xmlstring.h:35:18: note: expanded from macro 'BAD_CAST'
   35 | #define BAD_CAST (xmlChar *)
      |                  ^
/usr/local/include/libxml2/libxml/xmlstring.h:100:54: note: passing argument to parameter 'msg' here
  100 |                                          const char *msg,
      |                                                      ^
--- src/xml_pyx.o ---
src/xml_pyx.c:211:9: error: use of undeclared identifier 'SystemID'; did you mean 'system'?
  211 |     if (SystemID == NULL)
      |         ^~~~~~~~
      |         system
/usr/include/stdlib.h:122:6: note: 'system' declared here
  122 | int      system(const char *);
      |          ^
src/xml_pyx.c:214:38: error: use of undeclared identifier 'SystemID'; did you mean 'system'?
  214 |         fprintf(stdout, " \"%s\"\n", SystemID);
      |                                      ^~~~~~~~
      |                                      system
/usr/include/stdlib.h:122:6: note: 'system' declared here
  122 | int      system(const char *);
      |          ^
src/xml_pyx.c:218:29: error: expected ')'
  218 | pyxCommentHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value)
      |                             ^
src/xml_pyx.c:218:18: note: to match this '('
  218 | pyxCommentHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value)
      |                  ^
src/xml_pyx.c:221:18: error: use of undeclared identifier 'value'
  221 |     SanitizeData(value, xmlStrlen(value));
      |                  ^
src/xml_pyx.c:221:35: error: use of undeclared identifier 'value'
  221 |     SanitizeData(value, xmlStrlen(value));
      |                                   ^
src/xml_pyx.c:226:32: error: expected ')'
  226 | pyxCdataBlockHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value, int len)
      |                                ^
src/xml_pyx.c:226:21: note: to match this '('
  226 | pyxCdataBlockHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value, int len)
      |                     ^
src/xml_pyx.c:229:18: error: use of undeclared identifier 'value'
  229 |     SanitizeData(value, len);
      |                  ^
src/xml_pyx.c:229:25: error: use of undeclared identifier 'len'
  229 |     SanitizeData(value, len);
      |                         ^
src/xml_pyx.c:291:27: error: 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]
  291 |     pyxSAX.externalSubset = pyxExternalSubsetHandler;
      |                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~
src/xml_pyx.c:292:20: error: incompatible function pointer types assigning to 'commentSAXFunc' (aka 'void (*)(void *, const unsigned char *)') from 'void (void *)' [-Wincompatible-function-pointer-types]
  292 |     pyxSAX.comment = pyxCommentHandler;
      |                    ^ ~~~~~~~~~~~~~~~~~
src/xml_pyx.c:293:23: error: incompatible function pointer types assigning to 'cdataBlockSAXFunc' (aka 'void (*)(void *, const unsigned char *, int)') from 'void (void *)' [-Wincompatible-function-pointer-types]
  293 |     pyxSAX.cdataBlock = pyxCdataBlockHandler;
      |                       ^ ~~~~~~~~~~~~~~~~~~~~
15 errors generated.
*** [src/xml_pyx.o] Error code 1

make[1]: stopped in /magus/work/usr/mports/textproc/xmlstarlet/work/xmlstarlet-1.6.1
--- src/xml_select.o ---
src/xml_select.c:885:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  885 |         if ((comp->case_order == NULL) /* && (comp->has_case_order != 0) */) {
      |              ~~~~~~~~~~~~~~~~~^~~~~~~
src/xml_select.c:885:24: note: remove extraneous parentheses around the comparison to silence this warning
  885 |         if ((comp->case_order == NULL) /* && (comp->has_case_order != 0) */) {
      |             ~                 ^      ~
src/xml_select.c:885:24: note: use '=' to turn this equality comparison into an assignment
  885 |         if ((comp->case_order == NULL) /* && (comp->has_case_order != 0) */) {
      |                               ^~
      |                               =
--- src/xml_validate.o ---
src/xml_validate.c:300:43: error: incompatible function pointer types passing 'void (void *, xmlErrorPtr)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
  300 |     xmlSetStructuredErrorFunc(&errorInfo, reportError);
      |                                           ^~~~~~~~~~~
/usr/local/include/libxml2/libxml/xmlerror.h:905:29: note: passing argument to parameter 'handler' here
  905 |                                  xmlStructuredErrorFunc handler);
      |                                                         ^
src/xml_validate.c:301:5: warning: 'xmlLineNumbersDefault' is deprecated [-Wdeprecated-declarations]
  301 |     xmlLineNumbersDefault(1);
      |     ^
/usr/local/include/libxml2/libxml/parser.h:1123:1: note: 'xmlLineNumbersDefault' has been explicitly marked deprecated here
 1123 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_validate.c:493:9: warning: 'xmlRelaxNGCleanupTypes' is deprecated [-Wdeprecated-declarations]
  493 |         xmlRelaxNGCleanupTypes();
      |         ^
/usr/local/include/libxml2/libxml/relaxng.h:123:1: note: 'xmlRelaxNGCleanupTypes' has been explicitly marked deprecated here
  123 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
src/xml_validate.c:494:9: warning: 'xmlSchemaCleanupTypes' is deprecated [-Wdeprecated-declarations]
  494 |         xmlSchemaCleanupTypes();
      |         ^
/usr/local/include/libxml2/libxml/xmlschemastypes.h:35:1: note: 'xmlSchemaCleanupTypes' has been explicitly marked deprecated here
   35 | XML_DEPRECATED
      | ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
   61 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
3 warnings and 1 error generated.
--- src/xml_edit.o ---
5 warnings generated.
--- src/xml_validate.o ---
*** [src/xml_validate.o] Error code 1

make[1]: stopped in /magus/work/usr/mports/textproc/xmlstarlet/work/xmlstarlet-1.6.1
--- src/xml_trans.o ---
1 warning generated.
--- src/xml.o ---
src/xml.c:300:43: error: incompatible function pointer types passing 'void (void *, xmlErrorPtr)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
  300 |     xmlSetStructuredErrorFunc(&errorInfo, reportError);
      |                                           ^~~~~~~~~~~
/usr/local/include/libxml2/libxml/xmlerror.h:905:29: note: passing argument to parameter 'handler' here
  905 |                                  xmlStructuredErrorFunc handler);
      |                                                         ^
1 error generated.
*** [src/xml.o] Error code 1

make[1]: stopped in /magus/work/usr/mports/textproc/xmlstarlet/work/xmlstarlet-1.6.1
--- src/xml_select.o ---
2 warnings generated.
3 errors

make[1]: stopped in /magus/work/usr/mports/textproc/xmlstarlet/work/xmlstarlet-1.6.1

make: stopped in /magus/work/usr/mports/textproc/xmlstarlet/work/xmlstarlet-1.6.1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/textproc/xmlstarlet

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis