Closed issue by fosslinux on void-packages repository
https://github.com/void-linux/void-packages/issues/21163
Description:
### System
* xuname: Void 5.6.3_1 x86_64 GenuineIntel uptodate rrFFF
* package:
m4-1.4.18, texinfo-6.7
### Expected behavior
`m4` builds correctly.
### Actual behavior
`m4` fails with:
```
make[2]: Entering directory '/builddir/m4-1.4.18/doc'
MAKEINFO m4.info
/builddir/m4-1.4.18/build-aux/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
any other file indirectly affecting the aspect of the manual.
You might want to install the Texinfo package:
The spurious makeinfo call might also be the consequence of
using a buggy 'make' (AIX, DU, IRIX), in which case you might
want to install GNU make:
make[2]: *** [Makefile:1535: m4.info] Error 127
make[2]: Leaving directory '/builddir/m4-1.4.18/doc'
make[1]: *** [Makefile:1572: install-recursive] Error 1
make[1]: Leaving directory '/builddir/m4-1.4.18'
make: *** [Makefile:1867: install] Error 2
```
Adding texinfo to hostmakedepends results in:
```
Making install in doc
make[2]: Entering directory '/builddir/m4-1.4.18/doc'
MAKEINFO m4.info
utf8 "\xAB" does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, line 4254.
utf8 "\xAB" does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, line 4255.
Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3531.
```
### Steps to reproduce the behavior
clone void-packages.
`./xbps-src -N pkg m4` or revbump texinfo and m4 and `./xbps-src pkg m4`.