Created attachment 357538 [details] build log gnat-gcc fails to build its texinfo documentation with texinfo 5.1. The first message reported reads: .../gcc/doc/install.texi:2995: warning: @anchor should not appear in @heading This line is repeated rather often, for different lines of text, but other errors are reported as well. See attached build log for details.
Created attachment 358498 [details, diff] Disable unconditional use of texinfo This patch changes various configure scripts to treat a too new texinfo just like a too old one, and thus skip building the texinfo documentation. At least this gets gnat compiled, which is all I require just now.
I see dev-lang/gnat-gcc-4.6.4 depends on <sys-apps/texinfo-5.1, in response to bug #484794. I consider this unfortunate, because I'd like to keep texinfo 5 for testing, and in contrast to all other similar packages, USE=-doc won't disable the dependency on texinfo for gnat. Had you at least considered my patch? Depending on how long a proper fix will take, it might still be relevant.
Sorry, that was me and I didn't see this bug before I committed the updates. I do like this better, at least until we have something even better. Which I don't have the time to dig into myself, so this certainly seems good-enough-for-now... Thanks. And please stand by...
Okay, eclass and ebuild updates (4.6.4 and 4.5.4) are in the tree for the texinfo borkage; upstream patches go back to 4.6 and that one seems fine with the latest texinfo. The patch for faking out configure is only applied to 4.5.4, and then only if the version of texinfo is greater than 4 *and* if USE=doc is enabled (or just doc disabled). Allows it to build info pages with texinfo 4.x if it happens to be there. Tested on x86 and amd64 both ways. And thanks for flying Gentoo...