Summary: | Compile failure (syntax errors) while emergin gnome-chord | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | abcdefg <abcdefg> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic.php?t=248794&highlight= | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
abcdefg
2004-11-09 09:29:55 UTC
imagine how often this pack gets used, gtkcombo error. try compiling like this : 'CFLAGS="-UGTK_DISABLE_DEPRECATED" emerge gnome-chord' 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)
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 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 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. then mask it. |