Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92859 - crossdev ignores /etc/portage/package.mask
Summary: crossdev ignores /etc/portage/package.mask
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-16 20:51 UTC by Chris Slycord
Modified: 2005-05-17 15:28 UTC (History)
0 users

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 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>`