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

Bug 92859

Summary: crossdev ignores /etc/portage/package.mask
Product: Gentoo Linux Reporter: Chris Slycord <cslycord>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Slycord 2005-05-16 20:51:03 UTC
I tried making a cross-compiler for my old pentium-mmx using crossdev.  Since I
found out that the glibc-2.3.5 ebuild won't build in i586 I added the following
line to /etc/portage/package.mask:
>=sys-libs/glibc-2.3.5

Yet crossdev attempted to include that very ebuild.
grep 2.3.5 /var/log/portage/cross-i586-pc-linux-gnu-glibc.log 
[ebuild  N    ] cross-i586-pc-linux-gnu/glibc-2.3.5

And the errors it had were identical to those I saw in
http://bugs.gentoo.org/show_bug.cgi?id=90236 and the corresponding forum thread.

I imagine I can "fix" this by adding the package to
/usr/portage/profiles/package.mask but that's a cludge

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris Slycord 2005-05-16 20:55:44 UTC
In fact, it ignores values in /usr/portage/profiles/package.mask as well.  When
I added the previously mentioned line into that file crossdev still wanted to
use glibc-2.3.5
Comment 2 Chris Slycord 2005-05-16 22:52:09 UTC
I see what happened.  crossdev defaults to utilizing whatever the newest version
is that portage knows about regardless of if it has been masked or not.  I think
it would be more useful, though, to default to building based on the currently
used versions instead.

Guess this has become a feature request.
Comment 3 SpanKY gentoo-dev 2005-05-17 15:28:19 UTC
use `crossdev --libc <version you want to use>`