Problem with language support and Emerge [Solved]

Anything that pertains to Portage

Moderator: Moderators

Problem with language support and Emerge [Solved]

Postby KRA » Fri Aug 03, 2007 12:44

I was wondering, since sabayon is 100% compatible with gentoo, can I set up emerge to use the norwegian gentoo mirror for downloading apps ?

Also in make.conf I have the following set for norwegian language:
LINGUAS="nb nb_NO"

however when I try to compile Thunderbird 2.0 I get the following:
==================================================
localhost kay # emerge -av mozilla-thunderbird

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] mail-client/mozilla-thunderbird-2.0.0.6 USE="crypt ipv6 ldap xinerama xprint -bindist -debug -gnome -mozdom -moznopango -replytolist" LINGUAS="-be -bg -ca -cs -da -de -el -en_GB -es -es_AR -es_ES -eu -fi -fr -ga -ga_IE -hu -it -ja -lt -mk -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ru -sk -sl -sv -sv_SE -tr -zh -zh_CN -zh_TW" 36,612 kB

[ebuild N ] x11-plugins/enigmail-0.95.2-r1 LINGUAS="nb nb_NO -ca -cs -de -el -es -es_ES -fi -fr -hu -it -ja -pl -pt -pt_BR -ru -sl -sv -zh_CN" 1,078 kB

Total: 2 packages (2 new), Size of downloads: 37,690 kB

Would you like to merge these packages? [Yes/No] n
=================================================

As you can see on thunderbird there is a -nb -nb_NO
but on enigmail (whatever that is) there is no - in front.

If I understand emerge correctly, then I will not get norwegian thunderbird !!? why is that ?


I'm using the 3.4a 64bit (I have a amd64 single core) should I make any changes to the make.conf regarding compiling etc ? Is there a guide of things one should "optimize" or do after install ?
Last edited by KRA on Sun Aug 05, 2007 21:36, edited 1 time in total.
KRA
Baby Hen
 
Posts: 6
Joined: Fri Aug 03, 2007 12:36

Re: Emerge questions (new to sabayon)

Postby voxiac » Fri Aug 03, 2007 13:04

KRA wrote:As you can see on thunderbird there is a -nb -nb_NO
but on enigmail (whatever that is) there is no - in front.

If I understand emerge correctly, then I will not get norwegian thunderbird !!? why is that ?


I'm using the 3.4a 64bit (I have a amd64 single core) should I make any changes to the make.conf regarding compiling etc ? Is there a guide of things one should "optimize" or do after install ?

