Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70589 - Compile failure (syntax errors) while emergin gnome-chord
Summary: Compile failure (syntax errors) while emergin gnome-chord
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-09 09:29 UTC by abcdefg
Modified: 2005-05-27 02:15 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abcdefg 2004-11-09 09:29:55 UTC
When I compile gnome-chord it halts with an error (Exitcode 2), above in the message I can see syntax errors which are generated by gcc. 

Reproducible: Always
Steps to Reproduce:
To reproduce I only have to type: "emerge gnome-chord". I asked a friend to try compiling it too and he has the same error. He has a different computer with a different processor.

Actual Results:  
It halted with an error:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/u
sr/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/bono
bo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/g
tk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freety
pe2/config -I/usr/include/libxml2 -DGTK_DISABLE_DEPRECATED=1 -DPACKAGE_DATA_DIR=
\"/usr/share/gnome-chord2\" -march=pentium3 -O2 -pipe -c fileReader.c  -fPIC -DP
IC -o .libs/fileReader.lo
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
                 from /usr/include/libgnomeui-2.0/gnome.h:7,
                 from fileWriter.h:6,
                 from fileWriter.c:2:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:63: error: syntax error bef
ore "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:63: warning: no semicolon a
t end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:67: error: syntax error bef
ore '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:70: error: syntax error bef
ore "GtkComboClass"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:70: warning: no semicolon a
t end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:78: error: syntax error bef
ore '}' token
make[3]: *** [fileWriter.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/u
sr/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/bono
bo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/g
tk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freety
pe2/config -I/usr/include/libxml2 -DGTK_DISABLE_DEPRECATED=1 -DPACKAGE_DATA_DIR=
\"/usr/share/gnome-chord2\" -march=pentium3 -O2 -pipe -c fileReader.c -o fileRea
der.o >/dev/null 2>&1
mv -f .libs/fileReader.lo fileReader.lo
make[3]: Leaving directory `/var/tmp/portage/gnome-chord-0.7.0/work/gnome-chord2
-0.7.0/src/libgchord'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-chord-0.7.0/work/gnome-chord2
-0.7.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-chord-0.7.0/work/gnome-chord2
-0.7.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-editors/gnome-chord-0.7.0 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
It should have installed gnome-chord succesfully.

emerge info:

Portage 2.0.51-r2 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.7-gentoo-r11 i686)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Celeron(TM) CPU                1000MHz
Gentoo Base System version 1.4.16
distcc 2.16 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i386-pc-linux-gnu"
COMPILER=""
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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="rsync://linux.rz.ruhr-uni-bochum.de/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm avi berkdb bitmap-fonts cdr crypt cups directfb encode
esd f77 fam foomaticdb gdbm gif gpm gtk gtk2 guile imagemagick imlib java jpeg
junit libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis
opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell
ssl svga tcltk tcpd tetex tiff truetype unicode x86 xml xml2 xmms xv zlib"

These are the versions I have where gnome-chord depends on: 

gnome-base/libgnomeui-2.6.1.1
gnome-base/libbonoboui-2.6.1
gnome-base/gconf-2.6.2
sys-devel/gettext-0.12.1-r2
dev-util/pkgconfig-0.15.0
Comment 1 foser (RETIRED) gentoo-dev 2004-11-10 14:34:56 UTC
imagine how often this pack gets used, gtkcombo error.

try compiling like this : 'CFLAGS="-UGTK_DISABLE_DEPRECATED" emerge gnome-chord'
Comment 2 oktay altunergil 2004-12-03 11:12:14 UTC
Package compiles with the suggested CFLAGS, but does not run. It crashes as soon as it's launched.

There's this error (typo) at the end of the emerge output. I doubt it has anything to do with this problem but here it is anyway.

>>> /etc/gconf/schemas/gnome-chord.schema
 * Installing GNOME 2 GConf schemas
WARNING: failed to parse type name `stirng'
WARNING: invalid or missing type for schema (/schemas/apps/gnome-chord/gchordCanvasRenderer/stringColor)
Comment 3 Rance Smith 2005-03-10 16:11:01 UTC
I am also getting a similar error

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 -DGTK_DISABLE_DEPRECATED=1 -DPACKAGE_DATA_DIR=\"/usr/share/gnome-chord2\" -O3 -mcpu=athlon-xp -pipe -fomit-frame-pointer -c xml2ChordParser.c -o xml2ChordParser.o >/dev/null 2>&1
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
                 from /usr/include/libgnomeui-2.0/gnome.h:7,
                 from fileWriter.h:6,
                 from fileWriter.c:2:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:63: error: parse error before "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:63: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:67: error: parse error before '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:70: error: parse error before "GtkComboClass"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:70: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:78: error: parse error before '}' token
make[3]: *** [fileWriter.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .libs/xml2ChordParser.lo xml2ChordParser.lo
make[3]: Leaving directory `/var/tmp/portage/gnome-chord-0.7.0/work/gnome-chord2-0.7.0/src/libgchord'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-chord-0.7.0/work/gnome-chord2-0.7.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-chord-0.7.0/work/gnome-chord2-0.7.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-editors/gnome-chord-0.7.0 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  3 2005, 09:58:35)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode esd fam font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg libg++ libwww mad mikmod mmx mmx2 motif mozilla mp3 mpeg ncurses network nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Comment 4 Rance Smith 2005-03-10 16:50:29 UTC
Oh Looks like this CFLAGS option fixed it for me but I couldn't just set it in the shell with export CFLAGS I actually had to add it to make.conf to make it take it.

-UGTK_DISABLE_DEPRECATED
Comment 5 Leonardo Boshell (RETIRED) gentoo-dev 2005-05-27 00:42:51 UTC
This package looks unmaintained, both upstream and in our tree. It should be
masked and removed from our tree unless someone wants to take care of this.
Comment 6 foser (RETIRED) gentoo-dev 2005-05-27 02:15:44 UTC
then mask it.