Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 140186

Summary: gnumeric-1.4.3-r3 failed to compile
Product: Gentoo Linux Reporter: Dominic Wong <domonom>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: major CC: converter42, david.w.noon, esigra, jsled, rbrown
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dominic Wong 2006-07-12 23:42:22 UTC
emerge --info
<snip>

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo"
LANG="en_AU"
LC_ALL="en_AU"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://mirror.internode.on.net/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi alsa apache2 arts asf avi bash-completion bcmath berkdb bitmap-fonts bluetooth bzip2 calendar cdparanoia cdr cjk cli crypt cups curl cvsgraph dbus dbx dlloader doc dri dvd emboss encode enscript esd ffmpeg firefox flac foomaticdb fortran gd gdbm gif gnome gpm graphviz gstreamer gtk gtk2 hal imagemagick imap imlib innodb ipv6 isdnlog java javascript jpeg kde ldap libg++ libwww mad maildir math matroska mikmod mmx motif mp3 mpeg mysql ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl php png postgres pppd python qt qt3 qt4 quicktime readline reflection ruby samba sasl sdl session sharedext silvercity spell spl sqlite sse sse2 ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode userlocales vhosts vorbis win32codecs xine xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
</snip>

The build error is as follows:
<snip>
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src -I../../../../src -I../../../../src/cut-n-paste-code -I../../../../src/cut-n-paste-code/goffice -I../../../../src/cut-n-paste-code/foocanvas -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libglade-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/gnome-vfs-module-2.0 -I../../../../src/cut-n-paste-code -O3 -march=pentium4 -pipe -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -Wall -Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -MT gog-axis.lo -MD -MP -MF .deps/gog-axis.Tpo -c gog-axis.c  -fPIC -DPIC -o .libs/gog-axis.o
gog-axis.c:1683:58: macro "GSF_CLASS_FULL" requires 10 arguments, but only 7 given
gog-axis.c:1686: error: syntax error before "GogAxisType"
gog-axis.c:1536: warning: 'gog_axis_class_init' defined but not used
gog-axis.c:1622: warning: 'gog_axis_init' defined but not used
gog-axis.c:1674: warning: 'gog_axis_dataset_init' defined but not used
make[7]: *** [gog-axis.lo] Error 1
make[7]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code/goffice/graph'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code/goffice/graph'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code/goffice'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3'
make: *** [all] Error 2

!!! ERROR: app-office/gnumeric-1.4.3-r3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  gnumeric-1.4.3-r3.ebuild, line 93:   Called die

!!! Compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
</snip>

Looks to be the same cause as #131151.
This should really work without patching as this is the stable gnumeric I'm trying to emerge. 

Cheers.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-13 00:42:12 UTC
Don't restrict bugs without any reason, please.
Comment 2 Sean O'Rourke 2006-07-13 06:46:22 UTC
I get a similiar error:
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src -I../../../../src -I../../../../src/cut-n-paste-code -I../../../../src/cut-n-paste-code/goffice -I../../../../src/cut-n-paste-code/foocanvas -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libglade-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I../../../../src/cut-n-paste-code -O2 -march=pentium3 -fomit-frame-pointer -pipe -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -Wall -Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -MT gog-axis.lo -MD -MP -MF .deps/gog-axis.Tpo -c gog-axis.c  -fPIC -DPIC -o .libs/gog-axis.o
if /bin/sh ../../../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src -I../../../../src -I../../../../src/cut-n-paste-code -I../../../../src/cut-n-paste-code/goffice -I../../../../src/cut-n-paste-code/foocanvas -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libglade-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2   -I../../../../src/cut-n-paste-code    -O2 -march=pentium3 -fomit-frame-pointer -pipe -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -Wall -Wmissing-prototypes  -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -MT gog-legend.lo -MD -MP -MF ".deps/gog-legend.Tpo" \
  -c -o gog-legend.lo `test -f 'gog-legend.c' || echo './'`gog-legend.c; \
