public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] who wants to downgrade my gcc ?
@ 2010-06-24  9:04 Helmut Jarausch
  2010-06-24  9:11 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Helmut Jarausch @ 2010-06-24  9:04 UTC (permalink / raw
  To: gentoo-user

Hi,

this one is puzzling me.
I have gcc-4.4.4-r1 installed here.
emerge -vp sys-devel/gcc:4.4 would re-install this.
But,
an emerge --update --newuse --deep --tree  --with-bdeps y @system @world
wants to downgrade it to gcc-4.4.3-r3

How can I find out, why?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24  9:04 [gentoo-user] who wants to downgrade my gcc ? Helmut Jarausch
@ 2010-06-24  9:11 ` Dale
  2010-06-24  9:12 ` Dale
  2010-06-24  9:57 ` Thomas U. Nockmann
  2 siblings, 0 replies; 13+ messages in thread
From: Dale @ 2010-06-24  9:11 UTC (permalink / raw
  To: gentoo-user

Helmut Jarausch wrote:
> Hi,
>
> this one is puzzling me.
> I have gcc-4.4.4-r1 installed here.
> emerge -vp sys-devel/gcc:4.4 would re-install this.
> But,
> an emerge --update --newuse --deep --tree  --with-bdeps y @system @world
> wants to downgrade it to gcc-4.4.3-r3
>
> How can I find out, why?
>
> Many thanks for a hint,
> Helmut.
>
>    


Adding the -t option may help.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24  9:04 [gentoo-user] who wants to downgrade my gcc ? Helmut Jarausch
  2010-06-24  9:11 ` Dale
@ 2010-06-24  9:12 ` Dale
  2010-06-24  9:57 ` Thomas U. Nockmann
  2 siblings, 0 replies; 13+ messages in thread
From: Dale @ 2010-06-24  9:12 UTC (permalink / raw
  To: gentoo-user

Helmut Jarausch wrote:
> Hi,
>
> this one is puzzling me.
> I have gcc-4.4.4-r1 installed here.
> emerge -vp sys-devel/gcc:4.4 would re-install this.
> But,
> an emerge --update --newuse --deep --tree  --with-bdeps y @system @world
> wants to downgrade it to gcc-4.4.3-r3
>
> How can I find out, why?
>
> Many thanks for a hint,
> Helmut.
>
>


Adding the -t option may help.

Dale

:-)  :-)


Never mind.  I saw it in there right after I hit send.  No clue why or how.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24  9:04 [gentoo-user] who wants to downgrade my gcc ? Helmut Jarausch
  2010-06-24  9:11 ` Dale
  2010-06-24  9:12 ` Dale
@ 2010-06-24  9:57 ` Thomas U. Nockmann
  2010-06-24 11:22   ` Neil Bothwick
  2 siblings, 1 reply; 13+ messages in thread
