Debian Bug report logs -
#25076
X libraries should be compiled with -DX_LOCALE
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Branden Robinson <branden@debian.org>
:
Bug#25076
; Package xlib6g
.
(full text, mbox, link).
Acknowledgement sent to Owen Taylor <otaylor@redhat.com>
:
New bug report received and forwarded. Copy sent to Branden Robinson <branden@debian.org>
.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: xlib6g
Version: 3.3.2.2-4
This report is a "reminder" about outstanding bugs 15617,
15909, and 16927.
If Xlib is compiled with the -DX_LOCALE flag, it
incorporates it's own locale handling code, which can
optionally be used by applications that define X_LOCALE and
include <Xlocale.h>x.
The need for this, with respect to European locales was
removed with the transition from libc5 to glibc. However,
glibc-2.0.x does not include support for the Asian CJK
locales. This means that the current Debian versions of Xlib
cannot be used in a CJK environment. In my opinion, Xlib
should be compiled with -DX_LOCALE until glibc contains
support for these locales. For programs compiled without
-DX_LOCALE, it should not matter whether or not X is compiled
with -DX_LOCALE.
In addition, the binaries of XFree86 distributed by XFree86
are compiled with -DX_LOCALE, so binaries compiled against
the XFree86 libraries may currently not be compatible with
the Debian libraries.
(The symptom is undefined references to _Xsetlocale)
Apparently this is done as a customization after they
release the sources, since I do not believe that the
sources, as shipped, will build with -DX_LOCALE.
I haven't tried it, but I believe the flag should be added
in linux.cf, either along with -D_REENTRANT in StandardDefines,
or in LinuxSourceDefines, where it is defined for libc5
systems.
Regards,
Owen Taylor
Severity set to `normal'.
Request was from Branden Robinson <branden@purdue.edu>
to control@bugs.debian.org
.
(full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun May 5 02:15:39 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.