Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54291 - Portage support for crosscompiling needed
Summary: Portage support for crosscompiling needed
Status: VERIFIED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-18 03:06 UTC by Jeremy Huddleston (RETIRED)
Modified: 2007-01-11 13:12 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-18 03:06:29 UTC
portageq in 2.0.51 is not behaving as expected which breaks crossdev and possibly other scripts.

(02:59:31 Fri Jun 18 2004 root@cid x86_64)
/usr/tmp/portage $ export ACCEPT_KEYWORDS="-* sparc"

(02:59:39 Fri Jun 18 2004 root@cid x86_64)
/usr/tmp/portage $ /usr/bin/portageq best_visible / sys-devel/binutils


(02:59:42 Fri Jun 18 2004 root@cid x86_64)
/usr/tmp/portage $ qpkg -I -v portage
sys-apps/portage-2.0.51_pre10 *
app-portage/ufed-0.34 *
app-portage/gentoolkit-dev-0.2.0_pre3 *
app-portage/gentoolkit-0.2.0_pre8 *

---

(09:59:07 Fri Jun 18 2004 jeremy@cid i686)
~ $ export ACCEPT_KEYWORDS="-* sparc"

(10:00:13 Fri Jun 18 2004 jeremy@cid i686)
~ $  /usr/bin/portageq best_visible / sys-devel/binutils
sys-devel/binutils-2.14.90.0.7-r4

(10:00:17 Fri Jun 18 2004 jeremy@cid i686)
~ $  qpkg -I -v portage
sys-apps/portage-2.0.50-r8 *
app-portage/ufed-0.34 *
app-portage/gentoolkit-dev-0.2.0_pre1 *
app-portage/gentoolkit-0.2.0_pre8 *
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-06-18 04:43:42 UTC
The KEYWORDS that are accepted are a combination of ACCEPT_KEYWORDS as well as your /etc/make.profile/make.defaults:ARCH. I'm not sure how this crossdev script works, but portage does not yet support cross-compiling. When it does, it is likely that ${ROOT}/etc/make.profile will be used instead.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-18 11:14:47 UTC
is tehre a way to override the settings in the profile with envvars?  I tried 'export ARCH=sparc' and that failed to give the expected response to portageq.
Comment 3 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-08-10 17:48:17 UTC
I believe Jeremy and Brian are working toward getting cross-compiling support 
working for the 2.1.X tree, with config and build profiles.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 13:12:49 UTC
Closing due to old age.