I've got openoffice 2.0.3 in my system, that was built with CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" CFLAGS=${CXXFLAGS} Before emerging openoffice I had rebuild python with CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe" After that I ran export CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe"; export CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe"; emerge openoffice I've got an error, I have full (33 Mb) log tail of them: Cleaning /var/tmp/portage/app-office/openoffice-2.0.4/image//usr/lib/openoffice Building /var/tmp/portage/app-office/openoffice-2.0.4/image//usr/lib/openoffice/ooo-wrapper2 Generating man page ... Building /var/tmp/portage/app-office/openoffice-2.0.4/image//usr/lib/openoffice/install-dict Building /var/tmp/portage/app-office/openoffice-2.0.4/image//usr/lib/openoffice/program/java-set-classpath Installing extra en-US templates ... Installing system files ... Execute ooinstall ... Reading setup from ./setup Sucking env from build setup Performing environment substitutions ... 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/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/instsetoo_native/util Compiler: unxlngi6 Product: OpenOffice BuildID: 9073 Build: OOD680 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: ru ######################################################## ... checking required files ... ...... searching zip ... Found: /usr/bin/zip ...... searching unzip ... Found: /usr/bin/unzip ... analyzing openoffice.lst ... ... analyzing script: /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/bin/setup_osl.ins ... ... analyzing directories ... ... analyzing files ... ... analyzing scpactions ... ... analyzing shortcuts ... ... analyzing profile ... ... analyzing profileitems ... ... analyzing modules ... ------------------------------------ ... languages ru ... ... analyzing files ... ... analyzing files with flag ARCHIVE ... ... analyzing files with flag SCPZIP_REPLACE ... ... analyzing files with flag PATCH_SO_NAME ... ... creating preregistered services.rdb ... ************************************************** ERROR: ERROR: Could not register all components! in function: create_services_rdb ************************************************** ************************************************** ERROR: Saved logfile: /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/instsetoo_native/util/OpenOffice//logging/ru/log_OOD680__ru.log ************************************************** ... cleaning the output tree ... ... removing directory /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/instsetoo_native/util/OpenOffice//zip/ru ... ... removing directory /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/instsetoo_native/util/OpenOffice//services.rdb/ru_witherror_1 ... Sat Dec 2 16:27:32 2006 (00:47 min.) Failed to install: at ./ooinstall line 129. make: *** [install] Ошибка 1 !!! ERROR: app-office/openoffice-2.0.4 failed. Call stack: ebuild.sh, line 1568: Called dyn_install ebuild.sh, line 1022: Called src_install openoffice-2.0.4.ebuild, line 282: Called die !!! Installation failed! !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info My system info in attachment.
Created attachment 103226 [details] System information (emerge --info and other) Information about my system.
We don't support your C[XX]FLAGS, sorry. (And, your python is broken if it was built w/ -ffast-math).
I told that I run export CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe"; export CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe"; emerge python openoffice I used C[XX]FLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe"; So python was emerged with safety C[XX]FLAGS and openoffice was run with the same safety flags. I didn't ever use agressive flags for openoffice.
Please see this bug, my flags for openoffice and python was C[XX]FLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe";
File a new bug after you've recompiled your system w/ sane flags, if you still have problems then.