unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24373: “man” cannot find “iconv”
@ 2016-09-05 20:27 Ricardo Wurmus
  2016-09-07  8:52 ` bug#24373: how to reproduce this Ricardo Wurmus
  2016-09-08  6:54 ` bug#24373: Fixed Ricardo Wurmus
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2016-09-05 20:27 UTC (permalink / raw)
  To: 24373

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#24373: how to reproduce this
  2016-09-05 20:27 bug#24373: “man” cannot find “iconv” Ricardo Wurmus
@ 2016-09-07  8:52 ` Ricardo Wurmus
  2016-09-08  6:54 ` bug#24373: Fixed Ricardo Wurmus
  1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2016-09-07  8:52 UTC (permalink / raw)
  To: 24373

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#24373: Fixed
  2016-09-05 20:27 bug#24373: “man” cannot find “iconv” Ricardo Wurmus
  2016-09-07  8:52 ` bug#24373: how to reproduce this Ricardo Wurmus
@ 2016-09-08  6:54 ` Ricardo Wurmus
  1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2016-09-08  6:54 UTC (permalink / raw)
  To: 24373-done

Fixed with commit ea55a39530d6604cde07d5b23ba529a07a76ea7b.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-08  6:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-05 20:27 bug#24373: “man” cannot find “iconv” Ricardo Wurmus
2016-09-07  8:52 ` bug#24373: how to reproduce this Ricardo Wurmus
2016-09-08  6:54 ` bug#24373: Fixed Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).