Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 63766

Summary: Current librsvg (2.8.0) resolves assertion errors
Product: Gentoo Linux Reporter: Andrew Conkling <andrewski>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: Lowest    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Conkling 2004-09-12 05:34:46 UTC
I had errors in librsvg and, upon inquiry, found out that there have been new versions; the one in Portage is 4 months old.  Is it to be included, or is bound to specific Gnome packages?  If it's a worthy effort, I may try to learn how to update it, but as it is, I know too little ATM.

Reproducible: Always
Steps to Reproduce:
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-09-12 23:18:07 UTC
It is part of gnome-2.8, and will be added with that.
Comment 2 Andrew Conkling 2004-09-13 05:36:47 UTC
Would updating it in Portage break current Gnome?  Does Gnome need that specific, four-month-old, version?
Comment 3 foser (RETIRED) gentoo-dev 2004-09-13 12:41:56 UTC
would waiting a few more days hurt you ?

The version in portage may be four months old, but it was most of those 4 months the newest _stable_ version. Thank you.
Comment 4 Andrew Conkling 2004-09-13 12:55:16 UTC
I meant no offense or impatience; waiting is not a problem.  I was mostly referring to the absence of even unstable packages from which to choose; as I don't use Gnome but plenty of GTK apps, I don't have a specific need for that version but would appreciate using newer versions, understanding their possible instability.

Again, I did not mean to seem pushy; I only came here to inquire after a moderator on the forums suggested it as a non-agressive solution.
Comment 5 Joe McCann (RETIRED) gentoo-dev 2004-09-13 19:44:56 UTC
gentoo/gnome doesn't offer "unstable" packages as you refer to them. The unstable branch of portage is meant for ebuilds that need testing, not unstable packages. Also, you didn't post any of the errors that you had with the current version in portage, nor did you install the newer version to see if it fixed them(yet you said that it resolves them). The initial reactions were caused in part by this being a very vague bug report with no information. next time include the errors, the output of emerge info, and steps you took to solve the problem. There is also already a report about an updated librsvg. 

*** This bug has been marked as a duplicate of 45311 ***
Comment 6 Andrew Conkling 2004-09-13 19:54:28 UTC
Well, it's not actually a duplicate; I was not only reporting an updated package but a resolution of an error.

As for the initial reactions, no one asked for more information; I would have supplied if asked.

The detailed error (at least for completeness's sake) was that when Xfce called on librsvg to draw icons for its panel, it would crash.  It was caused by an apparently dirty way of coding floating point numbers (according to one of the Xfce developers):
(xfce4-panel:22699): Gdk-CRITICAL **: file gdkdraw.c: line 412 (gdk_draw_rectangle): assertion `GDK_IS_GC (gc)' failed
xfce4-panel: art_render_gradient.c:337: art_render_gradient_linear_render_8: Assertion `(stops[ix-1].offset <= offset_fraction + 1e-6) || ((stops[ix].offset > (1.0 - 1e-6)) && (offset_fraction < 1e-6 ))' failed.

Yes, I did install the newer version (but not through portage), and yes it did correct the error; all the other programs that depended on librsvg (no Gnome packages, by the way) are still working correctly, and Xfce is now working correctly.

If you still want it, here's my emerge info:
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-rc2-love3)
=================================================================
System uname: 2.6.8-rc2-love3 i686 Intel(R) Pentium(R) 4 CPU 1300MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://mirrors.tds.net/gentoo ftp://ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/fluidportage/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb bitmap-fonts bzlib cdr crypt directfb dvd encode esd fbcon gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mmx motif mpeg ncurses nls opengl pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd truetype x86 xml2 xmms xosd xprint xv zlib"