My LINGUAS="en pl". When compile then get error: -- Found KDE 4.3 include dir: /usr/kde/4.3/include -- Found KDE 4.3 library dir: /usr/kde/4.3/lib64 -- Found the KDE4 kconfig_compiler preprocessor: /usr/kde/4.3/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- Looking for dgettext -- Looking for dgettext - found -- Found Gettext: built in libc CMake Error at CMakeLists.txt:9 (add_subdirectory): add_subdirectory given source "kde-l10n-en-4.2.68" which is not an existing directory. I've investigated it and found, the problem is variable enabled_linguas is set on the basis of LINGUAS, not of USE="linguas_xx". My proposition is: --- kde-l10n-4.2.68.ebuild 2009-04-06 21:16:58.000000000 +0200 +++ kde-l10n-4.2.68.ebuild 2009-04-06 20:49:46.000000000 +0200 @@ -33,8 +33,8 @@ pkg_setup() { local lng - for lng in ${LINGUAS}; do - enabled_linguas+=" ${lng}" + for lng in ${LANGS}; do + use linguas_${lng} && enabled_linguas+=" ${lng}" done if [[ -z ${enabled_linguas} ]]; then elog This one works fine! Regards, Rafał
Fixed! Thanks! =)
Sorry, not yet :-P You still left this line (line 36 in ebuild): - for lng in ${LINGUAS}; do Please change it to: + for lng in ${LANGS}; do These things are related to kde-base/kde-l10n-4.2.69 now. Rafał
Bug is still open in kde-base/kde-l10n-4.2.71
now there are 4.2.85 and 4.2.87. feel free to reopen it
Bug happens with paludis - because of unclear interpretation of linguas flags. Portage's version works fine.
I have reopen bugs again. Guys, why does kde-l10n ebuild for stable kde (4.3.1) runs fine in paludis, but unstable doesn't? Stable ebuilds have correct code which is result of previous bug reports, but ebuilds for unstable have never been fixed and still fail while paludis work. Could it be fixed at last? Cheers, Rafal
Created attachment 221249 [details] emerge info for l10n-4.4.0 I'm having the same problem, in that its not able to find the CMake.lst file.Not too sure if I did the right thing regarding linguas,I put an export statement in /etc/profile. But in any case on my mirror there is not a kde-l10n-4.4.0 file,but heaps of individual country files.
Created attachment 221251 [details] this is the resulting build.log
Your error is because of you don't use LINGUAS variable. The KDE is by default localized for >en< so if you do not use any other language then you don't need kde-l10n package. I think that there should be additional condition in src_prepare, which checks whether LINGUAS is set to language different than >en< (and is not empty).
already fixed, it prints a msg if linguas is unset