Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205702 - app-office/gnucash-2.2.3 compile failure: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
Summary: app-office/gnucash-2.2.3 compile failure: error: expected '=', ',', ';', 'asm...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-13 19:51 UTC by Ed Catmur
Modified: 2008-01-13 19:57 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 Ed Catmur 2008-01-13 19:51:46 UTC
make[1]: Entering directory `/var/tmp/portage/app-office/gnucash-2.2.3/work/gnucash-2.2.3/src/gnome'
/bin/sh ../../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"gnc.gui\"   -I../../src -I../../src -I../../src/core-utils -I../../src/calculation -I../../src/engine -I../../src/app-utils -I../../src/backend/file -I../../src/gnome-utils -I../../src/gnome-search -I../../src/register/ledger-core -I../../src/register/register-core -I../../src/register/register-gnome -I../../src/report/report-system -I../../src/report/report-gnome -I../../lib/libc -pthread -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread -I/usr/include/libgtkhtml-3.14 -I/usr/include/gtk-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libglade-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../../lib/libqof/qof -I../../lib/libqof/qof -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -ggdb    -pipe -march=athlon-xp -mmmx -msse -m3dnow -g  -O1 -O2 -O3 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -Wno-unused -MT swig-gnome.lo -MD -MP -MF .deps/swig-gnome.Tpo -c -o swig-gnome.lo swig-gnome.c
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"gnc.gui\" -I../../src -I../../src -I../../src/core-utils -I../../src/calculation -I../../src/engine -I../../src/app-utils -I../../src/backend/file -I../../src/gnome-utils -I../../src/gnome-search -I../../src/register/ledger-core -I../../src/register/register-core -I../../src/register/register-gnome -I../../src/report/report-system -I../../src/report/report-gnome -I../../lib/libc -pthread -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread -I/usr/include/libgtkhtml-3.14 -I/usr/include/gtk-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libglade-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../lib/libqof/qof -I../../lib/libqof/qof -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -ggdb -pipe -march=athlon-xp -mmmx -msse -m3dnow -g -O1 -O2 -O3 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT swig-gnome.lo -MD -MP -MF .deps/swig-gnome.Tpo -c swig-gnome.c  -fPIC -DPIC -o .libs/swig-gnome.o
In file included from /usr/include/pango-1.0/pango/pango-font.h:25,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:33,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from swig-gnome.c:1213:
/usr/include/pango-1.0/pango/pango-coverage.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
/usr/include/pango-1.0/pango/pango-coverage.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/pango-1.0/pango/pango-coverage.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/pango-1.0/pango/pango-coverage.h:40: error: expected ')' before '*' token
/usr/include/pango-1.0/pango/pango-coverage.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/pango-1.0/pango/pango-coverage.h:42: error: expected ')' before '*' token
/usr/include/pango-1.0/pango/pango-coverage.h:44: error: expected ')' before '*' token
/usr/include/pango-1.0/pango/pango-coverage.h:47: error: expected ')' before '*' token
/usr/include/pango-1.0/pango/pango-coverage.h:50: error: expected ')' before '*' token
...
(2000 more lines of garbage)...
...
swig-gnome.c:1749: error: expected '{' at end of input
swig-gnome.c:1749: warning: no return statement in function returning non-void
distcc[21974] ERROR: compile swig-gnome.c on localhost failed
make[4]: *** [swig-gnome.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.3/work/gnucash-2.2.3/src/gnome'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.3/work/gnucash-2.2.3/src/gnome'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.3/work/gnucash-2.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.3/work/gnucash-2.2.3'
make: *** [all] Error 2
Comment 1 Ed Catmur 2008-01-13 19:52:58 UTC
This is probably the issue: -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
Comment 2 Ed Catmur 2008-01-13 19:57:34 UTC
Ah... the issue is that gconf-2.21.1 has a broken pkg-config file: http://svn.gnome.org/viewvc/gconf/trunk/gconf-2.0.pc.in?view=log#rev2506

Not a gnucash issue at all.