Summary: | sys-libs/gdbm fail to emerge in cross-compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yu Yuwei <acevery> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ford_prefect, jacobgodserv, nixphoeni, siarhei.siamashka, thermal |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch Makefile.in to correctly use libtool to install
fixxed ebuild ebuild diff |
Description
Yu Yuwei
2009-12-02 13:10:05 UTC
Created attachment 211760 [details, diff]
patch Makefile.in to correctly use libtool to install
patch for cross-compile
Created attachment 211763 [details]
fixxed ebuild
remove aclocal.m4 and run eautoreconf instead of eliboolized,
patch Makefile.in for libtool-2.2.6a require --mode=install in install phrase.
Created attachment 212653 [details, diff]
ebuild diff
Please attach a unified diff, not a full ebuild next time.
It doesn't sound all right: - removing aclocal.m4 shouldn't be needed when using eautoreconf; - for future-proofing, elibtoolize should be kept, after eautoreconf has finished; - disabling dependency tracking is generally useful for one-time builds like all of Portage-commanded builds are, and should have no implications in cross-compilation. (In reply to comment #4) > It doesn't sound all right: > > - removing aclocal.m4 shouldn't be needed when using eautoreconf; > - for future-proofing, elibtoolize should be kept, after eautoreconf has > finished; > - disabling dependency tracking is generally useful for one-time builds like > all of Portage-commanded builds are, and should have no implications in > cross-compilation. > Hi Flameeye, when I kept aclocal.m4, the eautoreconf just skip aclocal, and the libtool stuff would not been updated. (In reply to comment #3) > Created an attachment (id=212653) [details] > ebuild diff > > Please attach a unified diff, not a full ebuild next time. > Got it :) the patch worked here, thanks Woked for me too. Interestingly, this just works if you just remove the elibtoolize (without the patch, rm of aclocal.m4 or eautoreconf). I don't understand the libtool foo enough to comment why this might be (or if this is even expected). After applying both patches my problems with crosscompiling for hppa were gone. Thanks ! *** Bug 379453 has been marked as a duplicate of this bug. *** should be fixed with gdbm-1.9.1 |