GNU bug report logs - #24373
“man” cannot find “iconv”

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Mon, 5 Sep 2016 20:29:02 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24373 in the body.
You can then email your comments to 24373 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#24373; Package guix. (Mon, 05 Sep 2016 20:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 05 Sep 2016 20:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Subject: “man” cannot find “iconv”
Date: Mon, 05 Sep 2016 22:27:52 +0200
Some man pages cannot be rendered:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rekado in dev: LANG=en_US.utf8 man borg
man: can't execute iconv: No such file or directory
man: command exited with status 127: iconv -c -f ISO-8859-1 -t UTF-8//TRANSLIT | sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | (cd <fd 3> && LESS=-ix8RmPm Manual page borg(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page borg(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=borg(1) cat)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Things are fine when changing LANG to ISO-8895-1.
“iconv” is not in my PATH.

“man” is “/run/current-system/profile/bin/man” and that’s
“/gnu/store/7bf5c38dncykgx09m006s3cgh2lm1588-man-db-2.7.5/bin/man”.

~~ Ricardo





Information forwarded to bug-guix <at> gnu.org:
bug#24373; Package guix. (Wed, 07 Sep 2016 08:53:02 GMT) Full text and rfc822 format available.

Message #8 received at 24373 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 24373 <at> debbugs.gnu.org
Subject: how to reproduce this
Date: Wed, 07 Sep 2016 10:52:02 +0200
The environment variable that triggers the bug is “LC_CTYPE=zh_CN.utf8”,
which I have set in Emacs.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ LC_CTYPE=zh_CN.utf8 man borg
man: can't execute iconv: No such file or directory
man: command exited with status 127: iconv -c -f ISO-8859-1 -t UTF-8//TRANSLIT | sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | (cd <fd 3> && LESS=-ix8RmPm Manual page borg(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page borg(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=borg(1) /gnu/store/hxz1cnl0bsxz5bir2gak1lq2hbg61bdk-less-481/bin/less)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To fix this I submitted a patch to guix-devel a few minutes ago.  It
replaces “iconv” in src/man.c with the full path to glibc’s “iconv”.

~~ Ricardo





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Thu, 08 Sep 2016 06:55:02 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Thu, 08 Sep 2016 06:55:02 GMT) Full text and rfc822 format available.

Message #13 received at 24373-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 24373-done <at> debbugs.gnu.org
Subject: Fixed
Date: Thu, 08 Sep 2016 08:54:11 +0200
Fixed with commit ea55a39530d6604cde07d5b23ba529a07a76ea7b.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 06 Oct 2016 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.