https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122638

            Bug ID: 122638
           Summary: makeinfo 4.7 chokes on several texinfo files
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: gerald at gcc dot gnu.org, jsm28 at gcc dot gnu.org,
                    sandra at gcc dot gnu.org
  Target Milestone: ---

Created attachment 62761
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62761&action=edit
Partial patch

[Reporting in "other" since there seems to be no "docs" component.]

When accidentally running a bootstrap on Mac OS X 10.11 with the bundled
makeinfo 4.8, several .texi files couldn't be processed due to syntax errors.

E.g.

gcc/doc/install.texi:2675: @option expected braces.
gcc/doc/install.texi:2675: Misplaced {.
gcc/doc/install.texi:2675: Misplaced }.
gcc/doc/install.texi:2675: @code missing close brace.
gcc/fortran/gfortran.texi:1842: First argument to cross-reference may not be
empty.
gcc/fortran/gfortran.texi:1903: First argument to cross-reference may not be
empty.
gcc/fortran/intrinsic.texi:15549: Unknown command `cindex,'.

and, I believe, several more e.g. in gm2 docs.

I've got a patch for those (attached) but gave up at that point.  Although
this should work (install.texi requires makeinfo 4.7 only), I wonder what's
the best way forward here: fix those files or simply require a newer version
of makeinfo.

Reply via email to