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

Bug 464210

Summary: dev-vcs/git-1.8.1.5[doc] fails to build with sys-apps/texinfo-5.1
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] DevelopmentAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: covici, pageexec
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://thread.gmane.org/gmane.comp.version-control.git/219962
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 464362    
Attachments: build log
Strip @anchor commands from gitman.texi

Description Martin von Gagern 2013-04-02 16:41:19 UTC
Created attachment 344080 [details]
build log

After an upgrade of texinfo from 4.x to 5.x, git fails to re-emerge due to numerous issues with its texinfo documentation.
Comment 1 Martin von Gagern 2013-04-02 17:59:57 UTC
Created attachment 344092 [details, diff]
Strip @anchor commands from gitman.texi

This fixed the issue for me.
Comment 2 John Covici 2013-04-07 15:19:28 UTC
I can confirm this bug -- I can submit the build log, but its those anchor commands which all say previously defined!
Comment 3 Martin von Gagern 2013-04-08 14:55:47 UTC
I posted my patch upstream, see URL. While the maintainer acknowledges the problem, he voiced doubts concerning my solution, but doesn't offer any alternatives. Judging from the activity patterns on other issues, I'm not sure we'll see new activity on this any time soon. I wouldn't hold my breath for git upstream to fix this soon. Therefore I suggest the Gentoo addresses this at the distro level. Possible alternatives:
1. include my patch from comment #1
2. completely drop the generation of gitman.info
3. ship pre-built info documents like bug #464092 does
4. change the dependency from sys-apps/texinfo to <sys-apps/texinfo-5
5. come up with a better fix, e.g. include node name in anchor text
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-04-16 16:04:50 UTC
InCVS 1.8.2.1.