Check your /etc/portage/package.use those linguas could be turned off explicitely (don't ask me why).
Generally go through your /etc/portage/package.* files (they are a bit crufty IMHO) and look for abnormalities. Also have a look at /etc/make.conf (VIDEO_CARDS and INPUT_DEVICES in particular).
voxiac
Advanced Hen
 
Posts: 218
Joined: Sat Feb 10, 2007 17:05
Location: Denmark

Postby totedati » Sun Aug 05, 2007 6:43

or to be even more sure

Code: Select all
LINGUAS="nb nb_NO" emerge -av mozilla-thunderbird


then, if all is working as intended now, as voxiac sugested is time to begin a battle with your /etc/portage/package.* files.
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
totedati
Technological Hen
 
Posts: 417
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Postby totedati » Sun Aug 05, 2007 15:03

hummm ... after my live are now shorter with some minutes ...

me, forgot the thunderbind part of mozilla suite. After an accidental use of firefox e-mail support, i remember that still kmail is not alone:

Code: Select all
Sunday 05 August 2007

esearch thunderbird
[ Results for search key : thunderbird ]
[ Applications found : 2 ]

*  mail-client/mozilla-thunderbird
      Latest version available: 2.0.0.6
      Latest version installed: 1.5.0.9
      Size of downloaded files: [no/bad digest]
      Homepage:    http://www.mozilla.com/en-US/thunderbird/
      Description: Thunderbird Mail Client
      License:     MPL-1.1 GPL-2 LGPL-2.1

*  mail-client/mozilla-thunderbird-bin
      Latest version available: 2.0.0.6
      Latest version installed: [ Not Installed ]
      Size of downloaded files: [no/bad digest]
      Homepage:    http://www.mozilla.com/thunderbird
      Description: Thunderbird Mail Client
      License:     MPL-1.1 GPL-2 LGPL-2.1


indeed i am a lazy person ... is time for:

Code: Select all
sudo emerge -av thunderbird
Password:

These are the packages that would be merged, in order:

Calculating dependencies \
emerge: there are no ebuilds to satisfy "thunderbird".


no surprise here, not so? :oops:

Code: Select all
sudo emerge -av mail-client/mozilla-thunderbird
Password:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] mail-client/mozilla-thunderbird-2.0.0.6 [1.5.0.9] USE="crypt gnome ipv6 ldap xinerama xprint -bindist% -debug -mozdom% -moznopango -replytolist%" LINGUAS="-be% -bg* -ca* -cs* -da* -de* -el* -en_GB -es* -es_AR -es_ES -eu* -fi* -fr* -ga -ga_IE -hu* -it* -ja* -lt* -mk* -nb -nb_NO -nl* -nn% -nn_NO% -pa% -pa_IN -pl -pt% -pt_BR -pt_PT% -ru* -sk* -sl* -sv* -sv_SE -tr* -zh% -zh_CN -zh_TW% (-gu_IN%) (-he%*) (-ko%*)" 36,612 kB
[ebuild     U ] x11-plugins/enigmail-0.95.2-r1 [0.94.1] LINGUAS="-ca* -cs* -de* -el* -es* -es_ES* -fi* -fr* -hu* -it* -ja* -nb* -nb_NO* -pl* -pt* -pt_BR* -ru* -sl* -sv* -zh_CN* (-es_AR%*) (-ko%*) (-nl%*) (-sk%*) (-sv_SE%*)" 1,049 kB

Total: 2 packages (2 upgrades), Size of downloads: 37,661 kB

Would you like to merge these packages? [Yes/No]


here is a surprise for me ... my last firefox upgrade output look like:

Code: Select all
sudo emerge -av mozilla-firefox opera
Password:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] www-client/mozilla-firefox-2.0.0.6 [2.0.0.4] USE="filepicker gnome ipv6 java xforms xinerama xprint -bindist -debug -mozdevelop -moznopango -restrict-javascript" LINGUAS="ro* -af -ar -be -bg -ca -cs -da -de -el -en_GB -es -es_AR -es_ES -eu -fi -fr -fy -fy_NL -ga -ga_IE -gu -gu_IN -he -hu -it -ja -ka -ko -ku -lt -mk -mn -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ru -sk -sl -sv -sv_SE -tr -zh -zh_CN -zh_TW" 36,702 kB
[ebuild     U ] www-client/opera-9.22 [9.21] USE="gnome spell -qt-static" 5,107 kB

Total: 2 packages (2 upgrades), Size of downloads: 41,808 kB

Would you like to merge these packages? [Yes/No]


you see the LINGUAS="ro* part not so? This is because my LINGUAS line in make.conf is:

Code: Select all
cat /etc/make.conf | grep LINGUAS
LINGUAS="en ro"


so for me national language support was a "solved problem". But my try with thunderbind look like i don't have any more a LINGUAS="ro* part. Why? I suspect because thunderbind don't have at all romanian support. But for nb part i try also, to be sure what im talking here is not warporware, this variant:

