Your message dated Sun, 19 Mar 2006 15:02:13 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#357390: fixed in glibc 2.3.6-4
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: locales
Version: 2.3.6-3
Severity: normal
Collating is seriously broken when using Czech locales. Calls to strcoll(3)
return wrong results. See this simple testcase which compares a string
with itself:
----------------------------------------------------------------------
#include <string.h>
#include <stdio.h>
#include <locale.h>
const char foo[] = "filename.ext";
int main()
{
int r;
setlocale(LC_ALL, "");
r = strcoll(foo, foo);
printf("Comparing string %s to %s returned %d\n", foo, foo, r);
return !!r;
}
----------------------------------------------------------------------
Here are the results:
[EMAIL PROTECTED]:~/c$ ./strcoll-test-simple
Comparing string filename.ext to filename.ext returned -10
[EMAIL PROTECTED]:~/c$ LC_COLLATE=cs_CZ.ISO-8859-2 ./strcoll-test-simple
Comparing string filename.ext to filename.ext returned -16
[EMAIL PROTECTED]:~/c$ LC_COLLATE=en_US.UTF-8 ./strcoll-test-simple
Comparing string filename.ext to filename.ext returned 0
[EMAIL PROTECTED]:~/c$ LC_COLLATE=C ./strcoll-test-simple
Comparing string filename.ext to filename.ext returned 0
[EMAIL PROTECTED]:~/c$
As you can see, when I use any of the two Czech locales, I get a wrong
result. Other locales work fine.
I first noticed the bug with a recursive diff of two directories.
Recursive diff uses strcoll to sort directory entries and gets seriously
confused.
I think I'm also seeing another symptom of this bug - inkscape takes
ages to start and eats lots of memory when run with LC_COLLATE set to
"cs_CZ" or "cs_CZ.UTF-8". This doesn't happen with any other locale I've
tried.
Michal
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-rc5
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Versions of packages locales depends on:
ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii libc6 [glibc-2.3.6-2] 2.3.6-3 GNU C Library: Shared libraries an
locales recommends no packages.
-- debconf information:
* locales/default_environment_locale: cs_CZ.UTF-8
* locales/locales_to_be_generated: cs_CZ ISO-8859-2, cs_CZ.UTF-8 UTF-8,
da_DK.UTF-8 UTF-8, en_US ISO-8859-1, en_US.UTF-8 UTF-8, tr_TR.UTF-8 UTF-8
--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.3.6-4
We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:
glibc-doc_2.3.6-4_all.deb
to pool/main/g/glibc/glibc-doc_2.3.6-4_all.deb
glibc_2.3.6-4.diff.gz
to pool/main/g/glibc/glibc_2.3.6-4.diff.gz
glibc_2.3.6-4.dsc
to pool/main/g/glibc/glibc_2.3.6-4.dsc
libc6-amd64_2.3.6-4_i386.deb
to pool/main/g/glibc/libc6-amd64_2.3.6-4_i386.deb
libc6-dbg_2.3.6-4_i386.deb
to pool/main/g/glibc/libc6-dbg_2.3.6-4_i386.deb
libc6-dev-amd64_2.3.6-4_i386.deb
to pool/main/g/glibc/libc6-dev-amd64_2.3.6-4_i386.deb
libc6-dev_2.3.6-4_i386.deb
to pool/main/g/glibc/libc6-dev_2.3.6-4_i386.deb
libc6-i686_2.3.6-4_i386.deb
to pool/main/g/glibc/libc6-i686_2.3.6-4_i386.deb
libc6-pic_2.3.6-4_i386.deb
to pool/main/g/glibc/libc6-pic_2.3.6-4_i386.deb
libc6-prof_2.3.6-4_i386.deb
to pool/main/g/glibc/libc6-prof_2.3.6-4_i386.deb
libc6-udeb_2.3.6-4_i386.udeb
to pool/main/g/glibc/libc6-udeb_2.3.6-4_i386.udeb
libc6_2.3.6-4_i386.deb
to pool/main/g/glibc/libc6_2.3.6-4_i386.deb
libnss-dns-udeb_2.3.6-4_i386.udeb
to pool/main/g/glibc/libnss-dns-udeb_2.3.6-4_i386.udeb
libnss-files-udeb_2.3.6-4_i386.udeb
to pool/main/g/glibc/libnss-files-udeb_2.3.6-4_i386.udeb
locales_2.3.6-4_all.deb
to pool/main/g/glibc/locales_2.3.6-4_all.deb
nscd_2.3.6-4_i386.deb
to pool/main/g/glibc/nscd_2.3.6-4_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Denis Barbier <[EMAIL PROTECTED]> (supplier of updated glibc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 18 Mar 2006 10:26:45 +0100
Source: glibc
Binary: libc0.1-prof libc6-dev-amd64 libc6-i686 libc6-dev-ppc64 libc0.3-pic
glibc-doc libc0.3 libc0.1-i686 libc6.1-dev libc6-s390x libnss-files-udeb
libc6-dev-sparc64 libc6-i386 libc0.3-dev libc6-udeb libc6-dbg libc6.1-pic
libc6-dev libc0.3-prof libc6-sparcv9 libc0.1-udeb libc6-dev-i386 libc6.1-prof
libc0.1-dev locales libc6-pic libc0.3-udeb libc6-dev-powerpc libc0.1-pic
libc6-ppc64 libc0.3-dbg libc0.1-dbg libc6-amd64 libc0.1 libc6-prof
libc6-powerpc libc6 libc6-sparcv9b libc6.1-udeb libc6.1-dbg nscd libc6-sparc64
libnss-dns-udeb libc6.1 libc6-dev-s390x
Architecture: source i386 all
Version: 2.3.6-4
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Denis Barbier <[EMAIL PROTECTED]>
Description:
glibc-doc - GNU C Library: Documentation
libc6 - GNU C Library: Shared libraries and Timezone data
libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64
libc6-dbg - GNU C Library: Libraries with debugging symbols
libc6-dev - GNU C Library: Development Libraries and Header Files
libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64
libc6-i686 - GNU C Library: Shared libraries [i686 optimized]
libc6-pic - GNU C Library: PIC archive library
libc6-prof - GNU C Library: Profiling Libraries
libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
locales - GNU C Library: National Language (locale) data [support]
nscd - GNU C Library: Name Service Cache Daemon
Closes: 355264 357390 357419
Changes:
glibc (2.3.6-4) unstable; urgency=low
.
[ Aurelien Jarno ]
* Set configure_build to the same value as configure_host for sparc
optimized libraries (as on i386). This way they will be tested.
* If the CPU has biarch support, run tests for cross-compiled libraries.
* Remove ld.so from optimized libraries as it is not used.
* Add regcomp_c.diff (Call __libc_lock_init after init_dfa) from upstream
(Ulrich Drepper). This make possible to run the testsuite again on hppa.
* Enable the testsuite on hppa.
* Add tst-setcontext_c.diff (fix the arguments passed to setcontext during
test) from upstream.
* Create a link /usr/lib32 -> /emul/ia32-linux/usr/lib on amd64.
* Add argp_h.diff fixes (Remove __NTH for __argp_usage inline function)
by Ulrich Drepper (patch from HEAD). (Closes: #355264)
* Add getcwd_ia64.diff (Remove the assertion so that the behaviour is the
same on all platforms, including ia64). This is a temporary fix to bug
#355109, until the upstream takes a decision.
* debian/sysdeps/kfreebsd-amd64.mk:
- s/libc6/libc0.1/g
- Change rtlddir from /lib64 to /lib
.
[ Denis Barbier ]
* locales.config: If $DEBCONF_IS_A_REGISTRY is set to a non-empty value,
the content of /etc/locale.gen does not override debconf values.
* Add strfmon.diff: the negative sign is not printed by strfmon when
current locale defines sign_posn == 4 (as in de_CH) and format
argument contains the ! modifier.
* Fix forward-backward-collation.diff: the change in strcoll_l.c has to
be applied at several places. (Closes: #357390)
* Update timezone data files to tzdata2006b (no data change, only comments).
* Fix resource_h.diff: there was a typo for mips:
s/_RLIMIT_RTPRIO/__RLIMIT_RTPRIO/ (Closes: #357419)
Files:
cbdad6e96d54e15ebee65249177fd40d 2062 libs required glibc_2.3.6-4.dsc
16f877ad817d070fa547e0bd71f6e32f 1311313 libs required glibc_2.3.6-4.diff.gz
da62d6cfcc0ddb5b293a15ef43622dba 3351956 doc optional glibc-doc_2.3.6-4_all.deb
78c91fa8612f8f7511de4431ec14d17c 3926142 libs standard locales_2.3.6-4_all.deb
de847f76bf1fe406b31f79586002c14b 5091042 libs required libc6_2.3.6-4_i386.deb
23919c72896c8fe71615696ac85d6441 2732692 libdevel standard
libc6-dev_2.3.6-4_i386.deb
1c4c3a3c99e3b003b8880238667d7518 1306308 libdevel extra
libc6-prof_2.3.6-4_i386.deb
1cb6932ae3d64e5d9aff042936a78fd2 1075556 libdevel optional
libc6-pic_2.3.6-4_i386.deb
466df0c4006b838a4b27b4acedb61647 1025966 libs extra libc6-i686_2.3.6-4_i386.deb
e636168ebc0400a40882ad3b8f3dee51 3270648 libs standard
libc6-amd64_2.3.6-4_i386.deb
32cbfa984680106160e22f85df736a1d 2011892 libdevel optional
libc6-dev-amd64_2.3.6-4_i386.deb
0c83675ecd41147d43d6194379c8ac06 133518 admin optional nscd_2.3.6-4_i386.deb
fead3a347f6e9c970a5792196169caee 6492076 libdevel extra
libc6-dbg_2.3.6-4_i386.deb
98d1f068b90cf7f71b9d323da2256ad6 741860 debian-installer extra
libc6-udeb_2.3.6-4_i386.udeb
58866bd997097534e24efffc4cd92abd 8682 debian-installer extra
libnss-dns-udeb_2.3.6-4_i386.udeb
35241c841c371d707ba9bae59f9a3f87 15540 debian-installer extra
libnss-files-udeb_2.3.6-4_i386.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFEHHbL8Ri1lR4WGvsRAmiMAKCmdVxBrxBBJpmhl2dc2f4cemG1ZACeKWxS
PfssRrURCEfNo1gEfaMP34k=
=4ub1
-----END PGP SIGNATURE-----
--- End Message ---