then mv -f ".deps/gog-legend.Tpo" ".deps/gog-legend.Plo"; \
else rm -f ".deps/gog-legend.Tpo"; exit 1; \
fi
gog-axis.c:1683:58: macro "GSF_CLASS_FULL" requires 10 arguments, but only 7 given
gog-axis.c:1686: error: syntax error before "GogAxisType"
gog-axis.c:1536: warning: 'gog_axis_class_init' defined but not used
gog-axis.c:1622: warning: 'gog_axis_init' defined but not used
gog-axis.c:1674: warning: 'gog_axis_dataset_init' defined but not used
make[7]: *** [gog-axis.lo] Error 1
make[7]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src -I../../../../src -I../../../../src/cut-n-paste-code -I../../../../src/cut-n-paste-code/goffice -I../../../../src/cut-n-paste-code/foocanvas -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libglade-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I../../../../src/cut-n-paste-code -O2 -march=pentium3 -fomit-frame-pointer -pipe -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -Wall -Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -MT gog-legend.lo -MD -MP -MF .deps/gog-legend.Tpo -c gog-legend.c  -fPIC -DPIC -o .libs/gog-legend.o
gog-legend.c:266:2: warning: #warning TODO : make this smarter (multiple columns and shrinking text)
make[7]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code/goffice/graph'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code/goffice/graph'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code/goffice'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3'
make: *** [all] Error 2

!!! ERROR: app-office/gnumeric-1.4.3-r3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  gnumeric-1.4.3-r3.ebuild, line 93:   Called die

!!! Compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge --info:
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r11 i686)
=================================================================
System uname: 2.6.16-gentoo-r11 i686 Intel(R) Celeron(TM) CPU                1200MHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cairo cli crypt cups dlloader dri dvd emboss encode exif expat fam foomaticdb fortran gdbm gif glut gpm gtk gtk2 hal imagemagick imlib ipv6 isdnlog jpeg lcms libg++ libwww mad mikmod mmx mng motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_i810 video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Andre 2006-07-13 07:25:31 UTC
(In reply to comment #0)

Exactly the same error here, 
I am also on x86 (xorg in ~x86).

I spare you another emerge --info,
but will provide it upon request.
Comment 4 D Wollmann 2006-07-13 07:55:18 UTC
Same error here.
Comment 5 David W Noon 2006-07-13 10:16:43 UTC
I have the same error:

gog-axis.c:1683:58: macro "GSF_CLASS_FULL" requires 10 arguments, but only 7 given
gog-axis.c:1686: error: syntax error before "GogAxisType"
gog-axis.c:1536: warning: 'gog_axis_class_init' defined but not used
gog-axis.c:1622: warning: 'gog_axis_init' defined but not used
gog-axis.c:1674: warning: 'gog_axis_dataset_init' defined but not used
make[7]: *** [gog-axis.lo] Error 1

I also have a similar error:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src -I../../../../src -I../../../../src/cut-n-paste-code -I../../../../src/cut-n-paste-code/goffice -I../../../../src/cut-n-paste-code/foocanvas -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libglade-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/gnome-vfs-module-2.0 -I../../../../src/cut-n-paste-code -march=athlon-mp -mmmx -m3dnow -msse -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -Wall -Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -MT gog-label.lo -MD -MP -MF .deps/gog-label.Tpo -c gog-label.c  -fPIC -DPIC -o .libs/gog-label.o
gog-legend.c:266:2: warning: #warning TODO : make this smarter (multiple columns and shrinking text)
gog-label.c:181:59: macro "GSF_CLASS_FULL" requires 10 arguments, but only 7 given
gog-label.c:185: error: syntax error before "typedef"
gog-label.c:132: warning: 'gog_label_class_init' defined but not used
gog-label.c:172: warning: 'gog_label_dataset_init' defined but not used
make[7]: *** [gog-label.lo] Error 1

It occurs in a different source unit, but it is the same macro GSF_CLASS_FULL. So it looks like some header file does not match the source code.
Comment 6 Charles Stewart 2006-07-13 12:34:35 UTC
This bug is a duplicate of bug #<a href="http://bugs.gentoo.org/show_bug.cgi?id=131151">131151</a>
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-07-14 02:33:07 UTC

*** This bug has been marked as a duplicate of 131151 ***