Code: Select all
LINGUAS="en ro nb" sudo emerge -av mail-client/mozilla-thunderbird
Password:
Sorry, try again.
Password:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] mail-client/mozilla-thunderbird-2.0.0.6 [1.5.0.9] USE="crypt gnome ipv6 ldap xinerama xprint -bindist% -debug -mozdom% -moznopango -replytolist%" LINGUAS="nb* -be% -bg* -ca* -cs* -da* -de* -el* -en_GB -es* -es_AR -es_ES -eu* -fi* -fr* -ga -ga_IE -hu* -it* -ja* -lt* -mk* -nb_NO -nl* -nn% -nn_NO% -pa% -pa_IN -pl -pt% -pt_BR -pt_PT% -ru* -sk* -sl* -sv* -sv_SE -tr* -zh% -zh_CN -zh_TW% (-gu_IN%) (-he%*) (-ko%*)" 36,791 kB
[ebuild     U ] x11-plugins/enigmail-0.95.2-r1 [0.94.1] LINGUAS="nb -ca* -cs* -de* -el* -es* -es_ES* -fi* -fr* -hu* -it* -ja* -nb_NO* -pl* -pt* -pt_BR* -ru* -sl* -sv* -zh_CN* (-es_AR%*) (-ko%*) (-nl%*) (-sk%*) (-sv_SE%*)" 1,078 kB

Total: 2 packages (2 upgrades), Size of downloads: 37,869 kB

Would you like to merge these packages? [Yes/No]


HUH !!! Is all here LINGUAS="nb* and -nb_NO !!! Not so intelligent from portage part, but look like you need a:

Code: Select all
LINGUAS="en ro nb nb_NB" sudo emerge -av mail-client/mozilla-thunderbird
Password:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] mail-client/mozilla-thunderbird-2.0.0.6 [1.5.0.9] USE="crypt gnome ipv6 ldap xinerama xprint -bindist% -debug -mozdom% -moznopango -replytolist%" LINGUAS="nb* -be% -bg* -ca* -cs* -da* -de* -el* -en_GB -es* -es_AR -es_ES -eu* -fi* -fr* -ga -ga_IE -hu* -it* -ja* -lt* -mk* -nb_NO -nl* -nn% -nn_NO% -pa% -pa_IN -pl -pt% -pt_BR -pt_PT% -ru* -sk* -sl* -sv* -sv_SE -tr* -zh% -zh_CN -zh_TW% (-gu_IN%) (-he%*) (-ko%*)" 36,791 kB
[ebuild     U ] x11-plugins/enigmail-0.95.2-r1 [0.94.1] LINGUAS="nb -ca* -cs* -de* -el* -es* -es_ES* -fi* -fr* -hu* -it* -ja* -nb_NO* -pl* -pt* -pt_BR* -ru* -sl* -sv* -zh_CN* (-es_AR%*) (-ko%*) (-nl%*) (-sk%*) (-sv_SE%*)" 1,078 kB

Total: 2 packages (2 upgrades), Size of downloads: 37,869 kB

Would you like to merge these packages? [Yes/No]


is not working ... and is sure, -nb_NO part is masked in /etc/portage/package.use:

Code: Select all
cat /etc/portage/package.use | grep thunderbird | grep nb_
mail-client/mozilla-thunderbird -linguas_en_GB -linguas_es_AR -linguas_es_ES -linguas_fy -linguas_fy_NL -linguas_ga -linguas_ga_IE -linguas_gu_IN -linguas_ka -linguas_ku -linguas_nb -linguas_nb_NO -linguas_nn -linguas_nn_NO -pa_IN -linguas_pl -linguas_pt -linguas_pt_BR -linguas_pt_PT -linguas_sv_SE -linguas_zh_CN -linguas_zh_TW


you see -linguas_nb and -linguas_nb_NO is here. edit that line in package.use and delete that part and now try again ... also edit you LINGUAS line in make.conf and put here something like me, for you i suspect LINGUAS="en nb" is ok. And then try again. I hope is working now ... For me is no hope, my language is not even masked, and with all my good settings, working for firefox, can not pull up ro in any form to my thunderbird install ...

then, lost any hope, do it again .... and after some time, 1+0.5 hours almost, my proc chewing the bits:

