From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15260: cannot build in a directory with non-ascii characters Date: Mon, 28 Oct 2013 20:33:07 +0200 Message-ID: <834n81fdp8.fsf@gnu.org> References: <83y55ih6g3.fsf@gnu.org> <81ppqums9o.fsf@fencepost.gnu.org> <83hac5h1ha.fsf@gnu.org> <83bo2dgq36.fsf@gnu.org> <837gd1gpcz.fsf@gnu.org> <8361slgnhk.fsf@gnu.org> <83zjpwfp3l.fsf@gnu.org> <83mwlug0cd.fsf@gnu.org> <83bo2af4hh.fsf@gnu.org> <8361shfil7.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1382985252 19704 80.91.229.3 (28 Oct 2013 18:34:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Oct 2013 18:34:12 +0000 (UTC) Cc: 15260@debbugs.gnu.org To: monnier@iro.umontreal.ca, Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 28 19:34:16 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vardo-00085G-60 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2013 19:34:16 +0100 Original-Received: from localhost ([::1]:42573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vardn-0003k7-Nh for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2013 14:34:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vardf-0003jo-RW for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 14:34:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Varda-0001wU-Pc for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 14:34:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Varda-0001wK-Lq for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 14:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VardZ-0008Nc-UT for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 14:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2013 18:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15260 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15260-submit@debbugs.gnu.org id=B15260.138298520332167 (code B ref 15260); Mon, 28 Oct 2013 18:34:01 +0000 Original-Received: (at 15260) by debbugs.gnu.org; 28 Oct 2013 18:33:23 +0000 Original-Received: from localhost ([127.0.0.1]:49640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Varcx-0008Mk-5w for submit@debbugs.gnu.org; Mon, 28 Oct 2013 14:33:23 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:41665) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Varcu-0008MW-Sw for 15260@debbugs.gnu.org; Mon, 28 Oct 2013 14:33:22 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MVE00B00670KT00@a-mtaout20.012.net.il> for 15260@debbugs.gnu.org; Mon, 28 Oct 2013 20:33:08 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVE00B4S677C4A0@a-mtaout20.012.net.il>; Mon, 28 Oct 2013 20:33:08 +0200 (IST) In-reply-to: <8361shfil7.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79726 Archived-At: > Date: Mon, 28 Oct 2013 18:47:32 +0200 > From: Eli Zaretskii > Cc: 15260@debbugs.gnu.org > > I'm sure there's more to this saga, I'm just half-way through it... The next round is here: # The actual Emacs command run in the targets below. emacs = EMACSLOADPATH="$(abs_lisp)" LC_ALL=C "$(EMACS)" $(EMACSOPT) ^^^^^^^^ Does anyone know or remember why we set LC_ALL=C while running commands in lisp/ (and the same in leim/)? The following log entry in lisp/ChangeLog.13 is the only clue: 2008-02-01 Kenichi Handa * Makefile.in: Be sure to run emacs with LC_ALL=C. But there's no explanation as to why this is needed. What this does is prevent bootstrap-emacs from finding Lisp files, because LC_ALL=C implies -- you guessed it -- file-name encoding by Latin-1, whereas the file names are really encoded in UTF-8 on this system: cd ../lisp; make -w compile-first EMACS="/home/e/eliz/bzr/emacs/xáéçö/src/bootstrap-emacs" make[2]: Entering directory `/srv/data/home/e/eliz/bzr/emacs/xáéçö/lisp' Compiling emacs-lisp/macroexp.el Warning: Could not find simple.el or simple.elc The EMACSLOADPATH environment variable is set, please check its value Lisp directory /home/e/eliz/bzr/emacs/x/lisp not readable? If I remove the LC_ALL=C setting from lisp/Makefile.in and leim/Makefile.in, I get past this problem (to the next one ;-). So: any reasons not to remove this setting from lisp/Makefile.in and leim/Makefile.in?