Subject: Re: bug#23888: 25.1.50; Info calc -- No such node or anchor: Top

From: Eli Zaretskii <[email-masked]>
Date: Tue, 05 Jul 2016 17:40:23 +0300

> Cc: Eli Zaretskii <[email-masked]>, [email-masked]
> From: Udyant Wig <[email-masked]>
> Date: Tue, 5 Jul 2016 11:32:23 +0530
> 
>    for elt in emacs.info eintr.info elisp.info ${info_misc}; do \
>       test "yes" = "no" && test ! -f $elt && continue; \
>       for f in `ls $elt $elt-[1-9] $elt-[1-9][0-9] 2>/dev/null`; do \
>        (cd "${thisdir}"; \
>         /usr/bin/install -c -m 644 ./info/$f "/usr/local/share/info/$f"); \
>         [ -n "/bin/gzip" ] || continue ; \
>         rm -f "/usr/local/share/info/$f.gz"; \
>         /bin/gzip -9n "/usr/local/share/info/$f"; \
>       done; \
>      (cd "${thisdir}"; \
>       /usr/bin/install-info --info-dir="/usr/local/share/info" "/usr/local/share/info/$elt"); \
>    done; \
> fi
> install-info: warning: no info dir entry in `/usr/local/share/info/calc.info

Since calc.info is zero size (a.k.a. empty), this warning is expected.

The interesting question is why calc.info comes out empty.  What
version of Texinfo do you have?

>   I went into build directory and ran  make docs.  I saw this (arrow
>   mine):
> 
> make -C doc/misc html
> make[1]: Entering directory '/home/udyant/build/emacs/doc/misc'
>   GEN      ada-mode.html
>   GEN      auth.html
>   GEN      autotype.html
>   GEN      bovine.html
> ->GEN      calc.html

This is the HTML version, not relevant to the issue at hand.

What happens if you remove the empty info/calc.info, then try
rebuilding it, adding V=1 to the "make" command line?