Debian Bug report logs -
#391061
aptitude: Japanese manpages wrongly encoded when built with DocBook XSL >=1.69.0
Reported by: Kobayashi Noritada <nori1@dolphin.c.u-tokyo.ac.jp>
Date: Wed, 4 Oct 2006 17:18:06 UTC
Severity: important
Tags: l10n, patch
Found in version aptitude/0.4.3-1
Fixed in version aptitude/0.4.4-1
Done: Daniel Burrows <dburrows@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Daniel Burrows <dburrows@debian.org>:
Bug#391061; Package aptitude.
(full text, mbox, link).
Acknowledgement sent to Kobayashi Noritada <nori1@dolphin.c.u-tokyo.ac.jp>:
New Bug report received and forwarded. Copy sent to Daniel Burrows <dburrows@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: aptitude
Version: 0.4.3-1
Severity: important
Tags: patch l10n
Hi,
KISE Hiroshi found[1] that the Japanese manpage aptitude(8) is
UTF-8-encoded. Since manpages do not have encoding information,
Japanese manpages under /usr/share/man/ja are all handled as
EUC-JP-encoded files by the man-db program[2], and UTF-8-encoded ones
cannot displayed correctly (nearly all the characters turn into
garbage). I've created a patch to fix it and attach here, with the
severity "important" since manpages are important resources for users.
This bug is resulted from an incompatible change in DocBook XSL 1.69.0
that a parameter to specify output manpage encoding changed from
chunker.output.encoding to man.output.encoding[3] (Sorry, I always
checked with an older version of DocBook XSL). So, aptitude should
specify a version of docbook-xsl to Build-Depends on. Also, it is
better to fix doc/aptitude-man.xsl accordingly, which uses
chunker.output.encoding but is not affected since it specifies encoding
as UTF-8, the default output manpage encoding in DocBook XSL >=1.69.0.
[1] http://lists.debian.or.jp/debian-users/200610/msg00008.html (in Japanese)
[2] man-db src/encodings.c
[3] /usr/share/doc/docbook-xsl/changelog.gz
Thanks,
-nori
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)
Versions of packages aptitude depends on:
ii apt [libapt-pkg-libc6 0.5.28.6 Advanced front-end for dpkg
ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.3-13sarge1 GCC support library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libsigc++-1.2-5c102 1.2.5-4 type-safe Signal Framework for C++
ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3
-- no debconf information
[fix-man-ja.patch (text/plain, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Burrows <dburrows@debian.org>:
Bug#391061; Package aptitude.
(full text, mbox, link).
Acknowledgement sent to Christian Perrier <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to Daniel Burrows <dburrows@debian.org>.
(full text, mbox, link).
Message #10 received at 391061@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
> KISE Hiroshi found[1] that the Japanese manpage aptitude(8) is
> UTF-8-encoded. Since manpages do not have encoding information,
> Japanese manpages under /usr/share/man/ja are all handled as
> EUC-JP-encoded files by the man-db program[2], and UTF-8-encoded ones
> cannot displayed correctly (nearly all the characters turn into
> garbage). I've created a patch to fix it and attach here, with the
> severity "important" since manpages are important resources for users.
Nice catch. Committed to my archive and sent to Daniel.
You're doing a tremendous work on these issues. Congratulations and
thanks again.
[signature.asc (application/pgp-signature, inline)]
Tags added: pending
Request was from Christian Perrier <bubulle@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Reply sent to Daniel Burrows <dburrows@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Kobayashi Noritada <nori1@dolphin.c.u-tokyo.ac.jp>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #17 received at 391061-close@bugs.debian.org (full text, mbox, reply):
Source: aptitude
Source-Version: 0.4.4-1
We believe that the bug you reported is fixed in the latest version of
aptitude, which is due to be installed in the Debian FTP archive:
aptitude-doc-cs_0.4.4-1_all.deb
to pool/main/a/aptitude/aptitude-doc-cs_0.4.4-1_all.deb
aptitude-doc-en_0.4.4-1_all.deb
to pool/main/a/aptitude/aptitude-doc-en_0.4.4-1_all.deb
aptitude-doc-fi_0.4.4-1_all.deb
to pool/main/a/aptitude/aptitude-doc-fi_0.4.4-1_all.deb
aptitude-doc-fr_0.4.4-1_all.deb
to pool/main/a/aptitude/aptitude-doc-fr_0.4.4-1_all.deb
aptitude_0.4.4-1.diff.gz
to pool/main/a/aptitude/aptitude_0.4.4-1.diff.gz
aptitude_0.4.4-1.dsc
to pool/main/a/aptitude/aptitude_0.4.4-1.dsc
aptitude_0.4.4-1_i386.deb
to pool/main/a/aptitude/aptitude_0.4.4-1_i386.deb
aptitude_0.4.4.orig.tar.gz
to pool/main/a/aptitude/aptitude_0.4.4.orig.tar.gz
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 391061@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Burrows <dburrows@debian.org> (supplier of updated aptitude 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 26 Oct 2006 21:02:00 -0700
Source: aptitude
Binary: aptitude-doc-cs aptitude-doc-fr aptitude-doc-fi aptitude-doc-en aptitude
Architecture: source all i386
Version: 0.4.4-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Burrows <dburrows@debian.org>
Changed-By: Daniel Burrows <dburrows@debian.org>
Description:
aptitude - terminal-based apt frontend
aptitude-doc-cs - Czech manual for aptitude, a terminal-based apt frontend
aptitude-doc-en - English manual for aptitude, a terminal-based apt frontend
aptitude-doc-fi - Finnish manual for aptitude, a terminal-based apt frontend
aptitude-doc-fr - French manual for aptitude, a terminal-based apt frontend
Closes: 38973 351531 351531 361050 374919 381481 386307 386852 387336 387537 387579 387734 387803 388045 388401 388552 388552 388594 389581 389583 389763 389942 390736 390971 391061 391531 391663 391684 392305 392305 392305 392870 392903 392924 393070 393643 394696 395007 395201
Changes:
aptitude (0.4.4-1) unstable; urgency=low
.
* New upstream release.
.
- Bulleting has been fixed and re-enabled by default.
(Closes: #388594)
.
- Change the default settings to leave unused Linux kernel
images on the system. (Closes: #386307)
.
- Produce more useful errors for corrupted or unverifiable downloads
(Closes: #387537).
.
- Make minibuffer messages disappear when a key is pressed again.
(Closes: #395201)
.
- Remove an assertion about the timing behavior of timed mutex locks,
which apparently behave differently in virtual machines.
(Closes: #381481)
.
- Document the "unhold" command-line action. (Closes: #387336)
.
- Make the package selected by a search appear at the top of the
screen, so that it's visible underneath the search dialog.
(Closes: #389763)
.
- Make the progress indicator less visually distracting by eliminating
the yellow "progress" effect (which on many system just produces a
distracting yellow and blue flashing) (Closes: #390971).
.
- Unblock all signals (particularly WINCH) before running dpkg, so
that processes spawned by dpkg don't end up with weird signal masks.
(Closes: #392870)
.
- Use the first *character*, not the first byte, when abbreviating
dependency names in the command-line preview (Closes: #395007).
.
- Documentation fixes from Kobayashi Noritatda (Closes: #389942).
.
- Translation updates:
* Basque (Closes: #38973)
* Brazilian (Closes: #387734)
* Catalan
* Chinese (Simplified) (Closes: #392305)
* Chinese (Traditional)
* Czech (Closes: #361050)
* Danish
* Dutch (Closes: #393643)
* Dzongkha (Closes: #388045)
* Finnish (Closes: #351531)
* French (Closes: #388552, #351531)
* Galacian (Closes: #387579)
* German
* Hungarian
* Italian
* Japanese (Closes: #389581, #389583, #390736, #391061)
* Khmer (Closes: #374919)
* Kurdish (Closes: #387803)
* Norwegian Bokmal (Closes: #391684)
* Portuguese (Closes: #393070)
* Romanian (Closes: #388401)
* Russian (Closes: #392305)
* Slovak (Closes: #386852, #394696)
* Spanish (Closes: #391663)
* Swedish (Closes: #391531)
* Turkish (Closes: #392305)
* Vietnamese (Closes: #388552, #392903, #392924)
Files:
d2a2a8265e452836399698f36802217e 802 admin - aptitude_0.4.4-1.dsc
cdb1ffb692ba17376859dc51a361ac94 5281245 admin - aptitude_0.4.4.orig.tar.gz
081c5886ef0c7a0ff679a78dee228e96 24721 admin - aptitude_0.4.4-1.diff.gz
3f5b5b06765f081a1bbe29649c92509c 338182 doc optional aptitude-doc-cs_0.4.4-1_all.deb
0a15f3e63e070453b734923e56193fb1 324392 doc optional aptitude-doc-en_0.4.4-1_all.deb
fc67aadeda25e39cb0be8d49585d1b9e 256578 doc optional aptitude-doc-fi_0.4.4-1_all.deb
2a78f29545279874cd75cb9e7b61ea53 266760 doc optional aptitude-doc-fr_0.4.4-1_all.deb
0cbb6dd4a3131175d0756faf82959660 2869878 admin important aptitude_0.4.4-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFQZFYch6xsM7kSXgRAmHlAKD1O/qpaPXqDBKPbvl3idPsJ1O4kgCg1R9q
BCpZimErZ3TqM662jouDYjk=
=wuOG
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 26 Jun 2007 03:47:54 GMT) (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 Jun 4 23:53:12 2023;
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.