GNU bug report logs - #23122
25.1.50; Makefile target install-info tries to install deleted info files

Previous Next

Package: emacs;

Reported by: flitterio <at> gmail.com (Francis Litterio)

Date: Sat, 26 Mar 2016 16:35:02 UTC

Severity: normal

Found in version 25.1.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: flitterio <at> gmail.com (Francis Litterio)
Cc: 23122 <at> debbugs.gnu.org
Subject: Re: bug#23122: 25.1.50;
 Makefile target install-info tries to install deleted info files
Date: Sat, 26 Mar 2016 20:54:32 +0300
> From: flitterio <at> gmail.com (Francis Litterio)
> Date: Sat, 26 Mar 2016 12:17:07 -0400
> 
> install-info: info
> 	...
> 	if [ "`cd ${srcdir}/info && /bin/pwd`" = "$$exp_infodir" ]; then \
> 	  true; \
> 	else \
> 	   ...
> 	   for elt in ${INFO_NONMISC} $${info_misc}; do \
> 	      ...
> 	      for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
> 	       (cd "$${thisdir}"; \
> 	        ${INSTALL_DATA} ${srcdir}/info/$$f "$(DESTDIR)${infodir}/$$f"); \
> 	        ...
> 	        ${GZIP_PROG} -9n "$(DESTDIR)${infodir}/$$f"; \
> 	      done; \
> 	     (cd "$${thisdir}"; \
> 	      ${INSTALL_INFO} --info-dir="$(DESTDIR)${infodir}" "$(DESTDIR)${infodir}/$$elt"); \
> 	   done; \
> 	fi
> 
> This command near the end:
> 
>   ${INSTALL_INFO} --info-dir="$(DESTDIR)${infodir}" "$(DESTDIR)${infodir}/$$elt")
> 
> refers to info file $(DESTDIR)${infodir}/$$elt, but that file has been
> deleted by this preceding gzip command:
> 
>   ${GZIP_PROG} -9n "$(DESTDIR)${infodir}/$$f"
> 
> because the -n switch tells gzip to delete the file being compressed.
> Both of these commands are in a for loop that processes every info file.
> This leads to a block of errors in the output of "make install-info" of
> this form, with one error for each info file being installed:
> 
>   install-info: No such file or directory for /apps/emacs/share/info/emacs.info
>   install-info: No such file or directory for /apps/emacs/share/info/eintr.info
>   install-info: No such file or directory for /apps/emacs/share/info/elisp.info
>   install-info: No such file or directory for /apps/emacs/share/info/ada-mode.info
>   ...

The above works for me here.

Could it be that your version of the install-info program doesn't
support compressed Info files?  What version of Texinfo do you have
installed?

>  'configure --prefix=c:/apps/emacs --without-x --without-xpm
>  --without-png --without-jpeg --without-tiff --without-gif'

The file nt/INSTALL recommends to use /c/apps/emacs instead of
c:/apps/emacs as the argument to --prefix.  This could be related to
your problem, but even if not, my advice is to do as nt/INSTALL says.




This bug report was last modified 9 years and 58 days ago.

Previous Next


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