Re: [gentoo-user] Crossdev won't go away

2008-11-13 Thread Peter Humphrey
On Wednesday 12 November 2008 22:25:31 Matthias Bethke wrote:
> Hi Peter,
>
> on Mon, Nov 10, 2008 at 10:50:32AM +, you wrote:
> > I'm still having a bit of bother with crossdev. If I emerge -upDvtN
> > world I get this warning (omitting the N makes no difference):
> >
> > !!! The following installed packages are masked:
> > - cross-i686-pc-linux-gnu/linux-headers-2.6.23-r3 (masked by: ~amd64
> > keyword)
>
> I had a similar issue just recently when I built a crossdev environment
> for ARM on an amd64 system. I'm not exactly sure how it happened any
> more but I suppose it has to do with a later version of linux-headers
> being stable for the platform you want to crosscompile for than for your
> native one. Which isn't the case when I look now, perhaps the keywords
> have just been updated?

Mysterious. It isn't happening any more; updating the system is 
straightforward once again. Searching for cross* on the whole file-system 
turns nothing up either, so I suppose I should just be thankful that the 
problem's gone away (pro tem, at least). I do notice though that I have a 
new file: /etc/portage/categories, which 
contains "cross-i686-pc-linux-gnu". (Well, it has a January date, so it 
isn't new - I just hadn't noticed it before.) And the only linux-headers I 
have are the standard kernel headers - nothing to do with cross-compiling.

> For me, installing crossdev with -s1 helped,

I don't know what you mean there.

> I'm only compiling for an embedded system anyway so I don't need the
> headers. Maybe just try again after an rsync?

I run emerge --sync most days, so I wasn't incurring penalties by running an 
out-of-date system.

Thanks for the help anyway.

-- 
Rgds
Peter



Re: [gentoo-user] Crossdev won't go away

2008-11-12 Thread Matthias Bethke
Hi Peter,
on Mon, Nov 10, 2008 at 10:50:32AM +, you wrote:
> I'm still having a bit of bother with crossdev. If I emerge -upDvtN world I 
> get this warning (omitting the N makes no difference):
> 
> !!! The following installed packages are masked:
> - cross-i686-pc-linux-gnu/linux-headers-2.6.23-r3 (masked by: ~amd64 
> keyword)

I had a similar issue just recently when I built a crossdev environment
for ARM on an amd64 system. I'm not exactly sure how it happened any
more but I suppose it has to do with a later version of linux-headers
being stable for the platform you want to crosscompile for than for your
native one. Which isn't the case when I look now, perhaps the keywords
have just been updated? For me, installing crossdev with -s1 helped, I'm
only compiling for an embedded system anyway so I don't need the
headers. Maybe just try again after an rsync?

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp1iXDp0g5n1.pgp
Description: PGP signature


[gentoo-user] Crossdev won't go away

2008-11-10 Thread Peter Humphrey
Hello,

I'm still having a bit of bother with crossdev. If I emerge -upDvtN world I 
get this warning (omitting the N makes no difference):

!!! The following installed packages are masked:
- cross-i686-pc-linux-gnu/linux-headers-2.6.23-r3 (masked by: ~amd64 
keyword)

(This is a mostly amd64 system.) If I then add 
=cross-i686-pc-linux-gnu/linux-headers-2.6.23-r3 to package.keywords, the 
warning doesn't appear but no packages are selected for installation.

I could just leave package.keywords like that, but it would be tidier to 
find out why the system thinks I need this package.

equery d =cross-i686-pc-linux-gnu/linux-headers-2.6.23-r3 returns no result, 
and likewise equery d cross-i686-pc-linux-gnu/linux-headers.

Perhaps I should just install crossdev, then remove it again. Has anyone a 
better suggestion?

-- 
Rgds
Peter