I can't emerge the latest openoffice 1.1.0-r2 because of languages problem. My system is LANGUAGE=fr_FR The ebuild don't care of the LANGUAGE settings. It always take the system one. I have put an echo in the ebuild to see it. Here is the run : Toonemach2 root # echo $LANGUAGE fr_FR Toonemach2 root # LANGUAGE="33" emerge -u openoffice Calculating dependencies ...done! >>> emerge (1 of 1) app-office/openoffice-1.1.0-r2 to / >>> md5 src_uri ;-) OOo_1.1.0_source.tar.bz2 >>> md5 src_uri ;-) gpc231.tar.Z >>> md5 src_uri ;-) freetype-2.1.4.tar.bz2 * **************************************************************** * It is important to note that OpenOffice.org is a very fragile * build when it comes to CFLAGS. A number of flags have already * been filtered out. If you experience difficulty merging this * package and use agressive CFLAGS, lower the CFLAGS and try to * merge again. * **************************************************************** LANGUAGE = fr_FR * Unknown LANGUAGE setting! * * Known LANGUAGE settings are: * ENUS | PORT | RUSS | GREEK | DTCH | FREN | SPAN | FINN | CAT | ITAL | * CZECH | SLOVAK | DAN | SWED | POL | GER | PORTBR | THAI | ESTONIAN | * JAPN | KOREAN | CHINSIM | CHINTRAD | TURK | HINDI | ARAB | HEBREW !!! ERROR: app-office/openoffice-1.1.0-r2 failed. !!! Function set_languages, Line 213, Exitcode 0 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. simply emerge openoffice 2. 3. Actual Results: stop the emerge Expected Results: long compilation of openoffice Toonemach2 root # emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r8-PTH) ================================================================= System uname: 2.4.20-gentoo-r8-PTH i686 Intel(R) Celeron(TM) CPU 1300MHz Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://ftp.gentoo.skynet.be/pub/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses pdflib png spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex nas bonobo svga tcltk java guile postgres X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis motif opengl acpi cdr dvd ethereal evo gb gd gnomedb gphoto2 gtkhtml kerberos krb4 lcms libgda mbox mozilla odbc pcmcia pda plotutils pnp samba scanner sse tiff trusted usb xml -nls -esd -qt -kde ppds quicktime gnome gtk gtk2"
The LANGUAGE variable should not matter anyway for applications, they use LANG, so setting it should normally have no effect. I have no idea why the system settings override the command-line ones. (or is LANGUAGE defined in make.conf?) If it is in /etc/profile you might want to remove it from there (temporarilly). If you don't want to do that, you could also add fr_FR to the case statement for french.
Thanks for the comments. I make the following changes in some files : My languages settings are defined here. I put LANGUAGE in comments. toone@Toonemach2 toone $ cat /etc/env.d/02locales LANG=fr_FR LC_TYPE=fr_BE@euro LC_MONETARY=fr_BE@euro LC_ALL=fr_FR #LANGUAGE=fr_FR I have defined LANGUAGE="33" in /etc/make.conf. Now, I ebuild openoffice with the correct LANGUAGE and I hope without errors; the compiling begins now. But I am like you : I have no idea why the system settings override the command-line ones. Maybe because emerge loose the command-line one when launching the openoffice ebuild. I've tried before to put the LANGUAGE setting in /etc/make.conf without putting in comment the one in /etc/env.d/02locales. In this case, the system setting were taken. The LANGUAGE variable is used by some applications ie : gnome-commander and others I don't remember. I will see at the usage of them. So the problem is fixed for me but the question is still there. Pierre Brussels
Actually I think this is one of the problems which raised it's ugly head because of the build system using tcsh, this should be fixed with openoffice-1.1.0-r3, closing.