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

Bug 367539

Summary: dev-tcltk/blt-2.4z-r8 fails under et_EE locale
Product: Gentoo Linux Reporter: Priit Laes (IRC: plaes) <plaes>
Component: [OLD] UnspecifiedAssignee: TCL/TK Project <tcltk>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 368583    

Description Priit Laes (IRC: plaes) 2011-05-16 15:44:46 UTC
This happens when trying to emerge dev-tcltk/blt under et_EE locale:
[snip]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-tcltk/blt-2.4z-r8/work/blt2.4z-8.5.2 ...
 * econf: updating blt2.4z-8.5.2/cf/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating blt2.4z-8.5.2/cf/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --x-includes=/usr/include --x-libraries=/usr/lib64 --with-blt=/usr/lib64 --with-tcl=/usr/lib64 --with-tk=/usr/lib64 --with-tclincls=/usr/include --with-tkincls=/usr/include --with-tcllibs=/usr/lib64 --with-tklibs=/usr/lib64 --with-cc=x86_64-pc-linux-gnu-gcc --with-cflags=-march=native -O2 -pipe -ggdb -fPIC --enable-jpeg --with-x
configure: error: blt: invalid package name
[/snip]
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-17 18:13:15 UTC
You could of course set a proper locale in make.conf...
Comment 2 Priit Laes (IRC: plaes) 2011-05-25 09:06:10 UTC
(In reply to comment #1)
> You could of course set a proper locale in make.conf...

'et_EE' is a proper locale. The real cause of the issue lies in the configure scripts that are generated by an old version of autofoo (probably autoconf). There are two ways to fix it: 1) Regenerate configuration scripts or 2) force LC_ALL=C during configure phase.


The failure itself lies in the peculiarities of the Estonian alphabet where z comes right after s (..rsztuv..), making [a-z] regexp miss buch of latin characters (like 't' in the 'blt').
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2011-06-13 12:38:34 UTC
+  13 Jun 2011; Justin Lecher <jlec@gentoo.org> blt-2.4z-r8.ebuild:
+  Fix compilation under et_EE locale, #367539
+