Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45410 - rep-gtk-0.18 crash conflicting with "gtkradiomenuitem"
Summary: rep-gtk-0.18 crash conflicting with "gtkradiomenuitem"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Highest major
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-22 10:08 UTC by olivier bulteel
Modified: 2004-03-29 11:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
update rep-gtk headers to match gtk2 includes (rep-gtk-0.18_gtk2.patch,1.54 KB, patch)
2004-03-26 22:19 UTC, Phillip L
Details | Diff
ebuild for rep-gtk that uses previously attached compile fix patch (rep-gtk-0.18-r1.ebuild,1.30 KB, text/plain)
2004-03-26 22:20 UTC, Phillip L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description olivier bulteel 2004-03-22 10:08:21 UTC
i try to emerge sawfish who needs rep-gtk and rep-gtk crashed with the errors above

Reproducible: Always
Steps to Reproduce:
1.emerge rep-gtk (or emerge sawfish who need rep-gtk ...)
2.
3.

Actual Results:  
emerge sawfish
Calculating dependencies ...done!
>>> emerge (1 of 2) x11-libs/rep-gtk-0.18 to /
>>> md5 src_uri ;-) rep-gtk-0.18.tar.gz
>>> Unpacking source...
>>> Unpacking rep-gtk-0.18.tar.gz to /var/tmp/portage/rep-gtk-0.18/work
>>> Source unpacked.
creating cache ./config.cache
checking host system type... i486-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -mcpu=athlon-xp -O3 -pipe ) works... yes
checking whether the C compiler (gcc -mcpu=athlon-xp -O3 -pipe ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking whether gcc needs -traditional... no
checking for rep - version >= 0.13... version 0.17
checking for GNU msgfmt... /usr/bin/msgfmt
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 1.3... yes
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking GLIB_LIBS... -lglib-2.0  
checking for gtk+-2.0 >= 1.3... yes
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking GTK_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0  
checking for gdk-pixbuf-2.0 >= 1.3.11... yes
checking GDK_PIXBUF_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  
checking GDK_PIXBUF_LIBS... -Wl,--export-dynamic -lgdk_pixbuf-2.0 -lm
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for GNOME libs... 2.4.0
checking for libglade-2.0 >= 1.99... yes
checking LIBGLADE_CFLAGS... -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking LIBGLADE_LIBS... -Wl,--export-dynamic -lglade-2.0 -lgtk-x11-2.0 -lxml2
-lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for working const... yes
checking for inline... inline
checking for ANSI C header files... yes
checking for size_t... yes
checking for gdk_color_copy... yes
checking for gtk_widget_peek_colormap... no
checking for gtk_type_get_info... no
checking for gtk_signal_set_class_function_full... no
checking for setlocale... yes
checking for locale.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating rep-gtk.spec
creating config.h
mkdir gtk-2
/usr/lib/rep/i486-pc-linux-gnu/libtool --mode=compile gcc -c  -DHAVE_CONFIG_H
-I. -mcpu=athlon-xp -O3 -pipe -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include -I/usr/lib/rep/i486-pc-linux-gnu -I/usr/include/libglade-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-DORBIT2=1 -pthread -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0  
-DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2  
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/X11R6/include   -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   rep-types.c
/usr/lib/rep/i486-pc-linux-gnu/libtool --mode=compile gcc -c  -DHAVE_CONFIG_H
-I. -mcpu=athlon-xp -O3 -pipe -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include -I/usr/lib/rep/i486-pc-linux-gnu -I/usr/include/libglade-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-DORBIT2=1 -pthread -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0  
-DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2  
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/X11R6/include   -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   rep-gtk.c
mkdir .libs
 gcc -c -DHAVE_CONFIG_H -I. -mcpu=athlon-xp -O3 -pipe -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include -I/usr/lib/rep/i486-pc-linux-gnu -I/usr/include/libglade-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DORBIT2=1 -pthread -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -DORBIT2=1
-pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include rep-gtk.c  -fPIC -DPIC -o
.libs/rep-gtk.o
 gcc -c -DHAVE_CONFIG_H -I. -mcpu=athlon-xp -O3 -pipe -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include -I/usr/lib/rep/i486-pc-linux-gnu -I/usr/include/libglade-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DORBIT2=1 -pthread -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -DORBIT2=1
-pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include rep-types.c  -fPIC -DPIC -o
.libs/rep-types.o
In file included from rep-types.c:24:
rep-gtk.h:294: error: conflicting types for
`gtk_radio_menu_item_new_with_label_from_widget'
/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h:79: error: previous declaration of
`gtk_radio_menu_item_new_with_label_from_widget'
rep-gtk.h:297: error: conflicting types for
`gtk_radio_menu_item_new_with_mnemonic_from_widget'
/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h:77: error: previous declaration of
`gtk_radio_menu_item_new_with_mnemonic_from_widget'
make: *** [rep-types.lo] Error 1
make: *** Waiting for unfinished jobs....
In file included from rep-gtk.c:26:
rep-gtk.h:294: error: conflicting types for
`gtk_radio_menu_item_new_with_label_from_widget'
/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h:79: error: previous declaration of
`gtk_radio_menu_item_new_with_label_from_widget'
rep-gtk.h:297: error: conflicting types for
`gtk_radio_menu_item_new_with_mnemonic_from_widget'
/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h:77: error: previous declaration of
`gtk_radio_menu_item_new_with_mnemonic_from_widget'
make: *** [rep-gtk.lo] Error 1

!!! ERROR: x11-libs/rep-gtk-0.18 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)


Expected Results:  
rep-gtk merged (to merge sawfish)

emerge info:
Portage 2.0.50-r2 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.4.26_pre5-gentoo)
=================================================================
System uname: 2.4.26_pre5-gentoo i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i486-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib apm arts avi berkdb crypt cups dvd encode esd firebird foomaticdb
gdbm gif gpm gtk gtk2 guile imlib java javascript jpeg libg++ libwww mad mikmod
motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex truetype
x86 xinerama xml xml2 xmms xv zlib"
Comment 1 Phillip L 2004-03-26 22:19:01 UTC
Created attachment 28133 [details, diff]
update rep-gtk headers to match gtk2 includes

looks like rep-gtk expects includes for older versions of gtk.	the attached
fixes the declerations in several .h files. and allows a clean compile.  tested
for amd64
Comment 2 Phillip L 2004-03-26 22:20:24 UTC
Created attachment 28134 [details]
ebuild for rep-gtk that uses previously attached compile fix patch

added src_unpack and epatch directive.	trivial.
Comment 3 foser (RETIRED) gentoo-dev 2004-03-27 04:34:18 UTC
agriffis, you seem to do the maintenance here, so assigning to you. Could you also add a metadat file ?
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-03-29 11:41:42 UTC
All fixed.  Thanks for the bug report and the patch.