Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149033 - $ROOT doesn't catch correct Libraries
Summary: $ROOT doesn't catch correct Libraries
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
Depends on:
Reported: 2006-09-25 03:12 UTC by Daniel Glaser
Modified: 2006-09-25 03:36 UTC (History)
0 users

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

bashrc for cross compiling bash (bashrc,527 bytes, text/plain)
2006-09-25 03:25 UTC, Zac Medico

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Glaser 2006-09-25 03:12:30 UTC
When emerging with $ROOT, the Linker still tries to link against the Build-System Libraries.

I don't know yet, how to work around this. In my case,

ROOT="/var/ppc-system" PORTAGE_CONFIGROOT="/var/ppc-system" emerge bash

tries to use the libraries in my System ROOT an not the /var/ppc-system ROOT. This linkage will surely fail because they won't be compatible. In case of bash, it is the lcurses library.

I found nowhere an information how to tell the linker, to use the ROOT, gcc semms to behave right.

This bug belongs to
Comment 1 Zac Medico gentoo-dev 2006-09-25 03:25:46 UTC
Created attachment 98011 [details]
bashrc for cross compiling bash

This is what I've used in /etc/portage/bashrc to cross compile bash.  It's not portage's job to support this type of cross-compiling logic.  It belongs in the ebuild and/or eclasses.
Comment 2 Zac Medico gentoo-dev 2006-09-25 03:28:33 UTC
Of course, the bashrc would go under PORTAGE_CONFIGROOT...
Comment 3 Daniel Glaser 2006-09-25 03:36:59 UTC
Thanks, this was the point for most of the packages I think. Hope there are not so much other things that need fixing ;-)