Summary: | ktp-accounts-kcm won't build without explicitly setting LC_ALL="C" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michele Alzetta <michele> |
Component: | Eclasses | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | kentnl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michele Alzetta
2016-09-17 08:15:12 UTC
> LANG = "it"
It looks like perl can't find support for LANG="it"
This is probably a misconfiguration on your part.
LANG is supposed to be a string like: it_IT
as mapped from /usr/share/i18n/locales/
And so perl warns saying that was an issue.
*HOWEVER*, it keeps on going:
LANG=it LC_CTYPE=C LC_TIME=C LC_MESSAGES=C LANGUAGE="" perl -e1 && echo "was ok"
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = (unset),
LC_TIME = "C",
LC_CTYPE = "C",
LC_MESSAGES = "C",
LANG = "it"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
was ok
So its something that I cant' divine from the trace going wrong and the perl locale stuff is just distraction. ( Though if cmake traps warnings to stderr and treats that as an error, then the problem might be cmake prematurely escallating warnings to errors )
No other ebuilds have this problem, and if I emerge like this: LC_ALL="C" emerge ktp-accounts-kcm it works fine. So there is definitely some glitch somewhere. When I get back to my box on saturday I'll check if changing the LANG variable works. (In reply to Michele Alzetta from comment #2) > No other ebuilds have this problem, and if I emerge like this: > I would suspect quite a few more ebuilds are *warning* this problem, given this exact situation causes Perl to warn with *no code*. But this is the only place where this warning is causing a failure. _Why_ that happens is the important question ( but outside my expertise from the perl side, so somebody in kde will have to give me more to work with ) Fixing LANG variable fixed this. It is strange, however, that this ebuild and kaccounts-providers are the only two that fail because of this. |