GNU bug report logs - #13142
24.2; make install-info fails with non-english locale

Previous Next

Package: emacs;

Reported by: "Nicolas Richard" <theonewiththeevillook <at> yahoo.fr>

Date: Tue, 11 Dec 2012 16:24:01 UTC

Severity: important

Tags: patch

Found in version 24.2

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

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 13142 in the body.
You can then email your comments to 13142 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-gnu-emacs <at> gnu.org:
bug#13142; Package emacs. (Tue, 11 Dec 2012 16:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Nicolas Richard" <theonewiththeevillook <at> yahoo.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 11 Dec 2012 16:24:01 GMT) Full text and rfc822 format available.

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

From: "Nicolas Richard" <theonewiththeevillook <at> yahoo.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2; make install-info fails with non-english locale
Date: Tue, 11 Dec 2012 17:22:46 +0100
Hello,

As stated in the subject, `make install-info' fails with a non-english
(french) locale. The reason seems to be that line 606 in Makefile.in is:

info_misc=`cd $${thisdir}/doc/misc; ${MAKE} echo-info | sed '/ing directory/d'`; \

and the output of `${MAKE} echo-info` depends on the locale. Replacing the
above line by the following seems to solve my problem :

info_misc=`cd $${thisdir}/doc/misc; LANG=C ${MAKE} echo-info | sed '/ing directory/d'`; \

(to be honest, I did not test from scratch, but I changed the Makefile
and it succeeded).

Also, I've been seeing this error for some time, but never had a deeper
look before now.

Regards,

In GNU Emacs 24.2.1 (i686-pc-linux-gnu)
 of 2012-08-29 on geodiff-mac3
Windowing system distributor `The X.Org Foundation', version 11.0.11300000
Configured using:
 `configure '--prefix=/usr' '--build=i686-pc-linux-gnu'
 '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
 '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
 '--localstatedir=/var/lib' '--disable-dependency-tracking'
 '--program-suffix=-emacs-24' '--infodir=/usr/share/info/emacs-24'
 '--enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../lib'
 '--with-gameuser=games' '--without-compress-info'
 '--disable-maintainer-mode' '--without-hesiod' '--without-kerberos'
 '--without-kerberos5' '--with-gpm' '--with-dbus' '--without-gnutls'
 '--without-xml2' '--without-selinux' '--without-wide-int'
 '--with-sound' '--with-x' '--without-ns' '--without-gconf'
 '--without-gsettings' '--without-toolkit-scroll-bars' '--with-gif'
 '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm'
 '--with-imagemagick' '--without-xft' '--without-libotf'
 '--without-m17n-flt' '--with-x-toolkit=no'
 'GENTOO_PACKAGE=app-editors/emacs-24.2' 'build_alias=i686-pc-linux-gnu'
 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=native -pipe -ggdb'
 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: fr_FR.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Tue, 11 Dec 2012 18:43:01 GMT) Full text and rfc822 format available.

Notification sent to "Nicolas Richard" <theonewiththeevillook <at> yahoo.fr>:
bug acknowledged by developer. (Tue, 11 Dec 2012 18:43:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 13142-done <at> debbugs.gnu.org
Subject: Re: bug#13142: 24.2; make install-info fails with non-english locale
Date: Tue, 11 Dec 2012 13:41:40 -0500
Version: 24.3

"Nicolas Richard" wrote:

> and the output of `${MAKE} echo-info` depends on the locale. Replacing the
> above line by the following seems to solve my problem :
>
> info_misc=`cd $${thisdir}/doc/misc; LANG=C ${MAKE} echo-info | sed '/ing directory/d'`; \

Thanks, applied to emacs-24.

(I don't particularly like this 'sed' approach, so if anyone has a
better solution... It's needed because make turns on "entering
directory" messages when called recursively, and there seems to be no
portable way to turn that off. I don't want to rely on, eg assuming that
the info file names end in ".info".)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13142; Package emacs. (Tue, 11 Dec 2012 18:54:02 GMT) Full text and rfc822 format available.

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

From: Achim Gratz <Stromeko <at> nexgo.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#13142: 24.2; make install-info fails with non-english locale
Date: Tue, 11 Dec 2012 19:52:34 +0100
Glenn Morris writes:
> | sed '/ing directory/d'

This removes all lines that have the string "ing directory" in them, so

grep -v 'ing directory'

might be a slightly less obscure alternative, given that grep is already
used elsewhere in the build process.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 09 Jan 2013 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 168 days ago.

Previous Next


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