I'm getting errors like this when building binutils-gdb (the gas doc is failing to build). Has anyone seen this before or know how to fix it?
/d/git/binutils-gdb/binutils-gdb-git/gas/doc/as.texi:635: table requires an argument: the formatter for @item
$ makeinfo --version texi2any (GNU texinfo) 6.3
This is a CR-LF issue. Try using dos2unix to convert all your .texi files to Un*x line endings.
Where <working-directory> is the location of the repository you are trying to build. You'll need to install the msys/dos2unix package using pacman.
I ran into this problem with the riscv-gnu-toolchain and it did the trick.