Code: Select all
sudo emerge -av mail-client/mozilla-thunderbird
Password:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] mail-client/mozilla-thunderbird-2.0.0.6 [1.5.0.9] USE="crypt gnome ipv6 ldap xinerama xprint -bindist% -debug -mozdom% -moznopango -replytolist%" LINGUAS="-be% -bg* -ca* -cs* -da* -de* -el* -en_GB -es* -es_AR -es_ES -eu* -fi* -fr* -ga -ga_IE -hu* -it* -ja* -lt* -mk* -nb -nb_NO -nl* -nn% -nn_NO% -pa% -pa_IN -pl -pt% -pt_BR -pt_PT% -ru* -sk* -sl* -sv* -sv_SE -tr* -zh% -zh_CN -zh_TW% (-gu_IN%) (-he%*) (-ko%*)" 36,612 kB
[ebuild     U ] x11-plugins/enigmail-0.95.2-r1 [0.94.1] LINGUAS="-ca* -cs* -de* -el* -es* -es_ES* -fi* -fr* -hu* -it* -ja* -nb* -nb_NO* -pl* -pt* -pt_BR* -ru* -sl* -sv* -zh_CN* (-es_AR%*) (-ko%*) (-nl%*) (-sk%*) (-sv_SE%*)" 1,049 kB

Total: 2 packages (2 upgrades), Size of downloads: 37,661 kB

Would you like to merge these packages? [Yes/No
.
blablabla part is here
.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Messages for package mail-client/mozilla-thunderbird-2.0.0.6:

 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging mozilla-thunderbird _with_ the bindist USE-flag
 * Sorry, but mozilla-thunderbird does not support the ro LINGUA
 * Selected language packs (first will be default): en
 * Sorry, but mozilla-thunderbird does not support the ro LINGUA
 * Please remerge x11-plugins/enigmail after updating mozilla-thunderbird.
 * Installing includes and idl files...
 * Removing old installs with some really ugly code.  It potentially
 * eliminates any problems during the install, however suggestions to
 * replace this are highly welcome.  Send comments and suggestions to
 * [email protected]

 * Messages for package x11-plugins/enigmail-0.95.2-r1:

 * Sorry, but enigmail does not support the ro LINGUA
 * Sorry, but enigmail does not support the ro LINGUA
 * GNU info directory index is up-to-date.


finally the necesary cache update exercise:

Code: Select all
sudo update_portage_cache
+ update-eix
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] /mnt/reiserfs/portage/ (cache: metadata)
     Reading 100%
[1] /mnt/reiserfs/portage/local/layman/sabayon (cache: none)
     Reading 100%
[2] /mnt/reiserfs/portage/local/layman/einit (cache: none)
     Reading 100%
[3] /mnt/reiserfs/portage/local/layman/sunrise (cache: none)
     Reading 100%
Applying masks ..
Database contains 12359 packages in 149 categories.
+ eupdatedb -v
 * app-accessibility: 1 second(s)
 * app-admin: 3 second(s)
.
... blablabla all of it goes here ;-p
.


Then, the latest thunderbird version is here:

Code: Select all
esearch -I thunderbird
[ Results for search key : thunderbird ]
[ Applications found : 1 ]

*  mail-client/mozilla-thunderbird
      Latest version available: 2.0.0.6
      Latest version installed: 2.0.0.6
      Size of downloaded files: [no/bad digest]
      Homepage:    http://www.mozilla.com/en-US/thunderbird/
      Description: Thunderbird Mail Client
      License:     MPL-1.1 GPL-2 LGPL-2.1


now, i am sure you know every move you need to do ... next ? :shock:
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
totedati
Technological Hen
 
Posts: 417
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Postby KRA » Sun Aug 05, 2007 21:38

Thanks to all, it was the package.use that was the problem. I don't see the point in having those settings overriding you LINGUAS in make.conf
KRA
Baby Hen
 
Posts: 6
Joined: Fri Aug 03, 2007 12:36


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest