MidnightBSD Magus

graphics/libsvg

Parser for SVG content in files or buffers

Flavor Version Run OSVersion Arch License Restricted Status
0.1.4_8 634 4.0 i386 lgpl 0 fail

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

Events

Machine Type Time Message
m4032 info 2026-04-23 11:50:09.543043 Test Started
m4032 fail 2026-04-23 11:50:30.999479 make build returned non-zero: 1
m4032 fail 2026-04-23 11:50:31.07654 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.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_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_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_ascii.lo ---
mkdir .libs
--- svg_group.lo ---
mkdir .libs
mkdir: .libs: File exists
--- 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_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_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
--- 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_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_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
--- 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_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"
      |    ^
In file included from svg_group.c:23:
--- 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 ---
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_group.lo ---
./svgint.h:40:9: error: unknown type name 'xmlParserCtxtPtr'
   40 | typedef xmlParserCtxtPtr svg_xml_parser_context_t;
      |         ^
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_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]
  163 |         status = _svg_element_parse_view_box (view_box_str,
      |                ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  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_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_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_group.c:253:19: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned int)'; 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_group.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- 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"
      |    ^
--- 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_color.lo ---
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_attribute.lo ---
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"
      |    ^
--- svg_image.lo ---
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"
      |    ^
--- svg_gradient.lo ---
svg_gradient.c:56:23: warning: call to undeclared library function 'malloc' with type 'void *(unsigned int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   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_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_gradient.c:115:14: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned int)'; 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'
4 warnings and 1 error generated.
*** [svg_gradient.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_attribute.lo ---
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_color.lo ---
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),
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  347 |                    sizeof (svg_color_map_t),
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~
  348 |                    _svg_color_cmp);
      |                    ~~~~~~~~~~~~~~~
--- svg_image.lo ---
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_color.lo ---
2 warnings and 2 errors generated.
--- 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]
   15 |   #warning "libxml/SAX.h is deprecated"
      |    ^
--- 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 ---
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.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_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_image.lo ---
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.lo ---
svg.c:39:12: warning: call to undeclared library function 'malloc' with type 'void *(unsigned int)'; 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_image.lo ---
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]
--- svg.lo ---
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]
--- svg_image.lo ---
  165 |     status = _svg_image_read_png (image->url,
      |            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- svg.lo ---
   68 |     free (svg->dir_name);
      |     ^
svg.c:68:5: note: include the header  or explicitly provide a declaration for 'free'
--- svg_image.lo ---
  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_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_image.lo ---
svg_image.c:231:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
--- svg.lo ---
3 warnings and 1 error generated.
--- svg_image.lo ---
  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_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
--- svg.lo ---
*** [svg.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_image.lo ---
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 int)'; 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_element.lo ---
svg_element.c:33:16: warning: call to undeclared library function 'malloc' with type 'void *(unsigned int)'; 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_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_image.lo ---
*** [svg_image.lo] Error code 1

make[2]: stopped in /magus/work/usr/mports/graphics/libsvg/work/libsvg-0.1.4/src
--- svg_element.lo ---
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;
      |                ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 warnings and 1 error generated.
*** [svg_element.lo] Error code 1

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