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

Bug 53217

Summary: openoffice-ximian (1.1.55, 1.1.57, 1.1.59) emerge fail at "Building project helpcontent"
Product: Gentoo Linux Reporter: Olivier Tarnus <olivier.tarnus>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Olivier Tarnus 2004-06-07 07:14:16 UTC
When trying to emerge ximian-openoffice, i always get the same error during compilation.

Don't seems related to CFLAGS as i tried removing them and nothing change. Don't seems related to LANGUAGE too, as no setting it will produce the same error.

Reproducible: Always
Steps to Reproduce:
1.cd /usr/portage/app-office/openoffice-ximian
2.ECPUS=2 && LANGUAGE=33 && emerge openoffice-ximian-1.1.55.ebuild

Actual Results:  
[...]
gcc  -O2 -pipe -ftracer -fssa -march=pentium4 -fno-strict-aliasing   -o dmake 
infer.o make.o stat.o expand.o dmstring.o hash.o dag.o dmake.o path.o imacs.o
sysintf.o parse.o getinp.o quit.o state.o dmdump.o macparse.o rulparse.o
percent.o function.o unix/libunix.a
make[2]: Leaving directory
`/var/tmp/portage/openoffice-ximian-1.1.55/work/oo_1.1.1_src/dmake'
make[1]: Leaving directory
`/var/tmp/portage/openoffice-ximian-1.1.55/work/oo_1.1.1_src/dmake'

dmake has been successfully built
 * Building OpenOffice.org...
build -- version: 1.86.18.1


=============
Building project helpcontent
=============
/var/tmp/portage/openoffice-ximian-1.1.55/work/oo_1.1.1_src/helpcontent/unx/schart

ERROR: Error 11 occurred while making
/var/tmp/portage/openoffice-ximian-1.1.55/work/oo_1.1.1_src/helpcontent/unx/schart

!!! ERROR: app-office/openoffice-ximian-1.1.55 failed.
!!! Function src_compile, Line 355, Exitcode 1
!!! Build failed!


Expected Results:  
emerge ximian-openoffice

Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-rc1)
=================================================================
System uname: 2.6.6-rc1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -ftracer -fssa -fprefetch-loop-arrays  -march=pentium4
-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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -ftracer -fssa -fprefetch-loop-arrays  -march=pentium4
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.gentoo.skynet.be/pub/gentoo/
http://ftp.gentoo.skynet.be/pub/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.easynet.nl/mirror/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 acl alsa apache2 apm arts avi berkdb bonobo crypt cups curl encode esd
firebird foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg
kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis
ooo-kde opengl oss pam pdflib perl png postgres ppds python qt quicktime
readline samba sdl slang spell sse ssl svga tcltk tcpd truetype unicode usb x86
xml2 xmms xv zlib"
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2004-06-07 13:13:50 UTC
Try without ECPUS=2, this is not supported at all as parallel building is known to break.
Comment 2 Olivier Tarnus 2004-06-08 00:16:49 UTC
Already tried...

In fact i used ECPU=2 after reading that some people are having problems to emerge  without ECPU=2 on pentium4, so i tried it. But my problem was there before this...

So it don't seems related to ECPU...
Comment 3 Olivier Tarnus 2004-06-08 02:37:45 UTC
Hello again...

Finally, like many others, it seems that all was related to my CFLAGS. They aparently broke dmake, and openoffice-ximian is actually compiling.

Sorry for disturbing you with those [+&@# CFLAGS ;-)
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2004-06-08 04:34:19 UTC
From info gcc:

`-fssa'
     Perform optimizations in static single assignment form.  Each
     function's flow graph is translated into SSA form, optimizations
     are performed, and the flow graph is translated back from SSA
     form.  Users should not specify this option, since it is not yet
     ready for production use.

Also -O3 is not allways safe, but should not make too many problems