app-text/opensp fails to build under a LC_COLLATE=et_EE system, as follows: make all-am make[3]: Entering directory `/var/tmp/portage/app-text/opensp-1.5.2-r2/work/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile mips64el-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -march=loongson2f -mabi=n32 -pipe -mplt -c -o Allocator.lo Allocator.cxx libtool: invalid tag name: --tCXX make[3]: *** [Allocator.lo] Error 1 The problem is that it ships with the libtool files generated with a buggy version (1.5.18), that uses [A-Za-z] and similar regex all over the place, but this doesn't cover the whole alphabet obviously under such a LC_COLLATE, as estonian alphabet does not end with Z - that is a bit before T. It does try to set some locales to "C" for the duration of libtool script running, to ensure that A-Z covers everything, but does it wrong (specifically sets LC_ALL only if unset, as is the case for me, so individual LC_COLLATE setting does not get overridden). Newer versions of libtool do it right by also dealing with LC_COLLATE and so on, instead of just LC_ALL and LANG if set like that ancient 1.5.18 version from year 2005 does. Please fix it by eautoreconf'ing to get a newer libtool used or exporting LC_ALL=C and LANG=C in src_compile(), such as: export LANG=C LC_ALL=C which will force all LC_* variables to C.
Created attachment 248556 [details] /var/tmp/portage/app-text/opensp-1.5.2-r2/temp/build.log Full build log
Created attachment 248558 [details] opensp.emerge.info emerge --info app-text/opensp
for starters the EE locale ie superseded. It is now el or et or something. The problem is that it ships with the libtool files generated with a buggy version (1.5.18) History archtester xml2doc # eix libtool [I] sys-devel/libtool Available versions: (1.3) 1.3.5 (1.5) **1.5.26 (~)1.5.26-r1 (2) 2.2.10 2.4-r1 (~)2.4-r4 (~)2.4.2 **9999 {static-libs test vanilla} Installed versions: 2.4.2(2)(17:59:00 08/02/12)(-static-libs -test -vanilla) It's only been 2 1/2 years. Try again
(In reply to comment #3) > for starters the EE locale ie superseded. It is now el or et or something. Just for the record, my national language of Estonian (with the LINGUAS code of et_EE) has not been superseded by greek or ethopian yet. Would be nice if eautoreconf or something at least would be called here if there's no newer release yet that uses a less broken libtool in tarball.
ohh, eeer hmmmm. So much for that going unnoticed. them's the breaks. I tackled an odd java eclass bug that required the Estonian locale, and from memory what was EE became ET. hmm et_EE, a bit of both. An Estonian national and a gentoo dev. I really know how to pick 'em!!
I'm not actually able to reproduce this. I have added et_EE ISO-8859-1 to /etc/locale.gen and ran locale-gen. I then did LC_ALL=et_EE emerge app-text/opensp. Everything worked fine. Do you still have this problem yourself?