From: Thomas U. Nockmann @ 2010-06-24  9:57 UTC (permalink / raw
  To: gentoo-user

On Thursday 24 June 2010 Helmut Jarausch wrote:
[...]

Hello,

> But,
> an emerge --update --newuse --deep --tree  --with-bdeps y @system
> @world wants to downgrade it to gcc-4.4.3-r3
> 
> How can I find out, why?

What does `equery d gcc` say?


\|||/
`@|@`thomas
  -





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24  9:57 ` Thomas U. Nockmann
@ 2010-06-24 11:22   ` Neil Bothwick
  2010-06-24 12:46     ` Dale
  2010-06-24 14:43     ` Helmut Jarausch
  0 siblings, 2 replies; 13+ messages in thread
From: Neil Bothwick @ 2010-06-24 11:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

On Thu, 24 Jun 2010 11:57:55 +0200, Thomas U. Nockmann wrote:

> > But,
> > an emerge --update --newuse --deep --tree  --with-bdeps y @system
> > @world wants to downgrade it to gcc-4.4.3-r3
> > 
> > How can I find out, why?  
> 
> What does `equery d gcc` say?

What does emerge --update --newuse --deep --tree  --with-bdeps y @world

actually say?


-- 
Neil Bothwick

What you don't know can hurt you, only you won't know it.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24 11:22   ` Neil Bothwick
@ 2010-06-24 12:46     ` Dale
  2010-06-24 13:54       ` Neil Bothwick
  2010-06-24 14:43     ` Helmut Jarausch
  1 sibling, 1 reply; 13+ messages in thread
From: Dale @ 2010-06-24 12:46 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Thu, 24 Jun 2010 11:57:55 +0200, Thomas U. Nockmann wrote:
>
>    
>>> But,
>>> an emerge --update --newuse --deep --tree  --with-bdeps y @system
>>> @world wants to downgrade it to gcc-4.4.3-r3
>>>
>>> How can I find out, why?
>>>        
>> What does `equery d gcc` say?
>>      
> What does emerge --update --newuse --deep --tree  --with-bdeps y @world
>
> actually say?
>
>    

I'm not sure this is correct but I have to ask this.  Since gcc is a 
system package, it wouldn't try to upgrade gcc even if one was available 
would it?  I guess if something in world just had to have that or a 
newer version then it would pull the newer gcc in but otherwise it would 
skip it right?

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24 12:46     ` Dale
@ 2010-06-24 13:54       ` Neil Bothwick
  2010-06-24 14:12         ` Alan McKinnon
  2010-06-24 14:22         ` Dale
  0 siblings, 2 replies; 13+ messages in thread
From: Neil Bothwick @ 2010-06-24 13:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

On Thu, 24 Jun 2010 07:46:59 -0500, Dale wrote:

> > What does emerge --update --newuse --deep --tree  --with-bdeps y
> > @world
> >
> > actually say?

> I'm not sure this is correct but I have to ask this.  Since gcc is a 
> system package, it wouldn't try to upgrade gcc even if one was
> available would it?  I guess if something in world just had to have
> that or a newer version then it would pull the newer gcc in but
> otherwise it would skip it right?

@world includes @system. But the problem is not that emerge world is
skipping it but that it wants to downgrade gcc:4.4.


-- 
Neil Bothwick

Frog philosophy: Time's fun when you're having flies.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24 13:54       ` Neil Bothwick
@ 2010-06-24 14:12         ` Alan McKinnon
  2010-06-24 14:34           ` Neil Bothwick
  2010-06-24 14:22         ` Dale
  1 sibling, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2010-06-24 14:12 UTC (permalink / raw
  To: gentoo-user

On Thursday 24 June 2010 15:54:33 Neil Bothwick wrote:
> On Thu, 24 Jun 2010 07:46:59 -0500, Dale wrote:
> > > What does emerge --update --newuse --deep --tree  --with-bdeps y
> > > @world
> > > 
> > > actually say?
> > 
> > I'm not sure this is correct but I have to ask this.  Since gcc is a
> > system package, it wouldn't try to upgrade gcc even if one was
> > available would it?  I guess if something in world just had to have
> > that or a newer version then it would pull the newer gcc in but
> > otherwise it would skip it right?
> 
> @world includes @system. But the problem is not that emerge world is
> skipping it but that it wants to downgrade gcc:4.4.

So obviously he has 

<sys-devel-gcc-4.4.4

or similar in a BDEPEND somewhere

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24 13:54       ` Neil Bothwick
  2010-06-24 14:12         ` Alan McKinnon
@ 2010-06-24 14:22         ` Dale
  2010-06-24 14:35           ` Neil Bothwick
  1 sibling, 1 reply; 13+ messages in thread
From: Dale @ 2010-06-24 14:22 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Thu, 24 Jun 2010 07:46:59 -0500, Dale wrote:
>
>    
>>> What does emerge --update --newuse --deep --tree  --with-bdeps y
>>> @world
>>>
>>> actually say?
>>>        
>    
>> I'm not sure this is correct but I have to ask this.  Since gcc is a
>> system package, it wouldn't try to upgrade gcc even if one was
>> available would it?  I guess if something in world just had to have
>> that or a newer version then it would pull the newer gcc in but
>> otherwise it would skip it right?
>>      
> @world includes @system. But the problem is not that emerge world is
> skipping it but that it wants to downgrade gcc:4.4.
>    

 From my understanding, world includes @system but @world does not.  I 
know here on my rig, I run emerge -uvDNa world and it updates everything 
installed including deps and the system packages.  If I run @world, it 
skips the system packages.  At least that is the last time I tried it 
which was not to long ago.

One reason I remember this is because of the discussion I had with the 
devs on -dev.  That is why @system is in /var/lib/portage/world_sets.  I 
noticed a few weeks ago that there are a couple others added to it as 
well.  The devs did it that way so that when folks like me upgrade the 
old fashioned way and just use world instead of @system and @world.

Has this changed?

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24 14:12         ` Alan McKinnon
@ 2010-06-24 14:34           ` Neil Bothwick
  0 siblings, 0 replies; 13+ messages in thread
From: Neil Bothwick @ 2010-06-24 14:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

On Thu, 24 Jun 2010 16:12:39 +0200, Alan McKinnon wrote:

> > @world includes @system. But the problem is not that emerge world is
> > skipping it but that it wants to downgrade gcc:4.4.  
> 
> So obviously he has 
> 
> <sys-devel-gcc-4.4.4
> 
> or similar in a BDEPEND somewhere

Which is why the actual output fro emerge --tree is important.


-- 
Neil Bothwick

Sacred cows make great hamburgers.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24 14:22         ` Dale
@ 2010-06-24 14:35           ` Neil Bothwick
  2010-07-03  1:59             ` Dale
  0 siblings, 1 reply; 13+ messages in thread
From: Neil Bothwick @ 2010-06-24 14:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]

On Thu, 24 Jun 2010 09:22:56 -0500, Dale wrote:

> > @world includes @system. But the problem is not that emerge world is
> > skipping it but that it wants to downgrade gcc:4.4.
> >      
> 
>  From my understanding, world includes @system but @world does not.  I 
> know here on my rig, I run emerge -uvDNa world and it updates
> everything installed including deps and the system packages.  If I run
> @world, it skips the system packages.  At least that is the last time I
> tried it which was not to long ago.
> 
> One reason I remember this is because of the discussion I had with the 
> devs on -dev.  That is why @system is in /var/lib/portage/world_sets.
> I noticed a few weeks ago that there are a couple others added to it as 
> well.  The devs did it that way so that when folks like me upgrade the 
> old fashioned way and just use world instead of @system and @world.
> 
> Has this changed?

No, the world_sets file still includes @system by default, which is why
@world includes @system.

The additions are from when you emerged sets, which adds then to
world_sets.


-- 
Neil Bothwick

Puritanism: The haunting fear that someone, somewhere may be happy.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24 11:22   ` Neil Bothwick
  2010-06-24 12:46     ` Dale
@ 2010-06-24 14:43     ` Helmut Jarausch
  1 sibling, 0 replies; 13+ messages in thread
From: Helmut Jarausch @ 2010-06-24 14:43 UTC (permalink / raw
  To: gentoo-user; +Cc: Thomas U. Nockmann

On 24 Jun, Neil Bothwick wrote:
> On Thu, 24 Jun 2010 11:57:55 +0200, Thomas U. Nockmann wrote:
> 
>> > But,
>> > an emerge --update --newuse --deep --tree  --with-bdeps y @system
>> > @world wants to downgrade it to gcc-4.4.3-r3
>> > 
>> > How can I find out, why?  
>> 
>> What does `equery d gcc` say?
> 
> What does emerge --update --newuse --deep --tree  --with-bdeps y @world
> 
> actually say?
> 

Among many other things
[ebuild     UD]    sys-devel/gcc-4.4.3-r3 [4.4.4-r1]

I think Thomas' hint helped a bit
equery d gcc shows one suspicious line
dev-java/gcj-jdk-4.4.3-r1 (~sys-devel/gcc-4.4.3[gcj])

where dev-java/gcj-jdk-4.4.3-r1 comes from the java-overlay.
This, in turn, has been pulled in by dev-java/icedtea-6.1.8.0

This dev-java/icedtea-6.1.8.0 from the java-overlay.
There seems to be no dev-java/gcj-jdk for gcc(gcj) 4.4.4

I have removed java-overlay from /etc/make.conf and rebuilt icedtea.
It's still compiling but I think this solves it.

Many thanks for all who helped me,
Helmut.


Thanks for solving that mystery,
Helmut.




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] who wants to downgrade my gcc ?
  2010-06-24 14:35           ` Neil Bothwick
@ 2010-07-03  1:59             ` Dale
  0 siblings, 0 replies; 13+ messages in thread
From: Dale @ 2010-07-03  1:59 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Thu, 24 Jun 2010 09:22:56 -0500, Dale wrote:
>
>    
>>> @world includes @system. But the problem is not that emerge world is
>>> skipping it but that it wants to downgrade gcc:4.4.
>>>
>>>        
>>    From my understanding, world includes @system but @world does not.  I
>> know here on my rig, I run emerge -uvDNa world and it updates
>> everything installed including deps and the system packages.  If I run
>> @world, it skips the system packages.  At least that is the last time I
>> tried it which was not to long ago.
>>
>> One reason I remember this is because of the discussion I had with the
>> devs on -dev.  That is why @system is in /var/lib/portage/world_sets.
>> I noticed a few weeks ago that there are a couple others added to it as
>> well.  The devs did it that way so that when folks like me upgrade the
>> old fashioned way and just use world instead of @system and @world.
>>
>> Has this changed?
>>      
> No, the world_sets file still includes @system by default, which is why
> @world includes @system.
>
> The additions are from when you emerged sets, which adds then to
> world_sets.
>
>    

But if you removed, temporarily, the @system from the world sets, then 
you get just one.  Did this a while back and it worked at the time.  Not 
going to say it would work today tho.  We all know how portage is.  It 
is like shooting a bullet with another bullet.  ;-)

As was pointed out to me many times, @system is not the same as system.  
Same can be said for world and @world.

Sorry so long to reply.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-07-03  2:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-24  9:04 [gentoo-user] who wants to downgrade my gcc ? Helmut Jarausch
2010-06-24  9:11 ` Dale
2010-06-24  9:12 ` Dale
2010-06-24  9:57 ` Thomas U. Nockmann
2010-06-24 11:22   ` Neil Bothwick
2010-06-24 12:46     ` Dale
2010-06-24 13:54       ` Neil Bothwick
2010-06-24 14:12         ` Alan McKinnon
2010-06-24 14:34           ` Neil Bothwick
2010-06-24 14:22         ` Dale
2010-06-24 14:35           ` Neil Bothwick
2010-07-03  1:59             ` Dale
2010-06-24 14:43     ` Helmut Jarausch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox