Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 252836

Summary: sys-devel/gcc-4.1.2 fails to build info files when installed makeinfo version >=4.10
Product: Gentoo Linux Reporter: Mike Dunn <mikedunn>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for gcc/configure script

Description Mike Dunn 2008-12-28 18:22:12 UTC
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.
Comment 1 Mike Dunn 2008-12-28 18:28:28 UTC
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.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-29 00:57:13 UTC
Thanks for the patch, assigning to maintainers.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2009-05-16 20:18:19 UTC
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.
Comment 4 SpanKY gentoo-dev 2013-12-25 08:32:32 UTC

*** This bug has been marked as a duplicate of bug 464008 ***