Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51243 - gjiten fails to compile
Summary: gjiten fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical
Assignee: Josh Glover (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-16 20:55 UTC by Clemens Schwaighofer
Modified: 2004-06-18 10:37 UTC (History)
1 user (show)

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


Attachments
compile against gnome 2.6 (gjiten.patch,1.15 KB, patch)
2004-06-02 03:29 UTC, Florin
Details | Diff
app-dicts/gjiten-2.2.ebuild (Version Bump) (gjiten-2.2.ebuild,1.22 KB, text/plain)
2004-06-16 05:47 UTC, Josh Glover (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Schwaighofer 2004-05-16 20:55:31 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I..     -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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-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   -O2 -Wall -Wunused -ggdb -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -c kanjidic.c
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
                 from gjiten.c:30:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error before "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error before '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before "GtkComboClass"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error before '}' token
gjiten.c: In function `gjiten_paste':
gjiten.c:312: warning: implicit declaration of function `GTK_COMBO'
gjiten.c:312: error: invalid type argument of `->'
gjiten.c:316: error: invalid type argument of `->'
gjiten.c: In function `search_dict':
gjiten.c:951: error: invalid type argument of `->'
gjiten.c: In function `on_text_entered':
gjiten.c:1215: error: invalid type argument of `->'
gjiten.c:1253: warning: implicit declaration of function `gtk_combo_set_popdown_strings'
gjiten.c: In function `on_forward_clicked':
gjiten.c:1259: error: invalid type argument of `->'
gjiten.c: In function `on_back_clicked':
gjiten.c:1267: error: invalid type argument of `->'
gjiten.c: In function `create_window_gjiten':
gjiten.c:1428: warning: implicit declaration of function `gtk_toolbar_insert_stock'
gjiten.c:1430: warning: assignment makes pointer from integer without a cast
gjiten.c:1434: warning: assignment makes pointer from integer without a cast
gjiten.c:1439: warning: assignment makes pointer from integer without a cast
gjiten.c:1444: warning: implicit declaration of function `gtk_toolbar_append_item'
gjiten.c:1446: warning: assignment makes pointer from integer without a cast
gjiten.c:1452: warning: assignment makes pointer from integer without a cast
gjiten.c:1457: warning: assignment makes pointer from integer without a cast
gjiten.c:1587: warning: implicit declaration of function `gtk_option_menu_new'
gjiten.c:1587: warning: assignment makes pointer from integer without a cast
gjiten.c:1589: warning: implicit declaration of function `gtk_option_menu_set_menu'
gjiten.c:1589: warning: implicit declaration of function `GTK_OPTION_MENU'
gjiten.c:1650: warning: implicit declaration of function `gtk_combo_new'
gjiten.c:1650: warning: assignment makes pointer from integer without a cast
gjiten.c:1654: error: invalid type argument of `->'
gjiten.c:1656: warning: implicit declaration of function `gtk_combo_disable_activate'
gjiten.c:1657: warning: implicit declaration of function `gtk_combo_set_case_sensitive'
gjiten.c:1660: error: invalid type argument of `->'
gjiten.c:1662: error: invalid type argument of `->'
gjiten.c:1663: error: invalid type argument of `->'
gjiten.c:1664: error: invalid type argument of `->'
gjiten.c:1677: error: invalid type argument of `->'
gjiten.c:1710: error: invalid type argument of `->'
gjiten.c: In function `main':
gjiten.c:1835: error: invalid type argument of `->'
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
                 from /usr/include/libgnomeui-2.0/gnome.h:7,
                 from kanjidic.c:29:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error before "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error before '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before "GtkComboClass"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error before '}' token
make[2]: *** [gjiten.o] Error 1
make[2]: *** Waiting for unfinished jobs....
kanjidic.c: In function `on_kanji_search':
kanjidic.c:610: warning: implicit declaration of function `GTK_COMBO'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:610: error: invalid type argument of `->'
kanjidic.c:614: error: invalid type argument of `->'
kanjidic.c:619: warning: implicit declaration of function `gtk_combo_set_popdown_strings'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:623: error: invalid type argument of `->'
kanjidic.c:628: error: invalid type argument of `->'
kanjidic.c: In function `radical_selected':
kanjidic.c:745: error: invalid type argument of `->'
kanjidic.c:763: error: invalid type argument of `->'
kanjidic.c: In function `create_window_kanjidic':
kanjidic.c:1148: warning: implicit declaration of function `gtk_toolbar_insert_stock'
kanjidic.c:1150: warning: assignment makes pointer from integer without a cast
kanjidic.c:1154: warning: implicit declaration of function `gtk_toolbar_append_item'
kanjidic.c:1156: warning: assignment makes pointer from integer without a cast
kanjidic.c:1161: warning: assignment makes pointer from integer without a cast
kanjidic.c:1220: warning: implicit declaration of function `gtk_combo_new'
kanjidic.c:1220: warning: assignment makes pointer from integer without a cast
kanjidic.c:1225: error: invalid type argument of `->'
kanjidic.c:1227: warning: implicit declaration of function `gtk_combo_disable_activate'
kanjidic.c:1229: warning: assignment makes pointer from integer without a cast
kanjidic.c:1234: error: invalid type argument of `->'
kanjidic.c:1243: error: invalid type argument of `->'
kanjidic.c:1252: error: invalid type argument of `->'
kanjidic.c:1335: error: invalid type argument of `->'
kanjidic.c:1336: error: invalid type argument of `->'
make[2]: *** [kanjidic.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gjiten-2.1/work/gjiten-2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gjiten-2.1/work/gjiten-2.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-dicts/gjiten-2.1 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)

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




jupiter opt # emerge info 
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo) 
================================================================= 
System uname: 2.6.3-gentoo i686 Intel(R) Pentium(R) 4 CPU 1.60GHz 
Gentoo Base System version 1.4.10 
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium4 -funroll-loops -pipe" 
CHOST="i686-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="-O2 -march=pentium4 -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" 
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/ http://gentoo.gg3.net/ 
ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO 
http://ftp.gentoo.or.kr/ http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" 
USE="X aalib acl acpi alsa apache2 apm arts avi berkdb bonobo canna cdr cjk 
crypt cups curl dga directfb encode esd ethereal fbcon foomaticdb freetds 
freewnn gd gdbm gif gimpprint gnome gpm gtk gtk2 gtkhtml imap imlib innodb 
ipv6 java jpeg kde kerberos lcms ldap libg++ libgda libwww mad maildir mbox 
mcal memlimit mikmod mmx mng motif mozilla mpeg mpi mysql ncurses nls odbc 
oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime 
readline ruby samba sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex 
tiff truetype unicode usb wmf x86 xface xml xml2 xmms xosd xv zlib"
Comment 1 Josh Glover (RETIRED) gentoo-dev 2004-05-17 04:30:10 UTC
I will take this, as I know the author of gjiten. :)
Comment 2 Josh Glover (RETIRED) gentoo-dev 2004-05-31 08:04:37 UTC
I cannot reproduce this on my Athlon system:

: jmglov@delyana; emerge --info
Portage 2.0.50-r7 (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 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
MAKEOPTS="-j2"
USE="3dnow X alsa arts avi berkdb canna cdr cjk crypt cups dvd encode esd foomaticdb gdbm gif gnome gtk gtk2 imlib joystick jpeg kde libg++ libwww mad mmx motif mozilla moznocompose moznoirc moznomail mpeg mule ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype vim-with-x x86 xface xml xml2 xmms xv zlib"

Now trying on my Pentium M system with your exact setup (this will take some time, as I have to emerge all the GNOME crap). I will report back when it is done.
Comment 3 Josh Glover (RETIRED) gentoo-dev 2004-05-31 09:04:15 UTC
I *can* reproduce this on my Pentium M machine. Very strange, as both machines have the same version of gcc (sys-devel/gcc-3.3.2-r5). I have tried unsuccessfully to compile gjiten on my Pentium M machine with the following CFLAGS:

CFLAGS="-O2 -march=pentium3 -msse2 -fomit-frame-pointer -pipe"
CFLAGS="-O2 -march=pentium3 -msse2 -fomit-frame-pointer"
CFLAGS="-O2 -march=pentium3 -msse2"
CFLAGS="-O2 -march=pentium3"
CFLAGS="-O2"
CFLAGS="-march=pentium3"
CFLAGS=""

I have kicked this one upstream to B0ti, the author:

http://sourceforge.net/mailarchive/forum.php?forum_id=36013
Comment 4 N Bush 2004-05-31 15:57:07 UTC
Check your versions of Gtk+/gnome. It is probably due to the upgrade to GTK2.4 and the like.

In which case, a CVS ebild would be handy.


Comment 5 Clemens Schwaighofer 2004-05-31 20:25:08 UTC
well, I have gnome & gtk out of the stable branch (should be gnome 2.6.1 and gtk 2.4.1 or so). But I still have the same compile errors.
Comment 6 Florin 2004-06-02 03:29:18 UTC
Created attachment 32515 [details, diff]
compile against  gnome 2.6

There is a very simple solution to the problem, just remove the
DISABLE_DEPRECATED flags from the Makefile. The attached patch does just that.
Comment 7 Josh Glover (RETIRED) gentoo-dev 2004-06-13 07:57:01 UTC
Gjiten 2.2 is out, which B0ti says will compile cleanly against the latest GNOME libs. I will pull it together soon and hopefully close this bug. Florin, thanks for the patch, but I will probably just remove the 2.1 ebuild.
Comment 8 Josh Glover (RETIRED) gentoo-dev 2004-06-16 05:47:56 UTC
Created attachment 33371 [details]
app-dicts/gjiten-2.2.ebuild (Version Bump)

2.2 is out and compiles cleanly against the latest and greatest GNOME libs. The
new ebuild is in CVS.
Comment 9 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-06-18 10:37:25 UTC
It seems the problem has been sovled. Closing.