GNU bug report logs - #7942
23.2; Duplicate entries in Info dir file

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Sun, 30 Jan 2011 14:31:01 UTC

Severity: normal

Tags: patch

Found in version 23.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ulrich Mueller <ulm <at> gentoo.org>
Cc: 7942 <at> debbugs.gnu.org, emacs <at> gentoo.org
Subject: Re: bug#7942: 23.2; Duplicate entries in Info dir file
Date: Sun, 30 Jan 2011 09:49:01 -0500
> Date: Sun, 30 Jan 2011 15:37:19 +0100
> From: Ulrich Mueller <ulm <at> gentoo.org>
> Cc: emacs <at> gentoo.org
> 
> If Emacs is the first or only package that installs its Info files
> into an otherwise empty directory (e.g., in Gentoo Emacs is configured
> with --infodir=/usr/share/info/emacs-23 to allow for multiple Emacs
> versions), then all entries in the resulting dir file will occur
> twice.
> 
> The bad Info dir file installed by Emacs 23.2 is attached.
> 
> The cause appears to be that the Makefile first copies the pre-made
> dir file, but then also calls install-info for each Info file.

That's not the reason, because install-info is supposed to replace the
old entries with the new ones (unless there's a bug in install-info).

I think the reason is that the section names used by the distributed
info/dir file are different from the section names stated by the
individual Info files.  Could you perhaps verify that?

> Attached patch fixes the problem for me. I suggest that this should be
> applied to the emacs-23 branch.

Thanks.

However, isn't it better to invoke install-info with the --keep-old
option?  Does that solve the problem?




This bug report was last modified 14 years and 156 days ago.

Previous Next


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