Bug#922213: locales-all: Doesn't provide en_DE.UTF-8

2019-08-17 Thread Aurelien Jarno
control: reassign -1 plasma-desktop

On 2019-02-14 14:21, Aurelien Jarno wrote:
> Hi,
> 
> On 2019-02-13 11:41, Charlemagne Lasse wrote:
> > Package: locales-all
> > Version: 2.28-6
> > Severity: normal
> > X-Debbugs-CC: debian-qt-...@lists.debian.org, 
> > debian-tex-ma...@lists.debian.org
> > 
> > 
> > 
> > It is possible under KDE to change the locale to en_DE.UTF-8/German
> > for some specific parts (e.g. time) but it seems to be missing on the
> > system even when locales-all is installed.
> 
> The en_DE locale doesn't exit in Debian, nor in upstream GNU libc. It's
> not going to happen, the en_DK locale exists, but it has been
> acknowledged that it was a mistake to create it.

Given the en_DE locale is not going to be added, nothing could be done
on the glibc side. KDE should be fixed to only allow selecting locales
that are available on the system, or at the bare minimum only the
locales that are available on a standard GNU/Linux system.

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Processed: Re: Bug#922213: locales-all: Doesn't provide en_DE.UTF-8

2019-08-17 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 plasma-desktop
Bug #922213 [locales-all] locales-all: Doesn't provide en_DE.UTF-8
Bug reassigned from package 'locales-all' to 'plasma-desktop'.
No longer marked as found in versions glibc/2.28-6.
Ignoring request to alter fixed versions of bug #922213 to the same values 
previously set

-- 
922213: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922213
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#922213: locales-all: Doesn't provide en_DE.UTF-8

2019-02-14 Thread Aurelien Jarno
Hi,

On 2019-02-13 11:41, Charlemagne Lasse wrote:
> Package: locales-all
> Version: 2.28-6
> Severity: normal
> X-Debbugs-CC: debian-qt-...@lists.debian.org, 
> debian-tex-ma...@lists.debian.org
> 
> 
> 
> It is possible under KDE to change the locale to en_DE.UTF-8/German
> for some specific parts (e.g. time) but it seems to be missing on the
> system even when locales-all is installed.

The en_DE locale doesn't exit in Debian, nor in upstream GNU libc. It's
not going to happen, the en_DK locale exists, but it has been
acknowledged that it was a mistake to create it.

In that precise case, I am not even sure what en_DE means for LC_TIME.
It is supposed to be the way to write the time in English in Germany?
Should it be in the form day/month/year or month/day/year? 12h format
or 24h format?

The locale system has been defined so that you can choose the locale for
a single category. That way you can choose if you want to display the
time in English with the Australian or New-Zeland convention, while
using a different convention for collation or monetary.

> This breaks various things - here for example when I install
> tex-common (via texlive package) and have LC_TIME set to en_DE.UTF-8:

In general KDE should not offer to configure a locale that is not
available on the system. That just creates issues like this one. In
addition the list of available locales can evolve.

I am therefore just tempted to reassign the bug to KDE.

Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Bug#922213: locales-all: Doesn't provide en_DE.UTF-8

2019-02-13 Thread Charlemagne Lasse
Package: locales-all
Version: 2.28-6
Severity: normal
X-Debbugs-CC: debian-qt-...@lists.debian.org, debian-tex-ma...@lists.debian.org



It is possible under KDE to change the locale to en_DE.UTF-8/German
for some specific parts (e.g. time) but it seems to be missing on the
system even when locales-all is installed.

This breaks various things - here for example when I install
tex-common (via texlive package) and have LC_TIME set to en_DE.UTF-8:

LANG=C sudo aptitude
Warning: Invalid locale (please review locale settings, this might
lead to problems later):
  locale::facet::_S_create_c_locale name not valid
Performing actions...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "en_DE.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "en_DE.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "en_DE.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "en_DE.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "en_DE.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up tex-common (6.10) ...
locale: Cannot set LC_ALL to default locale: No such file or directory
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
This may take some time...
fmtutil failed. Output has been stored in
/tmp/fmtutil.JfWPLgok
Please include this file if you report a bug.

dpkg: error processing package tex-common (--configure):
 installed tex-common package post-installation script subprocess
returned error exit status 1
Errors were encountered while processing:
 tex-common
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "en_DE.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "en_DE.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up tex-common (6.10) ...
locale: Cannot set LC_ALL to default locale: No such file or directory
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
This may take some time...
fmtutil failed. Output has been stored in
/tmp/fmtutil.uxDJVCLH
Please include this file if you report a bug.

dpkg: error processing package tex-common (--configure):
 installed tex-common package post-installation script subprocess
returned error exit status 1
Errors were encountered while processing:
 tex-common
Press Return to continue, 'q' followed by Return to quit.
q






LC_TIME=C LANG=C sudo aptitude
Performing actions...
Setting up tex-common (6.10) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
This may take some time... done.
Press Return to continue, 'q' followed by Return to quit.





sudo tail -n 50 /tmp/fmtutil.uxDJVCLH
(/usr/share/texlive/texmf-dist/tex/generic/hyphen/ibyhyph.tex
Greek hyphenation patterns for Ibycus encoding, v3.0))
) )
Beginning to dump on file mllatex.fmt
(preloaded format=mllatex 2019.2.13)
5212 strings of total length 71738
47758 memory locations dumped; current usage is 144&46999
3492 multiletter control sequences
\font\nullfont=nullfont