Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498030 - sys-devel/autogen - Cross-compile fix using HDEPEND
Summary: sys-devel/autogen - Cross-compile fix using HDEPEND
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 317337
Blocks:
  Show dependency tree
 
Reported: 2014-01-13 22:19 UTC by James Le Cuirot
Modified: 2014-01-13 23:59 UTC (History)
0 users

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


Attachments
autogen-cross-compile.patch (autogen-cross-compile.patch,1.55 KB, patch)
2014-01-13 22:19 UTC, James Le Cuirot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.