GNU bug report logs - #76441
29.4; Emacs 30.1 RC 1: makeinfo always needed when building from release archive

Previous Next

Package: emacs;

Reported by: Philipp <p.stephani2 <at> gmail.com>

Date: Thu, 20 Feb 2025 16:33:02 UTC

Severity: normal

Found in version 29.4

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: p.stephani2 <at> gmail.com, 76441 <at> debbugs.gnu.org
Subject: bug#76441: 29.4; Emacs 30.1 RC 1: makeinfo always needed when building from release archive
Date: Sat, 22 Feb 2025 17:49:38 +0200
> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Sat, 22 Feb 2025 14:22:09 +0000
> Cc: Eli Zaretskii <eliz <at> gnu.org>
> 
> Philipp <p.stephani2 <at> gmail.com> writes:
> 
> > Assuming that Texinfo isn't installed:
> >
> > $ wget https://alpha.gnu.org/gnu/emacs/pretest/emacs-30.1-rc1.tar.xz &&
> > tar xf emacs-30.1-rc1.tar.xz && cd emacs-30.1 && ./configure
> > --without-all --with-toolkit-scroll-bars && make
> >
> > [...]
> > configure: WARNING: You do not seem to have makeinfo >= 4.13.
> > You will not be able to rebuild the manuals if you delete them or change
> > their sources.
> > [...]
> > /Library/Developer/CommandLineTools/usr/bin/make -C doc/lispref info
> > cp elisp_type_hierarchy.txt ../../info/elisp_type_hierarchy.txt
> > cp elisp_type_hierarchy.jpg ../../info/elisp_type_hierarchy.jpg
> >   GEN      ../../info/elisp.info
> > make[2]: makeinfo: No such file or directory
> > make[2]: *** [../../info/elisp.info] Error 1
> > make[1]: *** [lispref-info] Error 2
> > [...]
> >
> > Maybe lines 151 and 154 in doc/lispref/Makefile.in should say 'cp -p'
> > instead of just 'cp'?  My guess is that Make tries to rebuild elisp.info
> > because elisp_type_hierarchy.* are considered new.
> >
> > Maybe 'configure' should just set MAKEINFO=':' if Makeinfo isn't found?
> 
> Eli, could you please take a look at this?

AFAIK, "cp -p" is not portable, so we cannot use it.

I actually think the problem is with this line:

  auxfiles = $(buildinfodir)/elisp_type_hierarchy.txt $(buildinfodir)/elisp_type_hierarchy.jpg

Why does it use $(buildinfodir) and not $(srcdir) ?  The manuals
should not depend on any files in $(buildinfodir), as that is the
directory for output files.

> Should we consider this a blocker for the release of Emacs 30.1?

No.  Just make a new tarball where info/elisp.info has a later time
stamp (by using 'touch'), so that people who build the tarball could
do that even if Texinfo is not installed.




This bug report was last modified 38 days ago.

Previous Next


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