Bug 34896 - gnome-base/librsvg-2.4.0 compile failed.
Bug#: 34896 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: slarti@gentoo.org
Component: GNOME
URL: 
Summary: gnome-base/librsvg-2.4.0 compile failed.
Keywords:  
Status Whiteboard: 
Opened: 2003-12-02 08:55 0000
Description:   Opened: 2003-12-02 08:55 0000
The relevant output seems to be:

svg.c: In function `load_dialog':
svg.c:195: error: incompatible type for argument 4 of `gimp_dialog_new'
svg.c:195: warning: passing arg 5 of `gimp_dialog_new' makes pointer from
integer without a cast
make[2]: *** [svg.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/librsvg-2.4.0/work/librsvg-2.4.0/gimp-plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/librsvg-2.4.0/work/librsvg-2.4.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/librsvg-2.4.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


Reproducible: Always
Steps to Reproduce:
1.emerge gnome-base/librsvg-2.4.0



emerge info:

Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test10-mm1)
=================================================================
System uname: 2.6.0-test10-mm1 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -msse -pipe -fomit-frame-pointer -fforce-addr
-falign-functions -falign-labels -falign-loops -falign-jumps -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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/env.d"
CXXFLAGS="-Os -march=athlon-xp -msse -pipe -fomit-frame-pointer -fforce-addr
-falign-functions -falign-labels -falign-loops -falign-jumps -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm avi berkdb bonobo cdr crypt cups directfb dvd encode
esd fbcon foomaticdb gb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib java joystick
jpeg libg++ libwww mad mikmod mmx mozilla mpeg ncurses nls oggvorbis opengl oss
pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga
tcpd truetype usb videos x86 xine xml xml2 xmms xv zlib"

==========

My first thought on looking at the errors that it is not finding some gtk/gimp
thing, but I have the latest and greatest GTK+2, GTK+1 and both branches of GIMP
installed.

------- Comment #1 From Tom Martin (RETIRED) 2003-12-02 10:12:31 0000 -------
Damn, I'm sorry about the dupes. I'm not quite sure what happened. For admin
reference, these bugs are the dupes:

34894
34895
34897
34898

------- Comment #2 From Tom Martin (RETIRED) 2003-12-02 10:13:03 0000 -------
*** Bug 34894 has been marked as a duplicate of this bug. ***

------- Comment #3 From Tom Martin (RETIRED) 2003-12-02 10:14:03 0000 -------
*** Bug 34895 has been marked as a duplicate of this bug. ***

------- Comment #4 From Tom Martin (RETIRED) 2003-12-02 10:14:54 0000 -------
*** Bug 34898 has been marked as a duplicate of this bug. ***

------- Comment #5 From Tom Martin (RETIRED) 2003-12-02 10:15:40 0000 -------
*** Bug 34897 has been marked as a duplicate of this bug. ***

------- Comment #6 From foser (RETIRED) 2003-12-04 05:00:57 0000 -------
first of all, try lowering your CFLAGS. 

The gimp plugin is not useful anymore, we should probably disable building it.

------- Comment #7 From foser (RETIRED) 2003-12-04 05:38:21 0000 -------
turns out the plugin just doesn't build anymore vs. a recent development
gimp-1.3 release due to an API change. Just added a switch to disable the
plugin in librsvg-2.4.0 . rsync and try again.

thanks for the report.