Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38418 - Emerging with Estonian locale breaks many packages (LC_ALL="et_EE")
Summary: Emerging with Estonian locale breaks many packages (LC_ALL="et_EE")
Status: RESOLVED DUPLICATE of bug 17051
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-16 09:15 UTC by ferret
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
added "sed" line (glib-1.2.10-r5.ebuild,1.34 KB, patch)
2004-01-16 10:22 UTC, ferret
Details | Diff
foomatic-db-20031231.ebuild (foomatic-db-20031231.ebuild,1.53 KB, patch)
2004-01-16 15:10 UTC, ferret
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ferret 2004-01-16 09:15:42 UTC
Here is the list of packages I have found so far that break:

glib1.2
gcc
kbd
ed
mozilla
mozilla-firebird
jpeg
giflib
vim
vim-core
binutils
foomatic-db
foomatic-engine
gtk+-1.2
dialog
tk
fontconfig
php
php-core
foomatic-filters
gdbm
m4

Here is how you might test this on your machine:

# LC_ALL="et_EE" emerge php
(for example)

Usually the breakage is during the configure stage. The actual results vary;
with some arguments to "ln" seem to lose their spaces, with most others an
"invalid name" or similar is given as the reason, often involving libtool or
autoconf.

Another package that did have this problem was wxGTK, however a small patch
from seemant fixed this for me.

A lot of these packages are needed just to get a working system going, and it
would be nice if people in Estonia would be able to run gentoo. :)

So please look for solutions, for other packages that break, whatever. At least
I would like someone to confirm the list of packages so far. Almost all of them
break early on, the exception being foomatic-db, which emerges successfully but
merges everything to a directory called /--dat/ instead of / (rather amusingly).

I will have a go at writing some patches for these, if I have time.

Thanks.
Comment 1 ferret 2004-01-16 10:22:14 UTC
Created attachment 23937 [details, diff]
added "sed" line

This uses a sed command (as you can see) to change the nasty behaivour to more
Estonian-friendly behaivour. It would be nice if someone other than me could be
brave enough to test this :)
Comment 2 ferret 2004-01-16 10:23:33 UTC
oops, by the way, that last patch was for dev-libs/glib-1.2.10-r5
Comment 3 ferret 2004-01-16 11:09:48 UTC
Okay, here's a fix for gcc. Same kind of principle as with glib. Note I haven't
been able to test this very much, and messing with gcc is not something I take
lightly. I've tred this extensively with gcc-3.3.2-r5 and shallowly with 
gcc-3.3.1-r5, gcc-3.2.3-r3, gcc-3.2.2-r2, and gcc-3.2.1-r7.

Here's a diff for gcc-3.3.2-r5, since the ebuild is so damn long. The placement
and additions are the same for the other ebuilds.

--- /usr/portage/sys-devel/gcc/gcc-3.3.2-r5.ebuild      2004-01-01 03:40:01.000000000 +0000
+++ /usr/local/portage/sys-devel/gcc/gcc-3.3.2-r5.ebuild        2004-01-16 19:15:02.753569688 +0000
@@ -299,6 +299,15 @@
        local myconf=
        local gcc_lang=

+       for i in `find ${S} -name "configure"`
+       do
+               sed 's/a-zA-Z0-9/[:alnum:]/g
+                    s/a-zA-Z/[:alpha:]/g
+                    s/a-z/[:lower:]/g
+                    s/A-Z/[:upper:]/g
+                    s/0-9/[:digit:]/g' -i ${i}
+       done
+
        if [ -z "`use build`" ]
        then
                myconf="${myconf} --enable-shared"
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-01-16 12:38:17 UTC

*** This bug has been marked as a duplicate of 17051 ***
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-16 13:08:16 UTC
not quite a dupe -- I'd asked ferret to open this
Comment 6 ferret 2004-01-16 15:10:15 UTC
Created attachment 23949 [details, diff]
foomatic-db-20031231.ebuild

same old
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2004-04-09 08:37:22 UTC
portage devs, can we just set LC_ALL="C" for merging stuffs?
Comment 8 Masatomo Nakano (RETIRED) gentoo-dev 2004-04-09 08:49:51 UTC
seemant,

I think so.
If we need LANG support in Portage, we should do bug #9988.
Comment 9 Reporter 2004-04-09 17:55:44 UTC
being a special friend of the estonian language, let me tell you a working patch
has long been available in bug #17051 comment #50. way to ignore youre most talented
top contributors. cant believe i didnt like him at first.







Comment 10 SpanKY gentoo-dev 2004-05-26 19:13:27 UTC

*** This bug has been marked as a duplicate of 17051 ***