emerging gnumeric 1.2.6 fails during compile in corba-application.c Reproducible: Always Steps to Reproduce: 1. emerge gnumeric 2. 3. Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DGNOMELOCALEDIR=\"/usr/share/locale\" -I../../src -I../../src -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/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/libglade-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -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/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -march=pentium3 -O2 -pipe -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64 -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -MT corba-workbook.lo -MD -MP -MF .deps/corba-workbook.Tpo -c corba-workbook.c -fPIC -o .libs/corba-workbook.o corba-application.c:49: error: syntax error before "POA_GNOME_Gnumeric_Application__epv" corba-application.c:49: warning: no semicolon at end of struct or union corba-application.c:50: warning: data definition has no type or storage class corba-application.c:53: error: syntax error before "capp_workbook_open" corba-application.c:77: error: syntax error before '*' token corba-application.c: In function `capp_workbooks': corba-application.c:83: error: `GNOME_Gnumeric_Workbooks' undeclared (first use in this function) corba-application.c:83: error: (Each undeclared identifier is reported only once corba-application.c:83: error: for each function it appears in.) corba-application.c:83: error: `res' undeclared (first use in this function) corba-application.c: At top level: corba-application.c:100: error: syntax error before '*' token corba-application.c: In function `capp_class_init': corba-application.c:102: error: `capp' undeclared (first use in this function) corba-application.c: In function `capp_get_type': corba-application.c:106: error: `POA_GNOME_Gnumeric_Application__init' undeclared (first use in this function) corba-application.c:106: error: `POA_GNOME_Gnumeric_Application__fini' undeclared (first use in this function) corba-application.c:106: error: syntax error before ')' token corba-application.c: At top level: corba-application.c:112: error: `capp' used prior to declaration make[3]: *** [corba-application.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gnumeric-1.2.6/work/gnumeric-1.2.6/plugins/corba' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnumeric-1.2.6/work/gnumeric-1.2.6/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnumeric-1.2.6/work/gnumeric-1.2.6' make: *** [all] Error 2 !!! ERROR: app-office/gnumeric-1.2.6 failed. !!! Function src_compile, Line 74, Exitcode 2 !!! (no error message) Expected Results: gnumeric compiled (: bash-2.05b# emerge info Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.4.15 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/ http://gentoo.mirror.sdv.fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi acpi4linux alsa apache2 avi berkdb cdr crypt dvd encode esd ethereal foomaticdb gdbm gif gpm gtk gtk2 gtkhtml icq imagemagick imlib imlib2 innodb irda irmc java jpeg libg++ libwww lirc mad mmx motif mpeg msn mysql ncurses nls offensive oggvorbis opengl operanom2 oscar pam pcap pdflib perl png pnp python quicktime readline samba sdl slang spell sse ssl svga tcltk tiff truetype unicode usb x86 xface xml xml2 xmms xosd xv xvid yahoo zlib"
first try with sane CFLAGS, only then report. anyway i think this is already reported somewhere... please search
Houston, it's the same problem here with CFLAGS="-march=pentium3" Sorry, but I can't find anything on internet (google/forums.gentoo/ecc.)
changing CFLAGS for just one package may not have the desired effect. You must realize that just recompiling one pack with safe CFLAGS will make it automaticly stable, it still depends on a load of stuff that is not compiled that way. Anyway, i meant to suggest you search _this bugzilla_ ...
On _this_ bugzilla I can't find anything interesting about a gnumeric with the same prob. I recompiled libbonobo with safe CFLAGS and now "emerge gnumeric" give me another error: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I./widgets -I./dialogs -I./tools -I../src/cut-n-paste-code -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/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/libglade-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -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/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -march=pentium3 -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -MT sheet-autofill.o -MD -MP -MF ".deps/sheet-autofill.Tpo" \ -c -o sheet-autofill.o `test -f 'sheet-autofill.c' || echo './'`sheet-autofill.c; \ then mv -f ".deps/sheet-autofill.Tpo" ".deps/sheet-autofill.Po"; \ else rm -f ".deps/sheet-autofill.Tpo"; exit 1; \ fi sheet-autofill.c: In function `autofill_cell': sheet-autofill.c:704: error: assignment of read-only member `cols' sheet-autofill.c:712: error: assignment of read-only member `rows' sheet-autofill.c:722: error: assignment of read-only member `expr' make[4]: *** [sheet-autofill.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/gnumeric-1.2.6/work/gnumeric-1.2.6/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnumeric-1.2.6/work/gnumeric-1.2.6/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnumeric-1.2.6/work/gnumeric-1.2.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnumeric-1.2.6/work/gnumeric-1.2.6' make: *** [all] Error 2 !!! ERROR: app-office/gnumeric-1.2.6 failed. !!! Function src_compile, Line 74, Exitcode 2 !!! (no error message) Now I have to understand on what library (to have recompiled with safe CFLAGS) sheet-autofill.c rely on. (In the meanwhile I also update gcc to v3.3.3)
I have this last too, on a Pentium II system which has always had uber-conservative CFLAGS and a vanilla-sources kernel.
I have teh bug mentioned in comment #4 with conservative CFLAGS on amd64 using gcc-3.4.0-r6 with app-office/gnumeric-1.2.2
I have a different issue: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I./widgets -I./dialogs -I./tools -I../src/cut-n-paste-code -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/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/libglade-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -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/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -O2 -mcpu=i686 -fomit-frame-pointer -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -MT sheet-filter.o -MD -MP -MF ".deps/sheet-filter.Tpo" \ -c -o sheet-filter.o `test -f 'sheet-filter.c' || echo './'`sheet-filter.c; \ then mv -f ".deps/sheet-filter.Tpo" ".deps/sheet-filter.Po"; \ else rm -f ".deps/sheet-filter.Tpo"; exit 1; \ fi sheet-autofill.c: In function `autofill_cell': sheet-autofill.c:704: error: assignment of read-only member `cols' sheet-autofill.c:712: error: assignment of read-only member `rows' sheet-autofill.c:722: error: assignment of read-only member `expr' make[4]: *** [sheet-autofill.o] Error 1 make[4]: *** Waiting for unfinished jobs.... sheet-filter.c:379:2: warning: #warning "FIXME: is this really the type of equality (and hash) we want here?" make[4]: Leaving directory `/var/tmp/portage/gnumeric-1.2.6/work/gnumeric-1.2.6/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnumeric-1.2.6/work/gnumeric-1.2.6/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnumeric-1.2.6/work/gnumeric-1.2.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnumeric-1.2.6/work/gnumeric-1.2.6' make: *** [all] Error 2 !!! ERROR: app-office/gnumeric-1.2.6 failed. !!! Function src_compile, Line 74, Exitcode 2 !!! (no error message) I have compiled everything from stage1 without changing CFLAGS My config: Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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="-O2 -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 apm arts audiofile avi berkdb caps crypt cups curl divx4linux doc encode esd ethereal fam fftw foomaticdb gd gdbm gif gmp gnome gpm gtk gtk2 icq imagemagick imap imlib ipv6 jabber java jpeg kde ldap libg++ libwww linguas_en linguas_it mad maildir mikmod mmx motif mozilla mpeg mysql ncurses nls offensive oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline samba sasl sdl slang snmp spell ssl svg tcpd tetex tiff truetype unicode usb x86 xml xml2 xmms xvid zlib"
and gnumeric-1.2.12 shows the same problem ?
foser: it's a gcc problem, gnumeric 1.2.12 fixes it, i've seen it on sparc also (the last problem, the cols/rows/expr read-only error). Basically introduced when gcc was bumped for x86 about 1-2 weeks ago.
I have the cols/rows/expr bug on a brand-new stage 1 2004-1 install, using only: CFLAGS="-mcpu=k6-2 -O3 -pipe" and a vanilla-sources kernel. Admittedly its on a laptop, but everything else including Xfree, KDE and Mozilla compiled just fine.
@rick : what architecture ? i guess we should just move .12 to stable
When the combination of "stable" packages is certain to not build (current stable gcc + current stable gnumeric), then SOMETHING has to be done to avoid tons of people bumping into the same problem. I mean... it's just 'logical' that packages marked as "stable" be expected to build cleanly (while in this case the stable combination of packages is expected to NOT build -at least on x86's-) Most definitely something should be done about this... wouldn't bumping Gnumeric 1.2.12 as the stable version cause much less headaches than keeping it the way it is? The only other alternative would be to decrease the stable Gcc version... (when stable packages are known to conflict something really should be done about it...)
Apologies for the cross-post - this is regarding the USE="gnome" thing for gnumeric-1.2.12... foser, it's ugly, but it works. As gnumeric-1.2.6 (current x86 stable gnumeric) doesn't compile with current stable gcc, it would be nice if this ugly hack was added - check out, for example, the audacity ebuild for a similar ugly hack with regards unicode support for wxGTK - and then 1.2.12 marked stable. As it is, we've not got a working stable gnumeric on x86 at the moment. This is, for the most part, unacceptable to most. I've seen *so* many posts on the forums about this, and it's really starting to do my head in. Please? *bats eyelids in an endearing fashion*
I got the exact same error on my Atlon-XP using the 1.2.6 gnumeric. Nothing special here, just not compiling. with this error : sheet-autofill.c: In function `autofill_cell': sheet-autofill.c:704: error: assignment of read-only member `cols' sheet-autofill.c:712: error: assignment of read-only member `rows' sheet-autofill.c:722: error: assignment of read-only member `expr' Gnumeric 1.2.12 work fine. Maybe the update of libgsf ????
I'm now stuck since (1) I can't have gnumeric without using ``ACCEPT_FLAGS="~x86"'' plus (2) now "emerge -Du world" fails since it tries to back out to the broken gnumeric and even (3) "emerge -DuU world" fails. This problem with gnumeric has been known in the gentoo formum for months and months. This is getting real old and tired.
foser: what is holding this up?
Anyone? Any news on getting this fixed?
*** Bug 59791 has been marked as a duplicate of this bug. ***
ok contrary to my honest believes in non-breaking ebuilds i do not want to face hordes of kde users who get forced to install 1 or 2 gnome packs atm (maybe in the future). So i hacked a check into .12 & .13 to check for libgsf with gnome support. That should fix this. Amd64 should also mark .12 stable because of the dupe bug. *** This bug has been marked as a duplicate of 2272 ***
*** Bug 61208 has been marked as a duplicate of this bug. ***