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

Bug 52175

Summary: app-editors/katoob-0.3.5 fails to build
Product: Gentoo Linux Reporter: Aniruddha Shankar <k>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: coredumb, coronalvr
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 45747    
Attachments: gtk24.patch

Description Aniruddha Shankar 2004-05-27 04:13:55 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/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   -march=pentium3 -O2 -pipe -msse -mmmx -pipe -Wall -I/usr/include/gtksourceview-1.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -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/libart-2.0   -I./fribidi/    -march=pentium3 -O2 -pipe -msse -mmmx -pipe -Wall -c `test -f 'html.c' || echo './'`html.c
source='init.c' object='init.o' libtool=no \
depfile='.deps/init.Po' tmpdepfile='.deps/init.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/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   -march=pentium3 -O2 -pipe -msse -mmmx -pipe -Wall -I/usr/include/gtksourceview-1.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -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/libart-2.0   -I./fribidi/    -march=pentium3 -O2 -pipe -msse -mmmx -pipe -Wall -c `test -f 'init.c' || echo './'`init.c
source='iransystem.c' object='iransystem.o' libtool=no \
depfile='.deps/iransystem.Po' tmpdepfile='.deps/iransystem.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/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   -march=pentium3 -O2 -pipe -msse -mmmx -pipe -Wall -I/usr/include/gtksourceview-1.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -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/libart-2.0   -I./fribidi/    -march=pentium3 -O2 -pipe -msse -mmmx -pipe -Wall -c `test -f 'iransystem.c' || echo './'`iransystem.c
file.c: In function `katoob_create_file_selection':
file.c:63: warning: implicit declaration of function `gtk_combo_new'
file.c:63: warning: assignment makes pointer from integer without a cast
file.c:64: warning: implicit declaration of function `gtk_combo_set_popdown_strings'
file.c:64: warning: implicit declaration of function `GTK_COMBO'
file.c:65: warning: implicit declaration of function `gtk_combo_set_value_in_list'
file.c:66: warning: implicit declaration of function `gtk_combo_set_case_sensitive'
file.c:68: error: invalid type argument of `->'
file.c:82: error: invalid type argument of `->'
make[4]: *** [file.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/katoob-0.3.5/work/katoob-0.3.5/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/katoob-0.3.5/work/katoob-0.3.5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/katoob-0.3.5/work/katoob-0.3.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/katoob-0.3.5/work/katoob-0.3.5'
make: *** [all] Error 2

!!! ERROR: app-editors/katoob-0.3.5 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! Compilation failed


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




karim root # emerge  info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Celeron(TM) CPU                1100MHz
Gentoo Base System version 1.4.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -msse -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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="-march=pentium3 -O2 -pipe -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mail.sarai.kit/gentoo-portage"
USE="X aalib acpi acpi4linux alsa apache2 apm arts artswrappersuid avi berkdb
cdr crypt cups curl dga dnd dv dvb dvd encode esd faad fam flac flash fltk
foomaticdb gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml i8x0
imagemagick imap imlib imlib2 java javascript jpeg kde lcms ldap libg++ libwww
linguas_hi mad maildir mbox mikmod mmx mng motif mozilla mozinterfaceinfo
moznoirc mozp3p mozsvg mozxmlterm mpeg mysql ncurses nls oav oggvorbis opengl
oss pam pdflib perl png ppds python qt quicktime readline samba scanner sdl
slang slp speex spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb
vim-with-x wmf x86 xml xml2 xmms xv xvid zlib"
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-05-27 20:28:57 UTC
Created attachment 32188 [details, diff]
gtk24.patch

This is a problem with gtk+ compatibility. Here is a patch that allows katoob
to compile with gtk-2.4
Comment 2 foser (RETIRED) gentoo-dev 2004-05-28 03:09:36 UTC
why not just remove the def? While at it, remove all of them DISABLE_DEPR, they shouldn't be in stable releases.

@ coronalvr & coredumb .. middle-east@g.o doesn't exist (in bugzilla). Please create it.
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2004-05-30 14:38:41 UTC
This has been fixed now. Thank you for your report.