If the installed makeinfo version >=4.10, most gcc info files are not built and installed (only gcc-install and treelang info files get installed). The emerge succesfully completes, but if you inspect the emerge output, you'll find buried within... ....<snip>.... checking for makeinfo... makeinfo checking for modern makeinfo... no configure: WARNING: *** Makeinfo is missing or too old. *** Info documentation will not be built. Reproducible: Always Steps to Reproduce: 1.emerge gcc 2. 3. Actual Results: most gcc info files are not created and installed Expected Results: All gcc info files are created and installed (e.g., in /usr/share/gcc-data/i586-pc-linux-gnu/4.1.2/info/), such as gcc.info.bz2, cpp.info.bz2, cppinternals.info.bz2, gfortran.info.bz2, etc. This is similiar to bug 198182 (for which a patch was added to the gcc ebuild), except that this problem occures in the configure script in the gcc subdirectory, rather than in the top-level configure script. The test performed in the configure script is different, but result is same: test for suitable makeinfo version fails. Bug 232616 (for binutils) is also similiar.
Created attachment 176638 [details, diff] patch for gcc/configure script This fixes the problem by allowing makeinfo versions 4.10 through 4.19 to pass the test. Original intention of the test is to insure makeinfo version >=4.2, but it didn't account for versions >=4.10.
Thanks for the patch, assigning to maintainers.
This is resolved in the newest stable version of gcc. This problem is going to exist for every single version of gcc prior to it being fixed, and its just an inconvenience, so I'm not going to backport it everywhere.
*** This bug has been marked as a duplicate of bug 464008 ***