On Sun Nov 24, 2024 at 10:52 PM CET, Alejandro Colomar wrote:
> I'm having a build error when trying to build groff HEAD in Devuan
> stable.  ./bootstrap and ./configure succeed, and them make(1) fails.
> Below is the failure.  Let me know if you need more details.
>
> [...]
>   GEN      doc/groff.dvi
> [...]
> /usr/bin/texi2dvi: etex exited with bad status, quitting.
> make: *** [Makefile:15737: doc/groff.dvi] Error 1

As the output shows, this is a problem with building the Texinfo manual
rather than with building groff itself. Unfortunately the current build
process makes the manual inseparable from the program itself, so that
if you can't build the manual, the entire build fails... which doesn't
make a lot of sense since it's written in Texinfo, not troff, so its
build failing means nothing in terms of groff's functionality.

I recently suggested a patch which skips building the manual if makeinfo
isn't present or is outdated.[1] You can easily modify it to disable
building the manual even if it's present. Simply do this to the patch:
  s/(groff_have_makeinfo=)yes/\1no/

and apply it. Re-running make should suffice according to the docs; if
it doesn't, run the whole bootstrap > configure > make process again.

~ onf

[1] https://lists.gnu.org/archive/html/groff/2024-11/msg00165.html

Reply via email to