From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#24373: how to reproduce this Date: Wed, 07 Sep 2016 10:52:02 +0200 Message-ID: <87k2eoum6l.fsf@elephly.net> References: <87twduum5z.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhYbS-0004T5-OB for bug-guix@gnu.org; Wed, 07 Sep 2016 04:53:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhYbO-0001pC-HH for bug-guix@gnu.org; Wed, 07 Sep 2016 04:53:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhYbO-0001p8-DS for bug-guix@gnu.org; Wed, 07 Sep 2016 04:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bhYbO-0005JC-5P for bug-guix@gnu.org; Wed, 07 Sep 2016 04:53:02 -0400 In-Reply-To: <87twduum5z.fsf@elephly.net> Sender: "Debbugs-submit" Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 24373@debbugs.gnu.org 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 && 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