pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics/librsvg



On Tue, Feb 07, 2017 at 02:58:24AM +0100, Thomas Klausner wrote:
> On Tue, Feb 07, 2017 at 09:51:47AM +0800, Paul Goyette wrote:
> > With pkgsrc updated to this morning (just a couple hours ago) I am seeing
> > the following reproducible errors when trying to install graphics/librsvg
> > 
> > gmake[2]: Entering directory '/tmp/pkgs/graphics/librsvg/work.x86_64/librsvg-2.40.15/gdk-pixbuf-loader'
> >   CC       libpixbufloader_svg_la-io-svg.lo
> > io-svg.c: In function 'gdk_pixbuf__svg_image_load_increment':
> > io-svg.c:125:17: warning: 'rsvg_handle_set_size_callback' is deprecated [-Wdeprecated-declarations]
> >                  rsvg_handle_set_size_callback (context->handle, context->size_func, context->user_data, NULL);
> >                  ^
> > In file included from io-svg.c:28:0:
> > ../rsvg.h:222:6: note: declared here
> >  void rsvg_handle_set_size_callback (RsvgHandle * handle,
> >       ^
> >   CCLD     libpixbufloader-svg.la
> >   CC       rsvg_loader-test.o
> >   GEN      gdk-pixbuf-loaders
> > Makefile:807: recipe for target 'gdk-pixbuf-loaders' failed
> > gmake[2]: *** [gdk-pixbuf-loaders] Error 139
> > 
> > 
> > This is with Makefile rev 1.89 and buildlink3.mk rev 1.41
> 
> Strange, building for me on 7.99.59/amd64.
> 
> ryo reported that he saw a segfault of
> /usr/pkg/bin/gdk-pixbuf-query-loaders against libpixbufloader-svg.so
> but I didn't see that (yet?).

There's a 5 year old bug against librsvg to stop using
rsvg_handle_set_size_callback() in various places.

Is -Wno-deprecated-declarations safe to add, or is it compile specific?
(gcc & Xcode seem to claim it exists)

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index