Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499378 - sys-devel/autogen: add multilib support for libopts
Summary: sys-devel/autogen: add multilib support for libopts
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on: 498324
Blocks: gx86-multilib
  Show dependency tree
Reported: 2014-01-26 19:41 UTC by Michael Mair-Keimberger (iamnr3)
Modified: 2017-08-30 15:50 UTC (History)
2 users (show)

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

autogen-5.18.1.ebuild.patch (autogen-5.18.1.ebuild.patch,1.12 KB, patch)
2014-01-26 19:41 UTC, Michael Mair-Keimberger (iamnr3)
Details | Diff
a very hackish ebuild (autogen-5.15.ebuild,1.46 KB, text/plain)
2014-03-08 05:27 UTC, Rafał Mużyło

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mair-Keimberger (iamnr3) 2014-01-26 19:41:24 UTC
Created attachment 368816 [details, diff]

Simple patch for autogen to support multilib.
I had to add "--with-libguile="${EPREFIX}/usr/$(get_libdir)"", otherwise autogen would try to link against 64bit guile. (on x86 build)
Please review
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-02-21 19:08:43 UTC
guile is used in binaries only, so there's no need to convert it. I think we actually need non-native libopts only. Could you try to prepare an ebuild for that, please?
Comment 2 Rafał Mużyło 2014-03-08 05:27:39 UTC
Created attachment 372038 [details]
a very hackish ebuild

While I'm nearly certain this ebuild is wrong, it still seems to produce 32bit libopts.

The problem here is the bootstrap dilemma - some of the sources of libopts might need autogen in some cases and it needs libguile. However if there's no patching in those files, things seem to work.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2017-08-29 19:13:13 UTC
What is this precisely good for?
Comment 4 Michael Mair-Keimberger (iamnr3) 2017-08-30 15:50:04 UTC
(In reply to Andreas K. Hüttel from comment #3)
> What is this precisely good for?

Don't remember, why i initially wanted to add multilib here. I'm pretty sure at this point it's not important anymore and gonna close this bug.