Debian Bug report logs -
#494989
unnecessary manconv locale warning spew
Reported by: Martin Michlmayr <tbm@cyrius.com>
Date: Wed, 13 Aug 2008 16:42:01 UTC
Severity: important
Tags: fixed-upstream
Found in version man-db/2.5.2-2
Fixed in versions man-db/2.5.3-1, man-db/2.5.4-1
Done: Colin Watson <cjwatson@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to
debian-bugs-dist@lists.debian.org, Colin Watson <cjwatson@debian.org>:
Bug#494989; Package
man-db.
Full text and
rfc822 format available.
Acknowledgement sent to
Martin Michlmayr <tbm@cyrius.com>:
New Bug report received and forwarded. Copy sent to
Colin Watson <cjwatson@debian.org>.
Full text and
rfc822 format available.
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: man-db
Version: 2.5.2-2
Severity: important
I used debootstrap to set up a chroot on a system on which the locale
for my $LANG was not available. man-db then showed:
manconv: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct
until I pressed ctrl-c.
--
Martin Michlmayr
http://www.cyrius.com/
Information forwarded to
debian-bugs-dist@lists.debian.org, Colin Watson <cjwatson@debian.org>:
Bug#494989; Package
man-db.
Full text and
rfc822 format available.
Acknowledgement sent to
Martin Michlmayr <tbm@cyrius.com>:
Extra info received and forwarded to list. Copy sent to
Colin Watson <cjwatson@debian.org>.
Full text and
rfc822 format available.
Message #10 received at 494989@bugs.debian.org (full text, mbox, reply):
Log:
Setting up man-db (2.5.2-2) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LC_CTYPE = "en_US.UTF-8",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LC_CTYPE = "en_US.UTF-8",
LANG = (unset)
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 = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LC_CTYPE = "en_US.UTF-8",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Updating database of manual pages ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LC_CTYPE = "en_US.UTF-8",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct
....
manconv: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct
dpkg: error processing man-db (--configure):
subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
man-db
--
Martin Michlmayr
http://www.cyrius.com/
Information forwarded to
debian-bugs-dist@lists.debian.org:
Bug#494989; Package
man-db.
Full text and
rfc822 format available.
Acknowledgement sent to
Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list.
Full text and
rfc822 format available.
Message #15 received at 494989@bugs.debian.org (full text, mbox, reply):
On Wed, Aug 13, 2008 at 07:54:00PM +0300, Martin Michlmayr wrote:
> /usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct
> manconv: can't set the locale; make sure $LC_* and $LANG are correct
> manconv: can't set the locale; make sure $LC_* and $LANG are correct
> manconv: can't set the locale; make sure $LC_* and $LANG are correct
> manconv: can't set the locale; make sure $LC_* and $LANG are correct
> ....
> manconv: can't set the locale; make sure $LC_* and $LANG are correct
> manconv: can't set the locale; make sure $LC_* and $LANG are correct
> manconv: can't set the locale; make sure $LC_* and $LANG are correct
> manconv: can't set the locale; make sure $LC_* and $LANG are correct
> manconv: can't set the locale; make sure $LC_* and $LANG are correct
> manconv: can't set the locale; make sure $LC_* and $LANG are correct
It seems unlikely that this is an infinite loop. mandb simply spawns
manconv for each manual page, and each instance of manconv
(inconveniently) warns about your broken locale settings. Do you have
any reason to believe that the loop is infinite beyond the copious
quantities of output?
In order to check this, I'd need to see the output of 'mandb -dpq' run
as the 'man' user. (You'll need to redirect both stdout and stderr to a
file, and you'll need to compress the output as it will be very large.)
Thanks,
--
Colin Watson [cjwatson@debian.org]
Information forwarded to
debian-bugs-dist@lists.debian.org, Colin Watson <cjwatson@debian.org>:
Bug#494989; Package
man-db.
Full text and
rfc822 format available.
Acknowledgement sent to
Martin Michlmayr <tbm@cyrius.com>:
Extra info received and forwarded to list. Copy sent to
Colin Watson <cjwatson@debian.org>.
Full text and
rfc822 format available.
Message #20 received at 494989@bugs.debian.org (full text, mbox, reply):
* Colin Watson <cjwatson@debian.org> [2008-08-17 07:45]:
> It seems unlikely that this is an infinite loop. mandb simply spawns
> manconv for each manual page, and each instance of manconv
> (inconveniently) warns about your broken locale settings. Do you have
> any reason to believe that the loop is infinite beyond the copious
> quantities of output?
Yeah, it probably wasn't an infinite loop. I should have used a
better subject line. However, it was enough output that I'm wondering
whether it would make sense to suppress it.
Do you still need the log?
--
Martin Michlmayr
http://www.cyrius.com/
Information forwarded to
debian-bugs-dist@lists.debian.org:
Bug#494989; Package
man-db.
Full text and
rfc822 format available.
Acknowledgement sent to
Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list.
Full text and
rfc822 format available.
Message #25 received at 494989@bugs.debian.org (full text, mbox, reply):
retitle 494989 unnecessary manconv locale warning spew
tags 494989 fixed-upstream
thanks
On Sun, Aug 17, 2008 at 03:27:30PM +0300, Martin Michlmayr wrote:
> * Colin Watson <cjwatson@debian.org> [2008-08-17 07:45]:
> > It seems unlikely that this is an infinite loop. mandb simply spawns
> > manconv for each manual page, and each instance of manconv
> > (inconveniently) warns about your broken locale settings. Do you have
> > any reason to believe that the loop is infinite beyond the copious
> > quantities of output?
>
> Yeah, it probably wasn't an infinite loop. I should have used a
> better subject line. However, it was enough output that I'm wondering
> whether it would make sense to suppress it.
>
> Do you still need the log?
OK, in that case I don't need the debug log. This upstream commit should
do the job:
Sun Aug 17 16:42:43 BST 2008 Colin Watson <cjwatson@debian.org>
* src/accessdb.c (main), src/catman.c (main), src/globbing_test.c
(main), src/lexgrog_test.c (main), src/man.c (main), src/manconv.c
(main), src/mandb.c (main), src/manpath.c (main), src/whatis.c
(main), src/zsoelim.l (main): Suppress locale warning if being
called by another man-db program (Debian bug #494989).
Thanks,
--
Colin Watson [cjwatson@debian.org]
Changed Bug title to `unnecessary manconv locale warning spew' from `infinite loop manconv: can't set the locale; make sure $LC_* and $LANG are correct'.
Request was from
Colin Watson <cjwatson@debian.org>
to
control@bugs.debian.org.
(Sun, 17 Aug 2008 15:48:10 GMT)
Full text and
rfc822 format available.
Tags added: fixed-upstream
Request was from
Colin Watson <cjwatson@debian.org>
to
control@bugs.debian.org.
(Sun, 17 Aug 2008 15:48:11 GMT)
Full text and
rfc822 format available.
Reply sent
to
Colin Watson <cjwatson@debian.org>:
You have taken responsibility.
(Mon, 17 Nov 2008 14:45:41 GMT)
Full text and
rfc822 format available.
Notification sent
to
Martin Michlmayr <tbm@cyrius.com>:
Bug acknowledged by developer.
(Mon, 17 Nov 2008 14:45:41 GMT)
Full text and
rfc822 format available.
Message #34 received at 494989-close@bugs.debian.org (full text, mbox, reply):
Source: man-db
Source-Version: 2.5.3-1
We believe that the bug you reported is fixed in the latest version of
man-db, which is due to be installed in the Debian FTP archive:
man-db_2.5.3-1.diff.gz
to pool/main/m/man-db/man-db_2.5.3-1.diff.gz
man-db_2.5.3-1.dsc
to pool/main/m/man-db/man-db_2.5.3-1.dsc
man-db_2.5.3-1_i386.deb
to pool/main/m/man-db/man-db_2.5.3-1_i386.deb
man-db_2.5.3.orig.tar.gz
to pool/main/m/man-db/man-db_2.5.3.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 494989@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated man-db 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.8
Date: Mon, 17 Nov 2008 13:20:59 +0000
Source: man-db
Binary: man-db
Architecture: source i386
Version: 2.5.3-1
Distribution: experimental
Urgency: low
Maintainer: Colin Watson <cjwatson@debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description:
man-db - on-line manual pager
Closes: 477305 480678 481226 482424 482791 482792 482810 483589 483862 483951 494989
Changes:
man-db (2.5.3-1) experimental; urgency=low
.
* New upstream release.
- Cleaned up a number of possible crashes, memory leaks, and missing
error checks found by the Coverity Scan project.
- The LANGUAGE environment variable is now tokenised properly, rather
than only taking the first two characters of each element.
- man now correctly propagates the exit code of whatis or apropos when
called with the -f or -k option respectively (closes: #477305).
- Fix several manual page synopsis problems (thanks, Yuri Kozlov;
closes: #480678, #481226, #482424, #482791, #482792, #482810, #483589,
#483862, #483951).
- Reduce the number of warnings emitted when using an unrecognised
locale (closes: #494989).
- manconv and zsoelim are now called internally rather than by executing
external programs, to improve performance.
- Manual pages may now be compressed with LZMA (although this is
probably only worth it for very large pages).
- Duplicate manual page hierarchies due to symlinks (e.g. /usr/man ->
/usr/share/man) are detected and removed from the search order.
- A locale modifier (e.g. @latin) in a directory name must now match the
locale if the former is set, in addition to the language and
territory.
- Bare .so includes (e.g. ".so foo.1" rather than ".so man1/foo.1") now
work, although only within the same manual page hierarchy for now
(partially fixes #503472).
* Add Homepage field.
* Policy version 3.8.0: no changes required.
* Pass CFLAGS and LDFLAGS to configure rather than make so that we don't
have to keep up with the set of warnings that configure decides to
enable.
Checksums-Sha1:
2b11fef3e851fe093e02ae4a81ccebd01337023c 1084 man-db_2.5.3-1.dsc
d3fc901c23b5ecb88afe12733ae93c60c5d2e874 1851833 man-db_2.5.3.orig.tar.gz
2505ae779da94a6e3c3baea1f23ae2952b618622 63234 man-db_2.5.3-1.diff.gz
0ec8831b1537ffa75525a7f304ac411652d6219d 1126040 man-db_2.5.3-1_i386.deb
Checksums-Sha256:
e368c5d3b5ba2357b2383cd1f515d659026b1d7888f4b904bc2dca083383b05f 1084 man-db_2.5.3-1.dsc
c09beb094d2b35f99abed5a6b385863f2d03164416f899b01c8ef97fd1ebf3ef 1851833 man-db_2.5.3.orig.tar.gz
9ebeed796a0847f56ea1fde4f85865128cc7b8223825f73d1a949c4cdd217580 63234 man-db_2.5.3-1.diff.gz
1eefd62b81d10e171b142d54f458798151346bd0fb50ef1aae7fc3c5f1424d2d 1126040 man-db_2.5.3-1_i386.deb
Files:
4de2daa6b85ff123e8e0a22dfac7d3b3 1084 doc important man-db_2.5.3-1.dsc
656507b8ff6abd1b7a9af9692ba22edc 1851833 doc important man-db_2.5.3.orig.tar.gz
2c4ec77b9dbaf8165091eee967f47bdc 63234 doc important man-db_2.5.3-1.diff.gz
68609fb26956f107f236b72948859c4a 1126040 doc important man-db_2.5.3-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer
iD8DBQFJIXev9t0zAhD6TNERAsrvAJ9dtxMPKzn5g1N0pMhb5spp67BUJQCghevR
0Nz6GANIbebQCjajRh3QUaE=
=bS1s
-----END PGP SIGNATURE-----
Reply sent
to
Colin Watson <cjwatson@debian.org>:
You have taken responsibility.
(Tue, 24 Feb 2009 03:48:40 GMT)
Full text and
rfc822 format available.
Notification sent
to
Martin Michlmayr <tbm@cyrius.com>:
Bug acknowledged by developer.
(Tue, 24 Feb 2009 03:48:40 GMT)
Full text and
rfc822 format available.
Message #39 received at 494989-close@bugs.debian.org (full text, mbox, reply):
Source: man-db
Source-Version: 2.5.4-1
We believe that the bug you reported is fixed in the latest version of
man-db, which is due to be installed in the Debian FTP archive:
man-db_2.5.4-1.diff.gz
to pool/main/m/man-db/man-db_2.5.4-1.diff.gz
man-db_2.5.4-1.dsc
to pool/main/m/man-db/man-db_2.5.4-1.dsc
man-db_2.5.4-1_i386.deb
to pool/main/m/man-db/man-db_2.5.4-1_i386.deb
man-db_2.5.4.orig.tar.gz
to pool/main/m/man-db/man-db_2.5.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 494989@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated man-db 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.8
Date: Tue, 24 Feb 2009 02:41:53 +0000
Source: man-db
Binary: man-db
Architecture: source i386
Version: 2.5.4-1
Distribution: unstable
Urgency: low
Maintainer: Colin Watson <cjwatson@debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description:
man-db - on-line manual pager
Closes: 121997 166701 167159 271402 384301 389762 461319 477305 480678 480996 481226 482424 482791 482792 482810 483589 483862 483951 494287 494989 496172 512233 516133
Changes:
man-db (2.5.4-1) unstable; urgency=low
.
* New upstream release.
- Exit as soon as possible if database writes return ENOSPC (closes:
#167159).
- Make it possible to override man's default of discarding stderr when
stdout is a terminal (closes: #480996).
- Reorganise lexgrog to stop on any unrecognised roff request, rather
than continuing and often littering the database with garbage (closes:
#271402).
- Make handling of terminal widths for cat pages configurable (closes:
#121997).
- Improve sorting and de-duplication of manual page candidates (closes:
#389762, #496172).
- Consider SO_MAN equivalent to ULT_MAN for the purposes of sorting
candidate pages for display (closes: #384301).
- Add regular expression and shell wildcard search facilities to man
(closes: #461319).
- Add option to disable hyphenation (closes: #166701).
- Line length is a property of output, not input, so only check whether
standard output is a terminal, not also standard input (closes:
#512233).
- Partially rewrite building of manpath according to locale. The
previous code was completely wrong: as well as handling duplicates
rather oddly, it effectively handled LANGUAGE in reverse order
(closes: #516133).
.
man-db (2.5.3-3) experimental; urgency=low
.
* Backport from trunk:
- Update manual page search order to permit FHS-compliant installation
of packages in /opt. Reported by Matt Domsch.
.
man-db (2.5.3-2) experimental; urgency=low
.
* Explicitly configure --with-lzma=lzma.
* Increase versioned dependency on groff-base to (>= 1.18.1.1-15) for a
working -w option in nroff (closes: #494287).
.
man-db (2.5.3-1) experimental; urgency=low
.
* New upstream release.
- Cleaned up a number of possible crashes, memory leaks, and missing
error checks found by the Coverity Scan project.
- The LANGUAGE environment variable is now tokenised properly, rather
than only taking the first two characters of each element.
- man now correctly propagates the exit code of whatis or apropos when
called with the -f or -k option respectively (closes: #477305).
- Fix several manual page synopsis problems (thanks, Yuri Kozlov;
closes: #480678, #481226, #482424, #482791, #482792, #482810, #483589,
#483862, #483951).
- Reduce the number of warnings emitted when using an unrecognised
locale (closes: #494989).
- manconv and zsoelim are now called internally rather than by executing
external programs, to improve performance.
- Manual pages may now be compressed with LZMA (although this is
probably only worth it for very large pages).
- Duplicate manual page hierarchies due to symlinks (e.g. /usr/man ->
/usr/share/man) are detected and removed from the search order.
- A locale modifier (e.g. @latin) in a directory name must now match the
locale if the former is set, in addition to the language and
territory.
- Bare .so includes (e.g. ".so foo.1" rather than ".so man1/foo.1") now
work, although only within the same manual page hierarchy for now
(partially fixes #503472).
* Add Homepage field.
* Policy version 3.8.0: no changes required.
* Pass CFLAGS and LDFLAGS to configure rather than make so that we don't
have to keep up with the set of warnings that configure decides to
enable.
Checksums-Sha1:
d8f225c48afcc0427fbe87c325ed07853f1b7ec4 1084 man-db_2.5.4-1.dsc
f7730087396d30171c35d500209253795f2d05f9 1934745 man-db_2.5.4.orig.tar.gz
e217283934d826858f5f4b54d88475e7b6d80a83 64410 man-db_2.5.4-1.diff.gz
ddd3e5b6c4a810c5c146f2ec19a1b884f9859022 1185800 man-db_2.5.4-1_i386.deb
Checksums-Sha256:
624be742690134c7911623b8932db9ed70327edd6e7c5cd46ec9731711c2ac43 1084 man-db_2.5.4-1.dsc
4de6cf413f44d971d304b174b35a75c7ec35b022fe04e265ff07951bbf6676d8 1934745 man-db_2.5.4.orig.tar.gz
7e7330eba8c8d7cdfea9d018cc9e8b795df09afd147f82770518077d41233ec2 64410 man-db_2.5.4-1.diff.gz
3f6293391182438f54c7450a8591c60ad9660c690d1028ce10020786a1922261 1185800 man-db_2.5.4-1_i386.deb
Files:
f53e6ee6d722c4398760492692395a81 1084 doc important man-db_2.5.4-1.dsc
591752c2bd003f7f2f5ca3387da3ddc9 1934745 doc important man-db_2.5.4.orig.tar.gz
d86d257bba9214e52348e91640091369 64410 doc important man-db_2.5.4-1.diff.gz
2229dcde38011eb99c1566c4b30e07b8 1185800 doc important man-db_2.5.4-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer
iD8DBQFJo2Mo9t0zAhD6TNERAgQ6AJ0RKJ6oXgD8Gj0U4oLNWTWNoL7nBACfVhrr
CGdkpg7Skvgej0quUBNRKPY=
=JyR/
-----END PGP SIGNATURE-----
Bug archived.
Request was from
Debbugs Internal Request <owner@bugs.debian.org>
to
internal_control@bugs.debian.org.
(Tue, 24 Mar 2009 07:36:26 GMT)
Full text and
rfc822 format available.
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jan 6 22:21:59 2016;
Machine Name:
beach
Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.