Date: Thu, 27 Jul 2023 09:05:17 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 272750] graphics/gegl: Build failure with librsvg2 2.40.21_3 Message-ID: <bug-272750-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272750 Bug ID: 272750 Summary: graphics/gegl: Build failure with librsvg2 2.40.21_3 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: thmu7@freenet.de Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org The recent gegl update to version 0.4.46 fails to build with the librsvg2 version in ports (2.40.21). This is on 12.4-STABLE: [ 65% 825/1268] cc -Ioperations/external/svg-load.so.p -Ioperations/external -I../operations/external -I. -I.. -Igegl -I../gegl -Igegl/buffer -I../gegl/buffer -Igegl/graph -I../gegl/graph -Igegl/module -I../gegl/module -Igegl/opencl -I../gegl/opencl -Igegl/operation -I../gegl/operation -Igegl/process -I../gegl/process -Igegl/property-types -I../gegl/property-t= ypes -I/usr/local/include/babl-0.1 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/librsvg-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -fno-color-diagnostics -D_FILE_OFFSET_BITS=3D= 64 -Wall -Winvalid-pch -std=3Dgnu11 -DHAVE_CONFIG_H -Ofast -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-unused-parameter -Wno-cast-function-type -ftree-vectorize -Wmissing-prototypes -Wold-style-definition -O2 -pipe -Wno-error=3Dincompatible-function-pointer= -types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -D_THREAD_SAFE -MD -MQ operations/external/svg-load.so.p/svg-load.c.o -MF operations/external/svg-load.so.p/svg-load.c.o.d -o operations/external/svg-load.so.p/svg-load.c.o -c ../operations/external/svg-load.c FAILED: operations/external/svg-load.so.p/svg-load.c.o=20 cc -Ioperations/external/svg-load.so.p -Ioperations/external -I../operations/external -I. -I.. -Igegl -I../gegl -Igegl/buffer -I../gegl/buffer -Igegl/graph -I../gegl/graph -Igegl/module -I../gegl/module -Igegl/opencl -I../gegl/opencl -Igegl/operation -I../gegl/operation -Igegl/process -I../gegl/process -Igegl/property-types -I../gegl/property-t= ypes -I/usr/local/include/babl-0.1 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/librsvg-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -fno-color-diagnostics -D_FILE_OFFSET_BITS=3D= 64 -Wall -Winvalid-pch -std=3Dgnu11 -DHAVE_CONFIG_H -Ofast -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-unused-parameter -Wno-cast-function-type -ftree-vectorize -Wmissing-prototypes -Wold-style-definition -O2 -pipe -Wno-error=3Dincompatible-function-pointer= -types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -D_THREAD_SAFE -MD -MQ operations/external/svg-load.so.p/svg-load.c.o -MF operations/external/svg-load.so.p/svg-load.c.o.d -o operations/external/svg-load.so.p/svg-load.c.o -c ../operations/external/svg-load.c ../operations/external/svg-load.c:83:3: warning: implicit declaration of function 'rsvg_handle_get_intrinsic_size_in_pixels' is invalid in C99 [-Wimplicit-function-declaration] rsvg_handle_get_intrinsic_size_in_pixels (p->handle, &out_width, &out_height); ^ ../operations/external/svg-load.c:101:5: error: unknown type name 'RsvgRectangle'; did you mean 'GeglRectangle'? RsvgRectangle svg_rect =3D {0.0, 0.0, width, height}; ^~~~~~~~~~~~~ GeglRectangle ../gegl/buffer/gegl-buffer.h:34:31: note: 'GeglRectangle' declared here typedef struct _GeglRectangle GeglRectangle; ^ ../operations/external/svg-load.c:118:5: warning: implicit declaration of function 'rsvg_handle_render_document' is invalid in C99 [-Wimplicit-function-declaration] rsvg_handle_render_document (p->handle, cr, &svg_rect, &error); ^ This fix =20=20 https://gitlab.gnome.org/GNOME/gegl/-/commit/a99a93e5c9013bd4101f5058cdee7d= 0cf30234fe in the upstream should fix the build problems. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272750-6497>