Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59233 - frontline build errors for trace.c
Summary: frontline build errors for trace.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-02 23:49 UTC by Ed Suominen
Modified: 2005-07-15 08:50 UTC (History)
2 users (show)

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 Ed Suominen 2004-08-02 23:50:00 UTC
>>> md5 src_uri ;-) frontline-0.5.4.tar.gz
>>> Unpacking source...
>>> Unpacking frontline-0.5.4.tar.gz to /var/tmp/portage/frontline-0.5.4/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... (cached) yes
checking whether build environment is sane... yes
checking for a BSD-compatible install... /bin/install -c
checking for gawk... gawk
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for mode_t... yes
checking for gnome-config... /usr/bin/gnome-config
checking if /usr/bin/gnome-config works... yes
checking for orbit-config... /usr/bin/orbit-config
checking for orbit-idl... /usr/bin/orbit-idl
checking for working ORBit environment... yes
checking for gnorba libraries... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for strerror in -lcposix... no
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for GNU gettext in libc... yes
checking for dcgettext... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for bison... bison
checking version of bison... 1.875, ok
checking for catalogs to be installed...  ja
checking for gettext... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libart-2.0 >= 2.3.8... yes
checking LIBART2_CFLAGS... -I/usr/include/libart-2.0
checking LIBART2_LIBS... -lart_lgpl_2
checking for autotrace-config... /usr/bin/autotrace-config
checking for AUTOTRACE - version >= 0.31.1... yes
checking for gimptool... /usr/bin/gimptool
checking for GIMP - version >= 1.2.1... yes
checking libgimp.*... yes
checking for poptPrintHelp in -lpopt... yes
checking for imlib-config... /usr/bin/imlib-config
checking for IMLIB - version >= 1.8.2... yes
configure: creating ./config.status
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating frontline-config
config.status: creating frontline.pc
config.status: creating frontline.spec
config.status: creating frontline/Makefile
config.status: creating gundo/Makefile
config.status: creating gimp/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/frontline-0.5.4/work/frontline-0.5.4'
Making all in intl
make[2]: Entering directory `/var/tmp/portage/frontline-0.5.4/work/frontline-0.5.4/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/frontline-0.5.4/work/frontline-0.5.4/intl'
Making all in gundo
make[2]: Entering directory `/var/tmp/portage/frontline-0.5.4/work/frontline-0.5.4/gundo'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/gundo    -march=athlon-xp -O2 -pipe -c gundo.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/gundo    -march=athlon-xp -O2 -pipe -c gundo_ui.c
rm -f libgundo.a
ar cru libgundo.a gundo.o gundo_ui.o
ranlib libgundo.a
make[2]: Leaving directory `/var/tmp/portage/frontline-0.5.4/work/frontline-0.5.4/gundo'
Making all in frontline
make[2]: Entering directory `/var/tmp/portage/frontline-0.5.4/work/frontline-0.5.4/frontline'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c fl_dialog.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c fl_utils.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c fl_opt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c fl_opt_priv.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c fl_prog.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c fl_fsel.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c fl_opt_undo.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c at_opts_io.c
at_opts_io.c: In function `at_fitting_opts_new_from_file':
at_opts_io.c:136: warning: passing arg 3 of `poptParseArgvString' from incompatible pointer type
at_opts_io.c:151: warning: passing arg 2 of `at_fitting_opts_new_from_argv' from incompatible pointer type
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c at_ext.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c fl_preview.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c fl_splines.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c fl_ext.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c fl_ask.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c curve.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c canvas-bpath.c
rm -f libfrontline.a
ar cru libfrontline.a fl_dialog.o fl_utils.o fl_opt.o fl_opt_priv.o fl_prog.o fl_fsel.o fl_opt_undo.o at_opts_io.o at_ext.o fl_preview.o fl_splines.o fl_ext.o fl_ask.o curve.o canvas-bpath.o
ranlib libfrontline.a
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"frontline\" -DLOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"  -g -Wall  -march=athlon-xp -O2 -pipe -c frontline.c
frontline.c: In function `main':
frontline.c:119: warning: passing arg 3 of `poptGetContext' from incompatible pointer type
gcc -g -Wall  -march=athlon-xp -O2 -pipe  -o frontline  frontline.o -lart_lgpl_2   ../frontline/libfrontline.a  ../gundo/libgundo.a -lpopt -rdynamic -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -L/usr/lib -L/usr/X11R6/lib -lautotrace -lMagick -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm  -lpopt
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libdpstk.so.1, needed by /usr/lib/libMagick.so, may conflict with libdpstk.so.0
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libdps.so.1, needed by /usr/lib/libMagick.so, may conflict with libdps.so.0
make[2]: Leaving directory `/var/tmp/portage/frontline-0.5.4/work/frontline-0.5.4/frontline'
Making all in gimp
make[2]: Entering directory `/var/tmp/portage/frontline-0.5.4/work/frontline-0.5.4/gimp'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/libart-2.0   -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -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/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DG_LOG_DOMAIN=\"trace-plugin\" -DLOCALEDIR=\""/usr/share/locale"\"  -g -Wall -march=athlon-xp -O2 -pipe -c trace.c
In file included from /usr/include/gnome-1.0/libgnome/libgnome.h:39,
                 from /usr/include/gnome-1.0/gnome.h:16,
                 from trace.c:20:
/usr/include/gnome-1.0/libgnome/gnome-util.h:29: error: conflicting types for `G_FILE_TEST_EXISTS'
/usr/include/glib-2.0/glib/gfileutils.h:69: error: previous declaration of `G_FILE_TEST_EXISTS'
/usr/include/gnome-1.0/libgnome/gnome-util.h:35: error: conflicting types for `g_file_test'
/usr/include/glib-2.0/glib/gfileutils.h:76: error: previous declaration of `g_file_test'
In file included from /usr/include/gnome-1.0/libgnomeui/libgnomeui.h:18,
                 from /usr/include/gnome-1.0/gnome.h:17,
                 from trace.c:20:
/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h:463: error: syntax error before "GdkColorContext"
/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h:463: warning: no semicolon at end of struct or union
/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h:470: error: syntax error before ':' token
/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h:473: error: syntax error before ':' token
/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h:476: error: syntax error before ':' token
/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h:479: error: syntax error before ':' token
/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h:482: error: syntax error before ':' token
/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h:485: error: syntax error before ':' token
/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h:488: error: syntax error before ':' token
In file included from /usr/include/gnome-1.0/libgnomeui/gnome-canvas-image.h:15,
                 from /usr/include/gnome-1.0/libgnomeui/libgnomeui.h:19,
                 from /usr/include/gnome-1.0/gnome.h:17,
                 from trace.c:20:
/usr/include/gtk-1.2/gtk/gtkpacker.h:61: error: conflicting types for `GTK_SIDE_TOP'
/usr/include/gtk-2.0/gtk/gtkenums.h:143: error: previous declaration of `GTK_SIDE_TOP'
/usr/include/gtk-1.2/gtk/gtkpacker.h:62: error: conflicting types for `GTK_SIDE_BOTTOM'
/usr/include/gtk-2.0/gtk/gtkenums.h:144: error: previous declaration of `GTK_SIDE_BOTTOM'
/usr/include/gtk-1.2/gtk/gtkpacker.h:63: error: conflicting types for `GTK_SIDE_LEFT'
/usr/include/gtk-2.0/gtk/gtkenums.h:145: error: previous declaration of `GTK_SIDE_LEFT'
/usr/include/gtk-1.2/gtk/gtkpacker.h:65: error: conflicting types for `GTK_SIDE_RIGHT'
/usr/include/gtk-2.0/gtk/gtkenums.h:147: error: previous declaration of `GTK_SIDE_RIGHT'
/usr/include/gtk-1.2/gtk/gtkpacker.h:65: error: redefinition of `GtkSideType'
/usr/include/gtk-2.0/gtk/gtkenums.h:147: error: `GtkSideType' previously declared here
/usr/include/gtk-1.2/gtk/gtkpacker.h:69: error: conflicting types for `GTK_ANCHOR_CENTER'
/usr/include/gtk-2.0/gtk/gtkenums.h:40: error: previous declaration of `GTK_ANCHOR_CENTER'
/usr/include/gtk-1.2/gtk/gtkpacker.h:70: error: conflicting types for `GTK_ANCHOR_NORTH'
/usr/include/gtk-2.0/gtk/gtkenums.h:41: error: previous declaration of `GTK_ANCHOR_NORTH'
/usr/include/gtk-1.2/gtk/gtkpacker.h:71: error: conflicting types for `GTK_ANCHOR_NORTH_WEST'
/usr/include/gtk-2.0/gtk/gtkenums.h:42: error: previous declaration of `GTK_ANCHOR_NORTH_WEST'
/usr/include/gtk-1.2/gtk/gtkpacker.h:72: error: conflicting types for `GTK_ANCHOR_NORTH_EAST'
/usr/include/gtk-2.0/gtk/gtkenums.h:43: error: previous declaration of `GTK_ANCHOR_NORTH_EAST'
/usr/include/gtk-1.2/gtk/gtkpacker.h:73: error: conflicting types for `GTK_ANCHOR_SOUTH'
/usr/include/gtk-2.0/gtk/gtkenums.h:44: error: previous declaration of `GTK_ANCHOR_SOUTH'
/usr/include/gtk-1.2/gtk/gtkpacker.h:74: error: conflicting types for `GTK_ANCHOR_SOUTH_WEST'
/usr/include/gtk-2.0/gtk/gtkenums.h:45: error: previous declaration of `GTK_ANCHOR_SOUTH_WEST'
/usr/include/gtk-1.2/gtk/gtkpacker.h:75: error: conflicting types for `GTK_ANCHOR_SOUTH_EAST'
/usr/include/gtk-2.0/gtk/gtkenums.h:46: error: previous declaration of `GTK_ANCHOR_SOUTH_EAST'
/usr/include/gtk-1.2/gtk/gtkpacker.h:76: error: conflicting types for `GTK_ANCHOR_WEST'
/usr/include/gtk-2.0/gtk/gtkenums.h:47: error: previous declaration of `GTK_ANCHOR_WEST'
/usr/include/gtk-1.2/gtk/gtkpacker.h:77: error: conflicting types for `GTK_ANCHOR_EAST'
/usr/include/gtk-2.0/gtk/gtkenums.h:48: error: previous declaration of `GTK_ANCHOR_EAST'
/usr/include/gtk-1.2/gtk/gtkpacker.h:78: error: conflicting types for `GTK_ANCHOR_N'
/usr/include/gtk-2.0/gtk/gtkenums.h:49: error: previous declaration of `GTK_ANCHOR_N'
/usr/include/gtk-1.2/gtk/gtkpacker.h:79: error: conflicting types for `GTK_ANCHOR_NW'
/usr/include/gtk-2.0/gtk/gtkenums.h:50: error: previous declaration of `GTK_ANCHOR_NW'
/usr/include/gtk-1.2/gtk/gtkpacker.h:80: error: conflicting types for `GTK_ANCHOR_NE'
/usr/include/gtk-2.0/gtk/gtkenums.h:51: error: previous declaration of `GTK_ANCHOR_NE'
/usr/include/gtk-1.2/gtk/gtkpacker.h:81: error: conflicting types for `GTK_ANCHOR_S'
/usr/include/gtk-2.0/gtk/gtkenums.h:52: error: previous declaration of `GTK_ANCHOR_S'
/usr/include/gtk-1.2/gtk/gtkpacker.h:82: error: conflicting types for `GTK_ANCHOR_SW'
/usr/include/gtk-2.0/gtk/gtkenums.h:53: error: previous declaration of `GTK_ANCHOR_SW'
/usr/include/gtk-1.2/gtk/gtkpacker.h:83: error: conflicting types for `GTK_ANCHOR_SE'
/usr/include/gtk-2.0/gtk/gtkenums.h:54: error: previous declaration of `GTK_ANCHOR_SE'
/usr/include/gtk-1.2/gtk/gtkpacker.h:84: error: conflicting types for `GTK_ANCHOR_W'
/usr/include/gtk-2.0/gtk/gtkenums.h:55: error: previous declaration of `GTK_ANCHOR_W'
/usr/include/gtk-1.2/gtk/gtkpacker.h:86: error: conflicting types for `GTK_ANCHOR_E'
/usr/include/gtk-2.0/gtk/gtkenums.h:57: error: previous declaration of `GTK_ANCHOR_E'
/usr/include/gtk-1.2/gtk/gtkpacker.h:86: error: redefinition of `GtkAnchorType'
/usr/include/gtk-2.0/gtk/gtkenums.h:57: error: `GtkAnchorType' previously declared here
In file included from /usr/include/gnome-1.0/libgnomeui/libgnomeui.h:51,
                 from /usr/include/gnome-1.0/gnome.h:17,
                 from trace.c:20:
/usr/include/gnome-1.0/libgnomeui/gnome-icon-list.h:37: error: field `canvas' has incomplete type
In file included from /usr/include/gnome-1.0/libgnomeui/libgnomeui.h:57,
                 from /usr/include/gnome-1.0/gnome.h:17,
                 from trace.c:20:
