MidnightBSD Magus

graphics/libsvg

Parser for SVG content in files or buffers

Flavor Version Run OSVersion Arch License Restricted Status
0.1.4_8 632 4.0 amd64 lgpl 0 fail

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

Events

Machine Type Time Message
m4064 info 2026-02-17 06:40:00.978287 Test Started
m4064 fail 2026-02-17 06:40:19.564069 make build returned non-zero: 1
m4064 fail 2026-02-17 06:40:19.629426 Test complete.

Log

===>  Building for libsvg-0.1.4_8
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in .
Making all in src
--- svg.lo ---
--- svg_ascii.lo ---
--- svg_attribute.lo ---
--- svg_color.lo ---
--- svg_element.lo ---
--- svg_gradient.lo ---
--- svg_group.lo ---
--- svg_image.lo ---
--- svg_length.lo ---
--- svg_paint.lo ---
--- svg_parser.lo ---
--- svg_pattern.lo ---
--- svg_path.lo ---
--- svg_str.lo ---
--- svg_style.lo ---
--- svg_text.lo ---
--- svg.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg.lo -MD -MP -MF ".deps/svg.Tpo" -c -o svg.lo svg.c;  then mv -f ".deps/svg.Tpo" ".deps/svg.Plo"; else rm -f ".deps/svg.Tpo"; exit 1; fi
--- svg_ascii.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_ascii.lo -MD -MP -MF ".deps/svg_ascii.Tpo" -c -o svg_ascii.lo svg_ascii.c;  then mv -f ".deps/svg_ascii.Tpo" ".deps/svg_ascii.Plo"; else rm -f ".deps/svg_ascii.Tpo"; exit 1; fi
--- svg_attribute.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_attribute.lo -MD -MP -MF ".deps/svg_attribute.Tpo" -c -o svg_attribute.lo svg_attribute.c;  then mv -f ".deps/svg_attribute.Tpo" ".deps/svg_attribute.Plo"; else rm -f ".deps/svg_attribute.Tpo"; exit 1; fi
--- svg_color.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_color.lo -MD -MP -MF ".deps/svg_color.Tpo" -c -o svg_color.lo svg_color.c;  then mv -f ".deps/svg_color.Tpo" ".deps/svg_color.Plo"; else rm -f ".deps/svg_color.Tpo"; exit 1; fi
--- svg_element.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_element.lo -MD -MP -MF ".deps/svg_element.Tpo" -c -o svg_element.lo svg_element.c;  then mv -f ".deps/svg_element.Tpo" ".deps/svg_element.Plo"; else rm -f ".deps/svg_element.Tpo"; exit 1; fi
--- svg_gradient.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_gradient.lo -MD -MP -MF ".deps/svg_gradient.Tpo" -c -o svg_gradient.lo svg_gradient.c;  then mv -f ".deps/svg_gradient.Tpo" ".deps/svg_gradient.Plo"; else rm -f ".deps/svg_gradient.Tpo"; exit 1; fi
--- svg_group.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_group.lo -MD -MP -MF ".deps/svg_group.Tpo" -c -o svg_group.lo svg_group.c;  then mv -f ".deps/svg_group.Tpo" ".deps/svg_group.Plo"; else rm -f ".deps/svg_group.Tpo"; exit 1; fi
--- svg_image.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_image.lo -MD -MP -MF ".deps/svg_image.Tpo" -c -o svg_image.lo svg_image.c;  then mv -f ".deps/svg_image.Tpo" ".deps/svg_image.Plo"; else rm -f ".deps/svg_image.Tpo"; exit 1; fi
--- svg_length.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_length.lo -MD -MP -MF ".deps/svg_length.Tpo" -c -o svg_length.lo svg_length.c;  then mv -f ".deps/svg_length.Tpo" ".deps/svg_length.Plo"; else rm -f ".deps/svg_length.Tpo"; exit 1; fi
--- svg_paint.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_paint.lo -MD -MP -MF ".deps/svg_paint.Tpo" -c -o svg_paint.lo svg_paint.c;  then mv -f ".deps/svg_paint.Tpo" ".deps/svg_paint.Plo"; else rm -f ".deps/svg_paint.Tpo"; exit 1; fi
--- svg_parser.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_parser.lo -MD -MP -MF ".deps/svg_parser.Tpo" -c -o svg_parser.lo svg_parser.c;  then mv -f ".deps/svg_parser.Tpo" ".deps/svg_parser.Plo"; else rm -f ".deps/svg_parser.Tpo"; exit 1; fi
--- svg_path.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_path.lo -MD -MP -MF ".deps/svg_path.Tpo" -c -o svg_path.lo svg_path.c;  then mv -f ".deps/svg_path.Tpo" ".deps/svg_path.Plo"; else rm -f ".deps/svg_path.Tpo"; exit 1; fi
--- svg_pattern.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_pattern.lo -MD -MP -MF ".deps/svg_pattern.Tpo" -c -o svg_pattern.lo svg_pattern.c;  then mv -f ".deps/svg_pattern.Tpo" ".deps/svg_pattern.Plo"; else rm -f ".deps/svg_pattern.Tpo"; exit 1; fi
--- svg_style.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_style.lo -MD -MP -MF ".deps/svg_style.Tpo" -c -o svg_style.lo svg_style.c;  then mv -f ".deps/svg_style.Tpo" ".deps/svg_style.Plo"; else rm -f ".deps/svg_style.Tpo"; exit 1; fi
--- svg_str.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_str.lo -MD -MP -MF ".deps/svg_str.Tpo" -c -o svg_str.lo svg_str.c;  then mv -f ".deps/svg_str.Tpo" ".deps/svg_str.Plo"; else rm -f ".deps/svg_str.Tpo"; exit 1; fi
--- svg_text.lo ---
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H  -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing     -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_text.lo -MD -MP -MF ".deps/svg_text.Tpo" -c -o svg_text.lo svg_text.c;  then mv -f ".deps/svg_text.Tpo" ".deps/svg_text.Plo"; else rm -f ".deps/svg_text.Tpo"; exit 1; fi
--- svg_color.lo ---
mkdir .libs
--- svg_pattern.lo ---
mkdir .libs
--- svg_color.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_color.lo -MD -MP -MF .deps/svg_color.Tpo -c svg_color.c  -fPIC -DPIC -o .libs/svg_color.o
--- svg_pattern.lo ---
mkdir: .libs: File exists
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_pattern.lo -MD -MP -MF .deps/svg_pattern.Tpo -c svg_pattern.c  -fPIC -DPIC -o .libs/svg_pattern.o
In file included from svg_pattern.c:23:
--- svg_color.lo ---
In file included from svg_color.c:26:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
In file included from svg_color.c:26:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
svg_color.c:345:11: warning: call to undeclared function 'bsearch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  345 |     map = bsearch (str, SVG_COLOR_MAP,
      |           ^
