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

Bug 498030

Summary: sys-devel/autogen - Cross-compile fix using HDEPEND
Product: Gentoo Linux Reporter: James Le Cuirot <chewi>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 317337    
Bug Blocks:    
Attachments: autogen-cross-compile.patch

Description James Le Cuirot gentoo-dev 2014-01-13 22:19:16 UTC
Created attachment 367812 [details, diff]
autogen-cross-compile.patch

It has never been possible to cross-compile autogen because it builds its own documentation. The HDEPEND variable allows us to rely on the host autogen for this. The ebuild changes required are fairly minimal.

I noticed that, even without this fix, autogen seems to build a second time during "make install". I don't know why and unfortunately I don't have time to find out.
Comment 1 SpanKY gentoo-dev 2014-01-13 23:30:36 UTC
please don't post patches that rely on unofficial EAPIs as there's no chance of them getting committed to the tree
Comment 2 James Le Cuirot gentoo-dev 2014-01-13 23:59:47 UTC
Sorry, I saw "experimental" but did not take that to mean "unofficial". I now see it is still under debate. I'll add bug #317337 as a dependency in case the situation improves. This bug also serves as an interesting use-case.