/usr/include/gnome-1.0/libgnomeui/gnome-less.h:43: error: syntax error before "GtkText"
/usr/include/gnome-1.0/libgnomeui/gnome-less.h:43: warning: no semicolon at end of struct or union
/usr/include/gnome-1.0/libgnomeui/gnome-less.h:49: error: syntax error before '}' token
trace.c:47: warning: initialization from incompatible pointer type
trace.c: In function `run':
trace.c:132: error: `GimpRunModeType' undeclared (first use in this function)
trace.c:132: error: (Each undeclared identifier is reported only once
trace.c:132: error: for each function it appears in.)
trace.c:132: error: syntax error before "run_mode"
trace.c:144: error: `run_mode' undeclared (first use in this function)
trace.c:158: error: structure has no member named `id'
trace.c:159: error: structure has no member named `id'
trace.c: In function `frontline':
trace.c:214: warning: implicit declaration of function `gimp_drawable_name'
trace.c:214: error: structure has no member named `id'
trace.c:214: warning: passing arg 2 of `header_new' makes pointer from integer without a cast
trace.c:264: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type
trace.c:267: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type
trace.c: In function `reload_bitmap':
trace.c:281: error: structure has no member named `id'
trace.c: In function `gimp_drawable_to_at_bitmap':
trace.c:410: error: structure has no member named `id'
trace.c: In function `save_splines':
trace.c:514: warning: assignment discards qualifiers from pointer target type
make[2]: *** [trace.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/frontline-0.5.4/work/frontline-0.5.4/gimp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/frontline-0.5.4/work/frontline-0.5.4'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-gfx/frontline-0.5.4 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)


Reproducible: Didn't try
Steps to Reproduce:
1. Emerge KDE 3.2.3 with its dependendencies
2. Emerge autotrace-0.31.1
3. Emerge frontline




Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.26)
=================================================================
System uname: 2.4.26 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -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="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://linux.thai.net/pub/mirrors/gentoo http://gentoo.osuosl.org/
ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups directfb doc emacs encode esd
foomaticdb gcj gdbm gif gnome gpm gtk gtk2 guile imagemagick imap imlib java
jpeg kde libg++ libwww mad maildir matrox mikmod mmx motif mozilla mpeg mysql
nas ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline samba scanner sdl slang speex spell ssl svga tcltk tcpd tetex tiff
truetype usb x86 xface xinerama xml2 xmms xv zlib"
Comment 1 Stian Skjelstad 2005-06-28 03:33:17 UTC
This is the problem. This package is a gnome 1.x, glib 1.x, gtk 1.x and gimp 1.x
thing. And here it tries to compile agains gimp 2.x (and thereby you get some
gnome 2.x and glib 2.x headers).

frontline needs to depend on gimp < 2.0.0 or be rewritten for gtk 2.x etc.
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2005-07-15 08:50:15 UTC
Hm, this bug has been fixed 2004-08-05 according to ChangeLog. Why is it still 
open? Closing (probably again). 
 
George