Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131151 - gnumeric-1.4.3 failed to compile
Summary: gnumeric-1.4.3 failed to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 140186 140309 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-24 14:35 UTC by Roman Polach
Modified: 2006-07-14 09:48 UTC (History)
10 users (show)

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


Attachments
Fixes number of arguments for GSF_CLASS_FULL (gnumeric-1.4.3-libgsf-1.patch,11.46 KB, patch)
2006-05-23 12:43 UTC, Eric Anderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Polach 2006-04-24 14:35:57 UTC
# emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
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=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac alsa amr apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli crypt cups curl dbus dri dts dv dvb dvd dvdr dvdread emboss encode esd exif expat fam fbcon ffmpeg firefox flac font-server foomaticdb fortran ftp gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv imagemagick imlib ipv6 isdnlog jpeg lcms ldap libg++ libwww lirc mad matroska mikmod mmx mng modplug mono mozsvg mp3 mp4 mpeg nautilus ncurses nls nptl ogg openal opengl pam pcre pdf pdflib perl png ppds pppd python quicktime readline real reflection sdl session speex spell spl sse sse2 ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs wma wmf x264 xanim xml xml2 xv xvid zlib linguas_cs linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY




# emerge -pv gnumeric

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-office/gnumeric-1.4.3-r2  +X -debug +gnome -libgda +python -static 0 kB

Total size of downloads: 0 kB




# emerge gnumeric
Calculating dependencies ...done!
>>> emerge (1 of 1) app-office/gnumeric-1.4.3-r2 to /
>>> md5 files   ;-) gnumeric-1.4.3-r3.ebuild
>>> md5 files   ;-) gnumeric-1.6.1.ebuild
>>> md5 files   ;-) gnumeric-1.4.3-r2.ebuild
>>> md5 files   ;-) gnumeric-1.6.0.ebuild
>>> md5 files   ;-) gnumeric-1.6.2.ebuild
>>> md5 files   ;-) files/gnumeric-1.4.3-makejobs.patch

.....

        Floating point type:    double

        UI :                    Gnome

        Perl Support:           no
        Python Support:         yes (using python)
        Guile Support:          disabled pending some guile developer interest

        GDA support:            Disabled by request
        GNOME-DB support:       no
        Psiconv support:        missing dependencies

.....

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 -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    -O2 -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-chart.lo -MD -MP -MF ".deps/gog-chart.Tpo" \
  -c -o gog-chart.lo `test -f 'gog-chart.c' || echo './'`gog-chart.c; \
then mv -f ".deps/gog-chart.Tpo" ".deps/gog-chart.Plo"; \
else rm -f ".deps/gog-chart.Tpo"; exit 1; \
fi
gog-graph.c:337:2: warning: #warning TODO
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 -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    -O2 -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 -o gog-axis.lo `test -f 'gog-axis.c' || echo './'`gog-axis.c; \
then mv -f ".deps/gog-axis.Tpo" ".deps/gog-axis.Plo"; \
else rm -f ".deps/gog-axis.Tpo"; exit 1; \
fi
 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 -O2 -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-chart.lo -MD -MP -MF .deps/gog-chart.Tpo -c gog-chart.c  -fPIC -DPIC -o .libs/gog-chart.o
 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 -O2 -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
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 -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    -O2 -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-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
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 -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 -O2 -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-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-r2/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-r2/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-r2/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-r2/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-r2/work/gnumeric-1.4.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r2/work/gnumeric-1.4.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnumeric-1.4.3-r2/work/gnumeric-1.4.3'
make: *** [all] Error 2

!!! ERROR: app-office/gnumeric-1.4.3-r2 failed.
!!! Function src_compile, Line 92, Exitcode 2
!!! Compilation failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Roman Polach 2006-05-02 11:34:53 UTC
any progress on this problem?
should I post some additional info?
Comment 2 Eric Anderson 2006-05-23 12:43:08 UTC
Created attachment 87338 [details, diff]
Fixes number of arguments for GSF_CLASS_FULL

I had the same problem. I looked around and found a patch. The patch was found at http://www.linuxfromscratch.org/patches/downloads/gnumeric/gnumeric-1.4.3-libgsf-1.patch
Comment 3 Eric Anderson 2006-05-23 14:00:08 UTC
After applying the patch, I still get a compile error relating to POPT. I think the problems might have to do with me using GNOME 2.14. Roman, are you using GNOME 2.14 as well?

If it is a GNOME 2.14 compatibility issue, I guess it doesn't matter to much, just as long as gnumeric 1.6 goes stable at the same time as GNOME 2.14.

I just compiled gnumeric 1.6 without any trouble. That's my fix :)
Comment 4 Roman Polach 2006-05-24 04:23:14 UTC
No, I use Gnome 2.12
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-07-14 02:32:40 UTC
*** Bug 140309 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-14 02:33:07 UTC
*** Bug 140186 has been marked as a duplicate of this bug. ***
Comment 7 hodak 2006-07-14 06:11:39 UTC
Please fix this soon, it also affects gnumeric-1.4.3-r3, the current stable on x86.
Comment 8 John N. Laliberte (RETIRED) gentoo-dev 2006-07-14 09:48:07 UTC
thanks, this is now in cvs.

+  14 Jul 2006; John N. Laliberte <allanonjl@gentoo.org>
+  +files/gnumeric-1.4.3-libgsf-1.patch,
+  +files/gnumeric-1.4.3-remove-deprecated.patch, gnumeric-1.4.3-r3.ebuild:
+  add patch to fix GSF_CLASS_FULL. thanks to Eric Anderson <ejona86@gmail.com>
+  for finding it. add another patch to get rid of the deprecation defines.
+  bump dep on libgsf to make sure we use the version with the patched number
+  of args. fixes #131151