GNOME Bugzilla – Bug 316719
librsvg 2.12.x breaks things
Last modified: 2005-09-21 17:17:26 UTC
Distribution/Version: PLD Linux Distro breakage introduced with librsvg 2.12.x: if i686-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -DGIMP_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -O2 -march=i686 -fomit-frame-pointer -pipe -Wall -MT svg-svg.o -MD -MP -MF ".deps/svg-svg.Tpo" -c -o svg-svg.o `test -f 'svg.c' || echo './'`svg.c; \ then mv -f ".deps/svg-svg.Tpo" ".deps/svg-svg.Po"; else rm -f ".deps/svg-svg.Tpo"; exit 1; fi svg.c: In function `load_rsvg_pixbuf': svg.c:442: error: too many arguments to function `rsvg_handle_set_dpi' svg.c: In function `load_rsvg_size': svg.c:544: error: too many arguments to function `rsvg_handle_set_dpi' make[3]: *** [svg-svg.o] Błąd 1 make[3]: Opuszczenie katalogu `/home/users/fritz/rpm/BUILD/gimp-2.3.4/plug-ins/common'
*** This bug has been marked as a duplicate of 314400 ***
according to #314400 this bug is already fixed, but problem described above happens with CVS HEAD version (fresh checkout).
Why do you report this problem against gimp in the first place? Anyway, please check your installation and have a look at the headers installed by librsvg. What's the signature of the offending function? What's the version number in libgrsvg-features.h?
> Why do you report this problem against gimp in the first place? sorry about that. next time i will report gimp build problems to kernel bugzilla :-P > Anyway, please check your installation and have a look at the headers installed > by librsvg. What's the signature of the offending function? What's the version > number in libgrsvg-features.h? librsvg-features.h: #define LIBRSVG_MAJOR_VERSION (2) #define LIBRSVG_MINOR_VERSION (12) #define LIBRSVG_MICRO_VERSION (0) #define LIBRSVG_VERSION "" rsvg.h: #ifndef RSVG_DISABLE_DEPRECATED void rsvg_set_default_dpi (double dpi); void rsvg_handle_set_dpi (RsvgHandle * handle, double dpi); #endif headers are installed in /usr/include/librsvg-2/librsvg
librsvg changing it's API is still an librsvg bug and should first be reported there. I am somewhat pissed at this point because not only do the librsvg people change their APIs back and forth, they are also obviously not capable of giving us the information we need in order to work around these changes. I have explicitely asked Dom to double-check the change before committing it to CVS and he has assured us that checking for (LIBRSVG_MAJOR_VERSION == 2 && LIBRSVG_MINOR_VERSION >= 11) would be the right thing to do.
i can imagine librsvg dudes reaction on such bug report... propably WON'T FIX. same thing with samba. should i report to samba bugzilla: "hey dudes your funny lib breaks gnome-vfs!, revert your changes!"? at least soname is same ;) i will report this breakage to librsvg bugzilla
Please don't. The problem you had with librsvg 2.12 is due to a broken fix in GIMP CVS for bug #314400. This has been fixed in the meantime.