svg_color.c:345:9: error: incompatible integer to pointer conversion assigning to 'svg_color_map_t *' (aka 'struct svg_color_map *') from 'int' [-Wint-conversion]
  345 |     map = bsearch (str, SVG_COLOR_MAP,
      |         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  346 |                    SVG_ARRAY_SIZE(SVG_COLOR_MAP),
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- svg_pattern.lo ---
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
In file included from svg_pattern.c:23:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
svg_pattern.c:41:14: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
   41 |     status = _svg_element_create (&pattern->group_element,
      |            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   42 |                                   SVG_ELEMENT_TYPE_GROUP,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~
   43 |                                   parent, doc);
      |                                   ~~~~~~~~~~~~
--- svg_color.lo ---
  347 |                    sizeof (svg_color_map_t),
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~
  348 |                    _svg_color_cmp);
      |                    ~~~~~~~~~~~~~~~
2 warnings and 2 errors generated.
--- svg_pattern.lo ---
svg_pattern.c:56:14: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
   56 |     status = _svg_element_clone (&pattern->group_element, other->group_element);
      |            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings and 1 error generated.
*** [svg_pattern.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_color.lo ---
*** [svg_color.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_attribute.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_attribute.lo -MD -MP -MF .deps/svg_attribute.Tpo -c svg_attribute.c  -fPIC -DPIC -o .libs/svg_attribute.o
In file included from svg_attribute.c:25:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
In file included from svg_attribute.c:25:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
svg_attribute.c:43:13: warning: implicit conversion from enumeration type 'enum svg_status' to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
   43 |             return SVG_STATUS_SUCCESS;
      |             ~~~~~~ ^~~~~~~~~~~~~~~~~~
svg_attribute.c:66:13: warning: implicit conversion from enumeration type 'enum svg_status' to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
   66 |             return SVG_STATUS_SUCCESS;
      |             ~~~~~~ ^~~~~~~~~~~~~~~~~~
svg_attribute.c:89:13: warning: implicit conversion from enumeration type 'enum svg_status' to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
   89 |             return SVG_STATUS_SUCCESS;
      |             ~~~~~~ ^~~~~~~~~~~~~~~~~~
4 warnings and 1 error generated.
*** [svg_attribute.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_image.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_image.lo -MD -MP -MF .deps/svg_image.Tpo -c svg_image.c  -fPIC -DPIC -o .libs/svg_image.o
In file included from svg_image.c:29:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
In file included from svg_image.c:29:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
svg_image.c:78:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   78 |         free (image->url);
      |         ^
svg_image.c:78:2: note: include the header  or explicitly provide a declaration for 'free'
svg_image.c:165:14: warning: implicit conversion from enumeration type 'svg_status_t' (aka 'enum svg_status') to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
  165 |     status = _svg_image_read_png (image->url,
      |            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  166 |                                   &image->data,
      |                                   ~~~~~~~~~~~~~
  167 |                                   &image->data_width,
      |                                   ~~~~~~~~~~~~~~~~~~~
  168 |                                   &image->data_height);
      |                                   ~~~~~~~~~~~~~~~~~~~~
svg_image.c:173:9: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  173 |         return status;
      |         ~~~~~~ ^~~~~~
svg_image.c:176:14: warning: implicit conversion from enumeration type 'svg_status_t' (aka 'enum svg_status') to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
  176 |     status = _svg_image_read_jpeg (image->url,
      |            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  177 |                                    &image->data,
      |                                    ~~~~~~~~~~~~~
  178 |                                    &image->data_width,
      |                                    ~~~~~~~~~~~~~~~~~~~
  179 |                                    &image->data_height);
      |                                    ~~~~~~~~~~~~~~~~~~~~
svg_image.c:186:9: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  186 |         return status;
      |         ~~~~~~ ^~~~~~
svg_image.c:231:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
  231 |     if (!png_sig_cmp (png_sig, 0, sig_bytes) == 0) {
      |         ^                                    ~~
svg_image.c:231:9: note: add parentheses after the '!' to evaluate the comparison first
  231 |     if (!png_sig_cmp (png_sig, 0, sig_bytes) == 0) {
      |         ^                                        
      |          (                                       )
svg_image.c:231:9: note: add parentheses around left hand side expression to silence this warning
  231 |     if (!png_sig_cmp (png_sig, 0, sig_bytes) == 0) {
      |         ^
      |         (                                   )
svg_image.c:233:9: warning: implicit conversion from enumeration type 'enum svgint_status' to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  233 |         return SVGINT_STATUS_IMAGE_NOT_PNG;
      |         ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_image.c:302:13: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  302 |     *data = malloc (png_width * png_height * pixel_size);
      |             ^
svg_image.c:302:13: note: include the header  or explicitly provide a declaration for 'malloc'
svg_image.c:340:11: warning: implicit conversion from enumeration type 'enum svg_status' to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
  340 |         status = SVG_STATUS_PARSE_ERROR;
      |                ~ ^~~~~~~~~~~~~~~~~~~~~~
svg_image.c:372:9: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  372 |         return status;
      |         ~~~~~~ ^~~~~~
11 warnings and 1 error generated.
*** [svg_image.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_str.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_str.lo -MD -MP -MF .deps/svg_str.Tpo -c svg_str.c  -fPIC -DPIC -o .libs/svg_str.o
--- svg_element.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_element.lo -MD -MP -MF .deps/svg_element.Tpo -c svg_element.c  -fPIC -DPIC -o .libs/svg_element.o
--- svg_gradient.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_gradient.lo -MD -MP -MF .deps/svg_gradient.Tpo -c svg_gradient.c  -fPIC -DPIC -o .libs/svg_gradient.o
--- svg_paint.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_paint.lo -MD -MP -MF .deps/svg_paint.Tpo -c svg_paint.c  -fPIC -DPIC -o .libs/svg_paint.o
--- svg_length.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_length.lo -MD -MP -MF .deps/svg_length.Tpo -c svg_length.c  -fPIC -DPIC -o .libs/svg_length.o
--- svg_group.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_group.lo -MD -MP -MF .deps/svg_group.Tpo -c svg_group.c  -fPIC -DPIC -o .libs/svg_group.o
--- svg_ascii.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_ascii.lo -MD -MP -MF .deps/svg_ascii.Tpo -c svg_ascii.c  -fPIC -DPIC -o .libs/svg_ascii.o
--- svg_parser.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_parser.lo -MD -MP -MF .deps/svg_parser.Tpo -c svg_parser.c  -fPIC -DPIC -o .libs/svg_parser.o
--- svg.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg.lo -MD -MP -MF .deps/svg.Tpo -c svg.c  -fPIC -DPIC -o .libs/svg.o
--- svg_str.lo ---
In file included from svg_str.c:23:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- svg_text.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_text.lo -MD -MP -MF .deps/svg_text.Tpo -c svg_text.c  -fPIC -DPIC -o .libs/svg_text.o
--- svg_str.lo ---
In file included from svg_str.c:23:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
--- svg_path.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_path.lo -MD -MP -MF .deps/svg_path.Tpo -c svg_path.c  -fPIC -DPIC -o .libs/svg_path.o
--- svg_str.lo ---
svg_str.c:64:15: warning: implicit conversion from enumeration type 'enum svgint_status' to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
   64 |             status = SVGINT_STATUS_ARGS_EXHAUSTED;
      |                    ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_str.c:70:15: warning: implicit conversion from enumeration type 'enum svgint_status' to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
   70 |             status = SVGINT_STATUS_ARGS_EXHAUSTED;
      |                    ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_str.c:80:12: warning: implicit conversion from enumeration type 'svg_status_t' (aka 'enum svg_status') to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
   80 |     return status;
      |     ~~~~~~ ^~~~~~
svg_str.c:95:15: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   95 |             *value = realloc(*value, size * sizeof(double));
      |                      ^
svg_str.c:95:15: note: include the header  or explicitly provide a declaration for 'realloc'
svg_str.c:97:12: warning: implicit conversion from enumeration type 'enum svg_status' to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
   97 |                 status = SVG_STATUS_NO_MEMORY;
      |                        ~ ^~~~~~~~~~~~~~~~~~~~
svg_str.c:109:11: warning: implicit conversion from enumeration type 'enum svg_status' to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
  109 |         status = SVG_STATUS_SUCCESS;
      |                ~ ^~~~~~~~~~~~~~~~~~
7 warnings and 1 error generated.
--- svg_element.lo ---
In file included from svg_element.c:25:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- svg_style.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_style.lo -MD -MP -MF .deps/svg_style.Tpo -c svg_style.c  -fPIC -DPIC -o .libs/svg_style.o
--- svg_str.lo ---
*** [svg_str.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_element.lo ---
In file included from svg_element.c:25:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
svg_element.c:33:16: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   33 |     *element = malloc( sizeof (svg_element_t));
      |                ^
svg_element.c:33:16: note: include the header  or explicitly provide a declaration for 'malloc'
svg_element.c:35:9: warning: implicit conversion from enumeration type 'enum svg_status' to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
   35 |         return SVG_STATUS_NO_MEMORY;
      |         ~~~~~~ ^~~~~~~~~~~~~~~~~~~~
svg_element.c:37:12: warning: implicit conversion from enumeration type 'svg_status_t' (aka 'enum svg_status') to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
   37 |     return _svg_element_init (*element, type, parent, doc);
      |     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_element.c:95:11: warning: implicit conversion from enumeration type 'enum svgint_status' to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
   95 |         status = SVGINT_STATUS_UNKNOWN_ELEMENT;
      |                ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_element.c:157:11: warning: implicit conversion from enumeration type 'enum svgint_status' to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  157 |         status = SVGINT_STATUS_UNKNOWN_ELEMENT;
      |                ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_element.c:180:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  180 |         free (element->id);
      |         ^
svg_element.c:180:2: note: include the header  or explicitly provide a declaration for 'free'
svg_element.c:214:11: warning: implicit conversion from enumeration type 'enum svgint_status' to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  214 |         status = SVGINT_STATUS_UNKNOWN_ELEMENT;
      |                ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- svg_group.lo ---
In file included from svg_group.c:23:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- svg_gradient.lo ---
In file included from svg_gradient.c:23:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- svg_element.lo ---
svg_element.c:229:9: warning: implicit conversion from enumeration type 'enum svg_status' to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
  229 |         return SVG_STATUS_NO_MEMORY;
      |         ~~~~~~ ^~~~~~~~~~~~~~~~~~~~
svg_element.c:231:12: warning: implicit conversion from enumeration type 'svg_status_t' (aka 'enum svg_status') to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
  231 |     return _svg_element_init_copy (*element, other);
      |     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_element.c:346:15: warning: implicit conversion from enumeration type 'enum svgint_status' to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  346 |             status = SVGINT_STATUS_UNKNOWN_ELEMENT;
      |                    ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_element.c:387:25: warning: variable 'end' set but not used [-Wunused-but-set-variable]
  387 |     const char *start, *end;
      |                         ^
svg_element.c:516:11: warning: implicit conversion from enumeration type 'enum svgint_status' to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  516 |         status = SVGINT_STATUS_UNKNOWN_ELEMENT;
      |                ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- svg_length.lo ---
In file included from svg_length.c:25:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- svg_element.lo ---
13 warnings and 1 error generated.
--- svg_paint.lo ---
In file included from svg_paint.c:25:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- svg_gradient.lo ---
In file included from svg_gradient.c:23:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
--- svg_group.lo ---
In file included from svg_group.c:23:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
--- svg_length.lo ---
In file included from svg_length.c:25:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
--- svg_element.lo ---
*** [svg_element.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_paint.lo ---
In file included from svg_paint.c:25:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
--- svg_group.lo ---
svg_group.c:59:11: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
   59 |         status = _svg_element_clone (&clone, other->element[i]);
      |                ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_group.c:86:5: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   86 |     free (group->element);
      |     ^
svg_group.c:86:5: note: include the header  or explicitly provide a declaration for 'free'
--- svg_parser.lo ---
In file included from svg_parser.c:29:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- svg_group.lo ---
svg_group.c:163:11: warning: implicit conversion from enumeration type 'svg_status_t' (aka 'enum svg_status') to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
--- svg_gradient.lo ---
svg_gradient.c:56:23: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
--- svg_group.lo ---
  163 |         status = _svg_element_parse_view_box (view_box_str,
      |                ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- svg_gradient.lo ---
   56 |     gradient->stops = malloc (gradient->stops_size * sizeof (svg_gradient_stop_t));
      |                       ^
svg_gradient.c:56:23: note: include the header  or explicitly provide a declaration for 'malloc'
--- svg_group.lo ---
  164 |                                               &group->view_box.box.x,
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~
  165 |                                               &group->view_box.box.y,
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~
  166 |                                               &group->view_box.box.width,
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  167 |                                               &group->view_box.box.height);
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- svg_gradient.lo ---
svg_gradient.c:68:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   68 |         free (gradient->stops);
      |         ^
svg_gradient.c:68:2: note: include the header  or explicitly provide a declaration for 'free'
--- svg_group.lo ---
svg_group.c:172:15: warning: implicit conversion from enumeration type 'svg_status_t' (aka 'enum svg_status') to different enumeration type 'svgint_status_t' (aka 'enum svgint_status') [-Wenum-conversion]
  172 |             status = _svg_element_parse_aspect_ratio (aspect_ratio_str, &group->view_box);
      |                    ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_group.c:150:21: warning: variable 'status' set but not used [-Wunused-but-set-variable]
  150 |     svgint_status_t status;
      |                     ^
--- svg_length.lo ---
1 warning and 1 error generated.
--- svg_group.lo ---
svg_group.c:213:9: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  213 |         return status;
      |         ~~~~~~ ^~~~~~
--- svg_gradient.lo ---
svg_gradient.c:115:14: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  115 |         new_stops = realloc (gradient->stops,
      |                     ^
svg_gradient.c:115:14: note: include the header  or explicitly provide a declaration for 'realloc'
--- svg_group.lo ---
svg_group.c:253:19: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  253 |     new_element = realloc (group->element,
      |                   ^
svg_group.c:253:19: note: include the header  or explicitly provide a declaration for 'realloc'
8 warnings and 1 error generated.
--- svg_gradient.lo ---
4 warnings and 1 error generated.
--- svg_paint.lo ---
svg_paint.c:42:18: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   42 |         char            *id = malloc (length+1);
      |                               ^
svg_paint.c:42:18: note: include the header  or explicitly provide a declaration for 'malloc'
svg_paint.c:50:6: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   50 |         free (id);
      |         ^
svg_paint.c:50:6: note: include the header  or explicitly provide a declaration for 'free'
--- svg_parser.lo ---
In file included from svg_parser.c:29:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
--- svg_paint.lo ---
3 warnings and 1 error generated.
--- svg_length.lo ---
*** [svg_length.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_gradient.lo ---
*** [svg_gradient.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_group.lo ---
*** [svg_group.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_parser.lo ---
svg_parser.c:215:21: warning: comparison of different enumeration types ('svg_status_t' (aka 'enum svg_status') and 'enum svgint_status') [-Wenum-compare]
  215 |         if (parser->status == SVGINT_STATUS_UNKNOWN_ELEMENT)
      |             ~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_parser.c:263:15: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  263 |     ch_copy = malloc (len);
      |               ^
svg_parser.c:263:15: note: include the header  or explicitly provide a declaration for 'malloc'
--- svg.lo ---
In file included from svg.c:31:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
--- svg_text.lo ---
In file included from svg_text.c:25:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
--- svg.lo ---
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- svg_text.lo ---
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- svg_parser.lo ---
svg_parser.c:290:5: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  290 |     free (ch_copy);
      |     ^
svg_parser.c:290:5: note: include the header  or explicitly provide a declaration for 'free'
svg_parser.c:344:14: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  344 |     status = _svg_element_create (group_element,
      |            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  345 |                                   SVG_ELEMENT_TYPE_SVG_GROUP,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  346 |                                   parent,
      |                                   ~~~~~~~
  347 |                                   parser->svg);
      |                                   ~~~~~~~~~~~~
svg_parser.c:388:14: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  388 |     status = _svg_element_create (child_element, type,
      |            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  389 |                                   parser->state->group_element,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  390 |                                   parser->svg);
      |                                   ~~~~~~~~~~~~
svg_parser.c:408:12: warning: implicit conversion from enumeration type 'enum svgint_status' to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  408 |     return SVGINT_STATUS_UNKNOWN_ELEMENT;
      |     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_parser.c:497:14: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  497 |     status = _svg_attribute_get_length (attributes, "rx", &((*path_element)->e.rect.rx), "0");
      |            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_parser.c:500:14: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  500 |     status = _svg_attribute_get_length (attributes, "ry", &((*path_element)->e.rect.ry), "0");
      |            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- svg_paint.lo ---
*** [svg_paint.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_parser.lo ---
svg_parser.c:605:11: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  605 |         status = _svg_str_parse_csv_doubles (p, pt, 2, &next);
      |                ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_parser.c:735:85: warning: comparison of different enumeration types ('svgint_status_t' (aka 'enum svgint_status') and 'enum svg_status') [-Wenum-compare]
  735 |     if (_svg_attribute_get_string (attributes, "stop-color", &color_str, "#000000") == SVG_STATUS_SUCCESS)
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~
svg_parser.c:747:12: warning: implicit conversion from enumeration type 'enum svgint_status' to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  747 |     return SVGINT_STATUS_UNKNOWN_ELEMENT;
      |     ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_parser.c:755:18: warning: variable 'status' set but not used [-Wunused-but-set-variable]
  755 |     svg_status_t status;
      |                  ^
13 warnings and 1 error generated.
--- svg.lo ---
In file included from svg.c:31:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
--- svg_text.lo ---
In file included from svg_text.c:25:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
--- svg.lo ---
svg.c:39:12: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   39 |     *svg = malloc (sizeof (svg_t));
      |            ^
svg.c:39:12: note: include the header  or explicitly provide a declaration for 'malloc'
svg.c:68:5: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   68 |     free (svg->dir_name);
      |     ^
svg.c:68:5: note: include the header  or explicitly provide a declaration for 'free'
--- svg_text.lo ---
svg_text.c:47:16: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   47 |         text->chars = malloc (text->len + 1);
      |                       ^
svg_text.c:47:16: note: include the header  or explicitly provide a declaration for 'malloc'
svg_text.c:62:5: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   62 |     free (text->chars);
      |     ^
svg_text.c:62:5: note: include the header  or explicitly provide a declaration for 'free'
svg_text.c:77:17: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   77 |     new_chars = realloc (text->chars, text->len + 1);
      |                 ^
svg_text.c:77:17: note: include the header  or explicitly provide a declaration for 'realloc'
4 warnings and 1 error generated.
--- svg.lo ---
3 warnings and 1 error generated.
--- svg_parser.lo ---
*** [svg_parser.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_path.lo ---
In file included from svg_path.c:27:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- svg_style.lo ---
In file included from svg_style.c:26:
In file included from ./svgint.h:36:
/usr/local/include/libxml2/libxml/SAX.h:15:4: warning: "libxml/SAX.h is deprecated" [-W#warnings]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- svg_text.lo ---
*** [svg_text.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg.lo ---
*** [svg.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_path.lo ---
In file included from svg_path.c:27:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
--- svg_style.lo ---
In file included from svg_style.c:26:
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
svg_style.c:217:29: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  217 |         style->stroke_dash_array = malloc (style->num_dashes * sizeof (double));
      |                                    ^
svg_style.c:217:29: note: include the header  or explicitly provide a declaration for 'malloc'
--- svg_path.lo ---
svg_path.c:408:15: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  408 |             status = _svg_str_parse_csv_doubles (s, arg, cmd_info->num_args, &end);
      |                    ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svg_path.c:410:17: warning: comparison of different enumeration types ('svg_status_t' (aka 'enum svg_status') and 'enum svgint_status') [-Wenum-compare]
  410 |             if (status == SVGINT_STATUS_ARGS_EXHAUSTED)
      |                 ~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- svg_style.lo ---
svg_style.c:266:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  266 |         free (style->font_family);
      |         ^
svg_style.c:266:2: note: include the header  or explicitly provide a declaration for 'free'
svg_style.c:459:9: warning: implicit conversion from enumeration type 'svgint_status_t' (aka 'enum svgint_status') to different enumeration type 'svg_status_t' (aka 'enum svg_status') [-Wenum-conversion]
  459 |         return status;
      |         ~~~~~~ ^~~~~~
svg_style.c:464:19: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  464 |         new_dash_array = realloc(style->stroke_dash_array, style->num_dashes * sizeof(double));
      |                          ^
svg_style.c:464:19: note: include the header  or explicitly provide a declaration for 'realloc'
svg_style.c:661:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  661 |         style->opacity = opacity;
      |         ^
svg_style.c:658:5: note: previous statement is here
  658 |     if (status)
      |     ^
--- svg_path.lo ---
3 warnings and 1 error generated.
--- svg_style.lo ---
6 warnings and 1 error generated.
--- svg_path.lo ---
*** [svg_path.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_style.lo ---
*** [svg_style.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_ascii.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -MT svg_ascii.lo -MD -MP -MF .deps/svg_ascii.Tpo -c svg_ascii.c -o svg_ascii.o >/dev/null 2>&1
15 errors

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
*** [all-recursive] Error code 1

make[1]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4
1 error

make[1]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4
*** [all] Error code 2

make: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4
1 error

make: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4
===> 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/graphics/libsvg

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis