Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51900 - control-center-1.4.0.5-r1 compilation fails when LINGUAS is set
Summary: control-center-1.4.0.5-r1 compilation fails when LINGUAS is set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 53593 67627 97044 102894 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-24 01:46 UTC by Alan Schmitt
Modified: 2005-12-07 15:49 UTC (History)
10 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Schmitt 2004-05-24 01:46:01 UTC
Emerging control-center-1.4.0.5-r1 (sucked in by emerging gnucash) fails with a compilation error.

Reproducible: Always
Steps to Reproduce:
1. emerge gnucash (this leads to emerging control-center-1.4.0.5-r1)

Actual Results:  
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5'
Making all in intl
make[2]: Entering directory
`/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/intl'
Making all in po
make[2]: Entering directory
`/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/po'
make[2]: *** No rule to make target `en.gmo', needed by `all-yes'.  Stop.
make[2]: Leaving directory
`/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/control-center-1.4.0.5-r1 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! (no error message)


Expected Results:  
compilation should have succeeded

I have LINGUAS set to 'en fr'. According to this link
http://mail.gnome.org/archives/gnome-list/2000-February/msg00194.html this is
the cause of the problem. I commented out the LINGUAS line and emerged gnucash
again. This time it worked (and compilation of control-center did work as well).
Comment 1 foser (RETIRED) gentoo-dev 2004-05-24 09:54:19 UTC
We do not consider setting LINGUAS a valid option, because it is troublesome in a lot of occasions. So this is not a bug to us.

control-center-1* is totally unmaintained btw, so i guess you're just stuck here disabling LINGUAS.

Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-06-13 02:59:19 UTC
*** Bug 53593 has been marked as a duplicate of this bug. ***
Comment 3 Henryk Plötz 2004-06-27 20:42:17 UTC
http://www.gentoo.org/doc/en/handbook/draft/desktop.xml?part=1&chap=2#doc_chap3 explicitly advises to set LINGUAS in make.conf so that each update of kde-i18n would automatically include the right languages. In my opinion this looks like the right way and ebuilds that break with LINGUAS set should simply unset it. 
Comment 4 Sascha Silbe 2004-06-28 08:54:26 UTC
There are even ebuilds that break if LINGUAS is _not_ set:

root@cube:~# emerge -v --oneshot kde-i18n
Calculating dependencies ...done!
>>> emerge (1 of 1) kde-base/kde-i18n-3.2.2 to /
>>> Unpacking source...
 * 
 * You must define a LINGUAS environment variable that contains a list
 * of the language codes for which languages you would like to install.
 * e.g.: LINGUAS="se de pt"
 * 

!!! ERROR: kde-base/kde-i18n-3.2.2 failed.
!!! Function src_unpack, Line 75, Exitcode 0
!!! (no error message)

root@cube:~# 


So PLEASE fix this ASAP. I need both kde-i18n and gnucash (=> control-center) on the same host.
BTW: It seems control-center only chokes on single-part language descriptors (i.e. "de", "en", ... instead of "en_GB", "en_US", "de_DE", ...). You might consider just filtering those out of LINGUAS.

PS: Why is control-center used at all if it's unmaintained?

Comment 5 foser (RETIRED) gentoo-dev 2004-06-30 08:30:06 UTC
because ppl would scream and yell if we ripped it. Anyway it works just fine if not broken auto* features get added overnight.
Comment 6 foser (RETIRED) gentoo-dev 2004-06-30 08:35:57 UTC
I think it's bad behaviour of the kde-i18n ebuild to break when a non-default variable needs to be set to work. It's bad behaviour anyway not to work by default (make a default choice).

reassigning to bug-wranglers.. i think it's a problem, but it's not gnome's 

personally i think whoever thought it was wise to make something as known problematic as setting LINGUAS part of portage behaviour, should also fix the problems that arise from adding it.
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-06-30 10:37:50 UTC
What "default" choice would you propose?

There was a long discussion about this on a bug last year, (somewhere in the #9000 range) and LINGUAS was the variable that we (the kde team) were told to use.
Comment 8 foser (RETIRED) gentoo-dev 2004-06-30 14:48:49 UTC
portage isn't translated atm, you could use that as default language since that makes it the one language you can't get around. Or install everything, because that was what happened in the past i assume.

Anyway, it's not for me to decide. I just think it's bad the ebuild stops when nothing is set, ebuilds ideally should merge without user interaction and i don't think this is a case where it is really impossible to get around that.

But that isn't really the focus of this bug...
Comment 9 Paul de Vrieze (RETIRED) gentoo-dev 2004-07-05 04:19:41 UTC
For the default language one does not need to install any language pack and kde-i18n is not needed.
Comment 10 foser (RETIRED) gentoo-dev 2004-07-19 04:15:59 UTC
*** Bug 55987 has been marked as a duplicate of this bug. ***
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2004-09-30 04:13:28 UTC
Gnome team - step up and close these as WONTFIX or fix it.  I'm tired of these
being tossed back and forth.
Comment 12 Frieder Bürzele 2004-10-01 15:24:36 UTC
The ebuild is missing this dependency:
<=orbit-0.5.17
Comment 13 foser (RETIRED) gentoo-dev 2004-10-02 04:29:44 UTC
closing WONTFIX, this is not the gnome teams problem

@comment #12 : 
a) that dep isn't needed in this ebuild 
b) it's not relevant to this bug at all
Comment 14 Frieder Bürzele 2004-10-03 10:30:24 UTC
I had to install orbit-0.5.17 to get control-center-1.4.0.5-r1 to compile

look at the the configure script and (similar) errormessage if orbit isn
Comment 15 Frieder Bürzele 2004-10-03 10:30:24 UTC
I had to install orbit-0.5.17 to get control-center-1.4.0.5-r1 to compile

look at the the configure script and (similar) errormessage if orbit isn´t installed:

checking for working ORBit environment... no

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5'
Making all in intl
make[2]: Entering directory `/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/intl'
Making all in po
make[2]: Entering directory `/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/po'
Making all in macros
make[2]: Entering directory `/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/macros'
Making all in control-center
make[2]: Entering directory `/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/control-center'
make[2]: *** No rule to make target `no', needed by `my_control_center_idl'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5/control-center'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/control-center-1.4.0.5-r1/work/control-center-1.4.0.5'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: gnome-base/control-center-1.4.0.5-r1 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)

I´m sorry if it´s just garbage but I NEED to install orbit first to get it compile
Comment 16 foser (RETIRED) gentoo-dev 2005-01-06 04:20:40 UTC
*** Bug 67627 has been marked as a duplicate of this bug. ***
Comment 17 Simone Piunno 2005-06-09 00:55:28 UTC
Let me tell you, for a gentoo user it is really sad to hitting this bug and then
read this bugzilla issue.  

I can't believe after one year you've been unable to settle to a fix that works
for everyone.
Comment 18 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-06-09 12:08:18 UTC
Why?  We don't write Gnome, or even maintain it, we just package it up.  If
upstream has completely dropped support for a long time, there's nothing we can
do.  Feel free to fix it yourself, and maintain the result, but we are not
Gnome, we are Gentoo.
Comment 19 SpanKY gentoo-dev 2005-06-09 12:47:53 UTC
i know the gnome team could probably care less but i think the `string-linguas`
function would work well (it's in eutils.eclass)

i use it in binutils to auto detect LINGUAS that each release supports instead
of having to manually update some list myself
Comment 20 foser (RETIRED) gentoo-dev 2005-06-10 07:31:28 UTC
string-linguas would probably be fine, I didn't know of it's existance. Though
i'd still like these issues to be adressed in a wider I18N effort, but thats
beyond the scope of this bug.

Reality is that we really should be ditching gnome-1.4 and that this is a good
point in time to do so. So expect an announcement mail concerning this soon.
Comment 21 Sascha Silbe 2005-06-10 08:13:25 UTC
Please consider that the latest GnuCash release still requires Gnome-1. It's the only reason I've installed Gnome-related packages on my system at all.
GnuCash is mission critical for me. Removing packages required for building GnuCash would render Gentoo useless for me.
Comment 22 John N. Laliberte (RETIRED) gentoo-dev 2005-06-25 09:11:47 UTC
*** Bug 97044 has been marked as a duplicate of this bug. ***
Comment 23 John N. Laliberte (RETIRED) gentoo-dev 2005-11-05 20:31:17 UTC
I've committed -r2 that should fix this issue, can you guys test and report back?

Thanks!
Comment 24 John N. Laliberte (RETIRED) gentoo-dev 2005-11-05 20:32:57 UTC
*** Bug 102894 has been marked as a duplicate of this bug. ***
Comment 25 Arnaud Launay 2005-11-06 02:21:56 UTC
Tested, works just fine here. Thanks.
Comment 26 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-11-06 13:00:58 UTC
Closing
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2005-12-07 15:49:38 UTC
*** Bug 114809 has been marked as a duplicate of this bug. ***