Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 137911

Summary: crossdev chooses bad keywords
Product: Gentoo Linux Reporter: Torsten Kaiser <Storklerk>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Torsten Kaiser 2006-06-25 01:33:08 UTC
I was trying to build an arm-softfloat-linux-gnu toolchain, but using the command 'crossdev -t arm-softfloat-linux-gnu' tried to use versions of gcc and glibc that where not suitable for arm.

The problem is, that in my make.conf I had KEYWORDS="~x86", as that was my unstable x86 test system.
crossdev then added in packages.keywords the arm and ~arm keywords for the packages from the cross-arm-softfloat-linux-gnu.
But when doing the emerge of the crosstoolchain, emerge still used the gcc/glibc with the higher version that only had the ~x86 keyword.

In my opinion crossdev should have added -x86 and -~x86 to its packages.keywords to prevent this from happening.
(Or -ppc and -~pcc in case of an pcc hostsystem, etc...)

This is especially important for arm, as no gcc-4 and no glibc-2.4 has an arm keyword. But alpha and sparc will have the same problems.


Not really related feature request:
a --stable option for crossdev that only adds the stable keywords to package.keywords.
Comment 1 Torsten Kaiser 2006-06-25 01:51:39 UTC
Sorry for the bugspam, but Bugzilla was ridiculus slow...

*** This bug has been marked as a duplicate of 137909 ***