When running crossdev, it will tell me: * Using sys-devel/binutils from /var/cache/portage/layman/toolchain instead of /var/cache/portage/gentoo * Using sys-devel/gcc from /var/cache/portage/layman/toolchain instead of /var/cache/portage/gentoo * Using sys-devel/gdb from /var/cache/portage/layman/toolchain instead of /var/cache/portage/gentoo However, since these are alpha versions, I do not want to use them. Instead I want to use the official Gentoo ebuilds, but there is no way to select them. Even though these ebuilds are keyword masked (empty keywords), crossdev will use them, because it does: cross-i686-pc-mingw32/binutils * ~* ** cross-i686-pc-mingw32/gcc * ~* ** I propose --keywords={stable,unstable,masked} to configure the contents of package.keywords/cross-* and --overlay=<name> to select the overlay to use by repo_name. Leaving this at "normal" severity, because there does not seem to be a workaround. Reproducible: Always
Sorry, the issue seems to be a little bit different from what I thought: [I] sys-devel/binutils Available versions: [...] [P]2.15.92.0.2-r10[2] [...] (~)2.20-r1[2] 2.20.1-r1 [...] So the latest unstable version in that overlay is 2.20, the latest stable is 2.15 (obviously both not nearly in sync with the regular Gentoo tree). The problem is that crossdev selects any version from that overlay, instead of using a sophisticated (automatic or manual) mechanism to find the latest stable/unstable/masked version. Specifying --g,--b does not make crossdev use the correct version either. Probably because the user-selected versions are not available in the auto-selected overlay. There is not even a warning about that.
I adjusted the symlinks in cross-* manually, and if I do not use crossdev, it seems portage will be able to deal with it itself.
crossdev searches the overlays to find a match. if you dont like the match, re-order your overlays or create the dirs/links yourself.
crossdev will, however, destroy my symlinks whenever it is invoked. Also: How do I reorder my overlays for crossdev not to see the toolchain overlay?
ive changed crossdev to not re-link existing links http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=b75a836f18028b4c8924999f6f9cb749b22c6504
crossdev-20110819 now has command line options to explicitly control overlay selection, as well as depend atom style versions (=2.21)
(In reply to comment #6) > crossdev-20110819 now has command line options to explicitly control overlay > selection, as well as depend atom style versions (=2.21) Thanks a lot!