Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483192 - dev-lang/gnat-gcc-4.5.4 with sys-apps/texinfo-5.1 - install.texi: @anchor should not appear in @heading
Summary: dev-lang/gnat-gcc-4.5.4 with sys-apps/texinfo-5.1 - install.texi: @anchor sho...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: texinfo-5.1
  Show dependency tree
 
Reported: 2013-08-31 19:59 UTC by Martin von Gagern
Modified: 2013-11-25 03:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (dev-lang:gnat-gcc-4.5.4:20130831-171623.log,315.96 KB, text/plain)
2013-08-31 19:59 UTC, Martin von Gagern
Details
Disable unconditional use of texinfo (gentoo483192.patch,2.95 KB, patch)
2013-09-11 22:53 UTC, Martin von Gagern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2013-08-31 19:59:58 UTC
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.
Comment 1 Martin von Gagern 2013-09-11 22:53:05 UTC
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.
Comment 2 Martin von Gagern 2013-11-23 19:46:16 UTC
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.
Comment 3 Steve Arnold archtester gentoo-dev 2013-11-24 04:20:06 UTC
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...
Comment 4 Steve Arnold archtester gentoo-dev 2013-11-25 03:43:56 UTC
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...