Summary: | openoffice-2.0.2 fails to install on x86 with gcc-4.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dominik Strehlke <dominik> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | andrei.ivanov, a_tevelev, lubos, neil |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Here's the logfile created by the installer |
Description
Dominik Strehlke
2006-03-19 03:34:12 UTC
Created attachment 82529 [details]
Here's the logfile created by the installer
Maybe this is related to bug 124660. '-march=pentium-m' and 'pyuno' stuff. Dominik: Drop this flag '-ffast-math'. Recompile from scratch. If it still fails drop also '-mfpmath=sse' and recompile. If it still fails check the mentioned bug. I will do a hack to cut pyuno stuff out. I will post it there. Dominik, did you try to build with all the extra stuff removed from the CFLAGS? Also just to make sure: You got enough free disk space? Andreas, thanks for checking back on me. My last try was with CFLAGS -O2 -march=pentium4 -pipe -fomit-frame-pointer Same error. I do have enough diskspace Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda1 58576444 37880548 20695896 65% / Did you try again more recently, we had some silent updates to the ooo-build-version, which might have fixed this (just might ;) ) I have been getting this on one of my machines (sync as of today): LD_LIBRARY_PATH=../../common:../../i18n:../../tools/toolutil:../../layout:../../layoutex:../../extra/ustdio:../../tools/ctestfw:../../data/out:../../data:../../stubdata/:$LD_LIBRARY_PATH ../../tools/pkgdata/pkgdata -p uconvmsg -O pkgdata.inc -m static -d uconvmsg -T uconvmsg uconvmsg/uconvmsg.lst gmake[4]: Entering directory `/diskless/base/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.7/build/OOO_2_0_2/icu/unxlngi6.pro/misc/build/icu/source/extra/uconv' cat uconvmsg/uconvmsg.lst > uconvmsg/uconvmsg_static.lst LD_LIBRARY_PATH=../../common:../../i18n:../../tools/toolutil:../../layout:../../layoutex:../../extra/ustdio:../../tools/ctestfw:../../data/out:../../data:../../stubdata/:$LD_LIBRARY_PATH ../../tools/gencmn/gencmn -e uconvmsg -n uconvmsg -S -d uconvmsg 0 uconvmsg/uconvmsg_static.lst Inconsistency detected by ld.so: dl-minimal.c: 137: realloc: Assertion `new == ptr' failed! gmake[4]: *** [uconvmsg/uconvmsg_dat.c] Error 127 gmake[4]: Leaving directory `/diskless/base/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.7/build/OOO_2_0_2/icu/unxlngi6.pro/misc/build/icu/source/extra/uconv' make[3]: *** [package-resfiles] Error 2 make[3]: Leaving directory `/diskless/base/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.7/build/OOO_2_0_2/icu/unxlngi6.pro/misc/build/icu/source/extra/uconv' make[2]: *** [all-recursive] Error 2 make[2]: Leaving directory `/diskless/base/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.7/build/OOO_2_0_2/icu/unxlngi6.pro/misc/build/icu/source/extra' make[1]: *** [all-recursive] Error 2 make[1]: Leaving directory `/diskless/base/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.7/build/OOO_2_0_2/icu/unxlngi6.pro/misc/build/icu/source' dmake: Error code 2, while making './unxlngi6.pro/misc/build/so_built_so_icu' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /diskless/base/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.7/build/OOO_2_0_2/icumake: *** [stamp/build] Error 1 !!! ERROR: app-office/openoffice-2.0.2-r2 failed. Call stack: ebuild.sh, line 1525: Called dyn_compile ebuild.sh, line 928: Called src_compile openoffice-2.0.2-r2.ebuild, line 225: Called die !!! Build failed !!! If you need support, post the topmost build error, and the call stack if relevant. here's the emerge --info Portage 2.1_pre9-r4 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r1 i686) ================================================================= System uname: 2.6.16-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz Gentoo Base System version 1.12.0_pre18 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.4.2-r1 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -Os -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /lib/rcscripts/addons /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/gnome /usr/share/hwdata /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/local /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev /usr/share/gnome/apps /usr/share/gnome/bonobo /usr/share/gnome/capplets /usr/share/gnome/cursor-fonts /usr/share/gnome/fonts /usr/share/gnome/help /usr/share/gnome/html /usr/share/gnome/panel /usr/share/gnome/ui /usr/share/gnome/vfolders /usr/share/gnome/vino /usr/share/gnome/wm-properties /var/local /etc/env.d" CXXFLAGS="-march=pentium2 -Os -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en_CA en_GB en_US en fr zh_CN zh_TW" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/gentopia /usr/local/portage /usr/local/diskless" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 accessibility acpi ada alsa arts asf audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cairo caps cdparanoia cdr cli cpudetection crypt css ctype cups curl custom-cflags dbus divx4linux doc dpms dri dts dv dvd dvdr dvdread eds emacs emboss encode esd evo examples exif expat ffmpeg fftw firefox flac foomaticdb fortran ftp gb gcc-libffi gcj gd gdbm gif gimp gimpprint glibc-omitfp glitz glut gmp gnome gnomedb gnuplot gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile gzip hal haskell i8x0 icu idea idn image imagemagick imap imlib imlib2 inkjar ipv6 isdnlog jabber java jpeg junit kde largeterminal latex lcms ldap libg++ libgda libwww live lzo mad matroska mikmod mjpeg mmap mmx mng mono motif mozdevelop mozilla mozsvg mp3 mpeg mule mysql ncurses netboot network nfs nis nls no-old-linux no_wxgtk1 nonfsv4 nptl nptlonly objc odbc ogg oggvorbis openal opengl pam pam_console pascal patented pcre pda pdf pdflib perl php plugin png posix postgres povray ppds pppd python qt quicktime quotas radeon rdesktop readline real reflection rtc ruby samba scanner sdk sdl session shorten silverxp sndfile sox speex spell spl sql sqlite ssl stream subversion svg tcltk tcpd tetex tga theora tiff transcode truetype truetype-fonts type1-fonts unicode usb userlocales vcd vidix vim-with-x vorbis win32codecs wmf wxwindows xanim xemacs xine xml xml2 xmms xorg xpm xprint xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_void input_devices_wacom kernel_linux linguas_en_CA linguas_en_GB linguas_en_US linguas_en linguas_fr linguas_zh_CN linguas_zh_TW userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fglrx video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_nvidia video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS @Andreas: You were right, the error is gone. Thanks for your help! *** Bug 131636 has been marked as a duplicate of this bug. *** Hmm... I've synced yesterday (28.04.2006) and openoffice failed to install for me... I don't see why this bug is marked as resolved. Andrej, I have marked it as resolved because the error which caused this bug in the first place is gone for me. As Andreas pointed out, it may very well have been corrected in one of the recent updates to ooo-build. Are you getting the same error message or a different one? Well, according to Jacub Mok, I do. At least it's on a different language set (fr). Take a look at Bug 131636 please. Andrej, Try to cut some of your CFLAGS. As pointed out earlier in this bug by Hanno, compile OOo without -mfpmath=sse. My current CFLAGS setting which produces a clean build is CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ffast-math" on gcc 3.4.6 I don't want to throw too much garbage in here, but if anyone needs my emerge --info, let me know. Now I've recompiled Oo (build 2.0.2.7 and the new 2.0.2.8) with CFLAGS="-march=athlon-xp -O2 -pipe" CXXFLAGS="-march=athlon-xp -O2 -pipe" LDFLAGS="" and I get the same error as the one described here. Maybe Oo just cannot be compiled with gcc-4.1? Reposting emerge info: Portage 2.1_pre10-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r2, 2.6.16-ck6-r1 i686) ================================================================= System uname: 2.6.16-ck6-r1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.0_pre19 dev-lang/python: 2.4.3 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.91.0.6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ftree-vectorize -ffast-math -mfpmath=sse -DNDEBUG -DG_DISABLE_ASSERT -DNO_DEBUG" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ftree-vectorize -ffast-math -mfpmath=sse -DNDEBUG -DG_DISABLE_ASSERT -DNO_DEBUG -fno-enforce-eh-specs -fvisibility=hidden -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.lug.ro/gentoo" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort" LINGUAS="en-US ro" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib acl acpi adns alsa apache2 arts audiofile avi bitmap-fonts bzip2 cairo calendar caps cdb cdr cli crypt cups curl curlwrappers dbus dio divx4linux dri dv dvd dvdr eds emboss encode esd exif fam fastcgi firefox flac flash foomaticdb fortran freetds ftp gd gif glibc-omitfp gmp gnome gnomedb gnutls gphoto2 gpm gstreamer gtk2 gtkhtml hal imagemagick imap imlib innodb isdnlog jack jpeg jpeg2k kde kdeenablefinal lcms libedit libgda mad maildir mailwrapper memlimit mhash milter mime ming mmap mmx mng mp3 mpeg ncurses nptl nptlonly nsplugin offensive ogg openal opengl pam pcntl pcre pdf pdflib pic png posix ppds pppd qt quicktime readline recode reflection samba scanner sdl session shared sharedmem simplexml slang soap sockets socks5 speex spell spl sqlite sse ssl svg sysvipc tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb vhosts vorbis wmf xine xml xmlrpc xorg xprint xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en-US linguas_ro userland_GNU video_cards_vesa video_cards_vga video_cards_nv video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS I THINK I've read somewhere in another bug that it's possible to compile OOo 2.0.2 with gcc 4.1 but I may very well be wrong here. I did not succeed, and kept on getting the same error as you. Maybe you should try again with a 3.4 branch gcc. What I don't understand is what exactly fails here... because the compilation seems to be ok with gcc-4.1 (In reply to comment #15) > What I don't understand is what exactly fails here... because the compilation > seems to be ok with gcc-4.1 > Most likely regcomp, which is infamous for being very sensitive to compilers and CFLAGS and segfaulting if it doesn't like either. You could also look through a build log and see if there is something going wrong when building project cpputools (where regcomp is) I've installed gcc 3.4.6 and recompiled openoffice and it fails at the same point as described in Bug 131636 and with the same log (I've replaced 2.0.2.7 with 2.0.2.9 in the previous log and then diffed the logs and only the timestamps were different). I've used CFLAGS="-march=athlon-xp -O2 -pipe" CXXFLAGS="-march=athlon-xp -O2 -pipe" I have no ideea what to do next... Probably one of its dependencies makes it fail, but I don't know how to tell which one... I think my problem is the same as this one. I have been playing with the CFLAGS using the recommendations posted here and on other openoffice build problems with gcc 4.1. Can't get it to compile. emerge --info Portage 2.1_rc1-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.16-ck10 i686) ================================================================= System uname: 2.6.16-ck10 i686 AMD Athlon(tm) Gentoo Base System version 1.12.0_pre19 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/ http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext S3TC X a52 aac acpi alsa amarok apache2 arts asf asm audiofile berkdb bzip2 cairo cddb cdio cdparanoia cdr cdrom cli crypt css cups curl dga dlloader dri dvd dvdr dvdread eds emoticon encode fame ffmpeg firefox flac foomaticdb gdbm gif gimp glibc-omitfp glut gstreamer gtk gtk2 gzip ieee1394 imagemagick imlib imlib2 input_devices_evdev input_devices_joystick input_devices_keyboard iproute2 isdnlog jack java javascript joystick jpeg jpeg2k kde lame libwww live logitech-mouse lzo mad mikmod mjpeg mmx mmxext motif mozsvg mp3 mpeg mpeg2 mplayer musicbrainz ncurses network nforce2 nls nntp no-old-linux nomalloccheck nptl nptlonly nsplugin nspr nvidia ogg openal opengl pam pcre pdf perl physfs png pppd python qt quicktime readline real reflection rtc samba scanner sdl spell sse ssl subtitles svg sysfs tcltk tcpd theora tiff transcode truetype truetype-fonts type1 type1-fonts udev unicode urandom usb userlocales v4l2 vcd visualization vorbis win32codecs wmf xine xml xorg xpm xrandr xscreensaver xv xvid xvmc zlib zvbi elibc_glibc kernel_linux userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS Using configure options from the environment Setup: Tag: 'OOO_2_0_2' Apply: '/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/patches/src680/apply' Flags: '' Suffix: '2' Dir: '/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/build' DestDir: '' Path: '/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/build/bin:/opt/sun-jdk-1.5.0.06/bin:.:/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/build/OOO_2_0_2/solver/680/unxlngi6.pro/bin:/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/build/OOO_2_0_2/solenv/unxlngi6/bin:/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/build/OOO_2_0_2/solenv/bin:/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/build/bin:/usr/qt/3/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.0:/opt/sun-jdk-1.5.0.06/bin:/opt/sun-jdk-1.5.0.06/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/bin:/var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/bin' Prefix: '/var/tmp/portage/openoffice-2.0.2-r2/image//usr' Mandir: '/var/tmp/portage/openoffice-2.0.2-r2/image//usr/share/man' Docdir: '/var/tmp/portage/openoffice-2.0.2-r2/image//usr/share/doc/packages/OpenOffice.org' Sysconf: '/var/tmp/portage/openoffice-2.0.2-r2/image//usr/etc' OOInBase: '/usr/lib/openoffice' OOInstall: '/var/tmp/portage/openoffice-2.0.2-r2/image//usr/lib/openoffice' OODestDir: '/var/tmp/portage/openoffice-2.0.2-r2/image/' Config: --disable-binfilter --disable-crashdump --disable-epm --enable-crashdump=no --enable-openldap --with-build-version="Build 2.0.2.9" --with-lang="en-US" --without-fonts --without-gpc --with-system-freetype --with-system-gcc --with-system-jpeg --with-system-libxml --with-system-mozilla --with-system-python --with-system-zlib --enable-evolution2 --enable-atkbridge --with-alloc=system --enable-cairo=yes --with-system-xrender-headers --disable-fontooo --disable-odk --enable-libsn --with-system-curl --with-system-expat --with-system-stdlibs --with-system-xrender-headers --without-system-jpeg --without-nas --disable-qadevooo --with-dynamic-xinerama --with-jdk-home=/opt/sun-jdk-1.5.0.06 --with-ant-home=/usr/share/ant-core --disable-binfilter --with-system-libxml --without-system-mozilla --disable-mozilla --with-firefox --disable-openldap --enable-evolution2 --disable-gnome-vfs --disable-lockdown --disable-atkbridge --enable-gtk --enable-kde --with-system-stdlibs '--with-distro=Gentoo' '--with-vendor=Gentoo' '--with-arch=x86' '--with-srcdir=/var/tmp/portage/openoffice-2.0.2-r2/distdir' '--with-lang=en-US' '--with-num-cpus=1' '--with-binsuffix=2' '--with-installed-ooo-dirname=openoffice' '--with-tag=OOO_2_0_2' '--enable-gtk' '--enable-kde' '--enable-cairo' '--with-system-cairo' '--disable-quickstart' '--disable-mono' '--disable-access' '--disable-post-install-scripts' '--enable-hunspell' '--with-system-hunspell' '--mandir=/usr/share/man' 'CFLAGS=-O2 -march=athlon-xp -mtune=athlon-xp -pipe -mmmx -msse -m3dnow -fno-strict-aliasing' Use gcc33: '' ccache: no icecream: no Cleaning /var/tmp/portage/openoffice-2.0.2-r2/image//usr/lib/openoffice Building /var/tmp/portage/openoffice-2.0.2-r2/image//usr/lib/openoffice/ooo-wrapper2 Generating man page ... Building /var/tmp/portage/openoffice-2.0.2-r2/image//usr/lib/openoffice/install-dict Building /var/tmp/portage/openoffice-2.0.2-r2/image//usr/lib/openoffice/program/java-set-classpath Building /var/tmp/portage/openoffice-2.0.2-r2/image//usr/lib/openoffice/program/pyunorc-update64 Installing extra en-US templates ... Installing system files ... Execute ooinstall ... Reading setup from ./setup Sucking env from build setup Performing environment substitutions ... Use of uninitialized value in string eq at ./ooinstall line 58. Setting up environment Running installer ... checking environment variables ... ######################################################## make_installer.pl, version 1.0 Product list file: openoffice.lst Taking setup script from solver Unpackpath: /var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/build/OOO_2_0_2/instsetoo_native/util Compiler: unxlngi6 Product: OpenOffice BuildID: 9011 Build: OOB680 No minor set Product version Installpath: /usr/lib/openoffice Package format: native Package list file: ../inc_openoffice/unix/packagelist.txt Addon-Package list file: ../inc_openoffice/unix/packagelist_language.txt Not calling epm No file stripping Unzip ARCHIVE files services.rdb can be created Languages: en-US ######################################################## ... checking required files ... ...... searching zip ... Found: /usr/bin/zip ...... searching unzip ... Found: /usr/bin/unzip ... analyzing openoffice.lst ... ... analyzing script: /var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/build/OOO_2_0_2/solver/680/unxlngi6.pro/bin/setup_osl.ins ... ... analyzing directories ... ... analyzing files ... ... analyzing scpactions ... ... analyzing shortcuts ... ... analyzing profile ... ... analyzing profileitems ... ... analyzing modules ... ------------------------------------ ... languages en-US ... ... analyzing files ... ... analyzing files with flag ARCHIVE ... ... analyzing files with flag SCPZIP_REPLACE ... ... analyzing files with flag PATCH_SO_NAME ... ... creating preregistered services.rdb ... ... cleaning the output tree ... ... removing directory /var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/build/OOO_2_0_2/instsetoo_native/util/OpenOffice//zip/en-US ... ... removing directory /var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/build/OOO_2_0_2/instsetoo_native/util/OpenOffice//services.rdb/en-US_witherror_1 ... ************************************************** ERROR: ERROR: Could not register all components! in function: create_services_rdb ************************************************** ************************************************** ERROR: Saved logfile: /var/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.9/build/OOO_2_0_2/instsetoo_native/util/OpenOffice//logging/en-US/log_OOB680__en-US.log ************************************************** Wed May 17 11:51:39 2006 (00:25 min.) Failed to install: at ./ooinstall line 129. make: *** [install] Error 1 !!! ERROR: app-office/openoffice-2.0.2-r2 failed. Call stack: ebuild.sh, line 1527: Called dyn_install ebuild.sh, line 1005: Called src_install openoffice-2.0.2-r2.ebuild, line 239: Called die !!! Installation failed! !!! If you need support, post the topmost build error, and the call stack if relevant. *** Bug 134234 has been marked as a duplicate of this bug. *** Just to reassure: Works fine for me with both gcc-3.4.6 and gcc-4.1.1, any updates from someone else? I've just tried again, with gcc-4.1.1... it doesn't work :(( with ooo-build-2.0.2.11 The same error... Here is a solution that worked for me: I set CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse" emerge --oneshot python emerge --oneshot openoffice I previous built python with -O3 and -ffast-math. Even though I attempted to build openoffice with the above CFLAGS, it kept dying until I rebuild python with the same CFLAGS. Not sure if it was the -O3 or the -ffast-math, but I am not going to wait six hours for every build to find out. I've removed -ffast-math but left -O3 and recompiled python - wow, it worked. OpenOffice now compiles fine. Indeed... it works... :) Lubos: Please be aware of what -ffast-math does. It takes shortcuts when dealing with floating point math. This can lead to inaccurate math. This is something that should never be enabled for program environments like python. The reason being that one can never be sure what programs will be used, and whether the lost accuracy is a problem with those programs. For the same reason -ffast-math should only be enabled locally, not globally. Only certain applications benefit from it while the inaccurateness not being a problem. The main category is (de)compression code for audio and video. The noise there is probably small enough not to notice. So it indeed was another problem with CFLAGS-overoptimization, thanks to everyone for testing, closing *** Bug 148585 has been marked as a duplicate of this bug. *** I don't think anything's going to happen here anymore. Can we close? fine by me |