public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge update gcc downgrade
@ 2010-04-06 10:40 Kraus Philipp
  2010-04-06 10:45 ` [gentoo-user] " Kerin Millar
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Kraus Philipp @ 2010-04-06 10:40 UTC (permalink / raw
  To: gentoo-user

Hi,

I run in a virtual machine a gentoo (~x86) system. I synced the portage
tree at the weekend an run emerge --update

The update runs without errors, but emerge installed the gcc 4.3.4,
but on the system is the 4.4.3 installed

[ebuild  NS   ] sys-devel/gcc-4.3.4 [4.4.3] USE="hardened mudflap nls  
nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran - 
gcj -gtk (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie - 
objc -objc++ -objc-gc -test -vanilla"

After the update I run "emerge --depclean" and the 4.3.4 is unmerged  
and now
I run emerge --update the gcc should installed again

gcc-config -l shows only i686-pc-linux-gnu-4.4.3 whitch is set
gcc-version: gcc (Gentoo 4.4.3 p1.0) 4.4.3

and I mask only 2 packages
 >=net-fs/netatalk-2.0.3
 >app-emulation/open-vm-tools-0.0.20090824.187411

I run the kernel (kernel.org) 2.6.33.2 and I don't use distcc at the  
machine

Can anybody help me to fix the gcc problem? I only need the 4.4.3 gcc

Thanks

Phil



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

* [gentoo-user] Re: emerge update gcc downgrade
  2010-04-06 10:40 [gentoo-user] emerge update gcc downgrade Kraus Philipp
@ 2010-04-06 10:45 ` Kerin Millar
  2010-04-06 11:22 ` [gentoo-user] " Alex Schuster
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Kerin Millar @ 2010-04-06 10:45 UTC (permalink / raw
  To: gentoo-user

On 06/04/2010 11:40, Kraus Philipp wrote:
> Hi,
>
> I run in a virtual machine a gentoo (~x86) system. I synced the portage
> tree at the weekend an run emerge --update
>
> The update runs without errors, but emerge installed the gcc 4.3.4,
> but on the system is the 4.4.3 installed
>
> [ebuild NS ] sys-devel/gcc-4.3.4 [4.4.3] USE="hardened mudflap nls nptl
> openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj
> -gtk (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -objc
> -objc++ -objc-gc -test -vanilla"
>
> After the update I run "emerge --depclean" and the 4.3.4 is unmerged and
> now
> I run emerge --update the gcc should installed again
>
> gcc-config -l shows only i686-pc-linux-gnu-4.4.3 whitch is set
> gcc-version: gcc (Gentoo 4.4.3 p1.0) 4.4.3
>
> and I mask only 2 packages
>  >=net-fs/netatalk-2.0.3
>  >app-emulation/open-vm-tools-0.0.20090824.187411
>
> I run the kernel (kernel.org) 2.6.33.2 and I don't use distcc at the
> machine
>
> Can anybody help me to fix the gcc problem? I only need the 4.4.3 gcc

Check your /var/lib/portage/world file. You'll probably find that SLOT 
"4.3" is pinned:

   sys-devel/gcc:4.3

If so, remove this line.

Cheers,

--Kerin




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

* Re: [gentoo-user] emerge update gcc downgrade
  2010-04-06 10:40 [gentoo-user] emerge update gcc downgrade Kraus Philipp
  2010-04-06 10:45 ` [gentoo-user] " Kerin Millar
@ 2010-04-06 11:22 ` Alex Schuster
  2010-04-06 14:12 ` Zeerak Mustafa Waseem
  2010-04-06 14:41 ` Mike Edenfield
  3 siblings, 0 replies; 6+ messages in thread
From: Alex Schuster @ 2010-04-06 11:22 UTC (permalink / raw
  To: gentoo-user

Kraus Philipp writes:

> I run in a virtual machine a gentoo (~x86) system. I synced the portage
> tree at the weekend an run emerge --update
> 
> The update runs without errors, but emerge installed the gcc 4.3.4,
> but on the system is the 4.4.3 installed
> 
> [ebuild  NS   ] sys-devel/gcc-4.3.4 [4.4.3] USE="hardened mudflap nls
> nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran -
> gcj -gtk (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -
> objc -objc++ -objc-gc -test -vanilla"
> 
> After the update I run "emerge --depclean" and the 4.3.4 is unmerged
> and now
> I run emerge --update the gcc should installed again
[...]

> Can anybody help me to fix the gcc problem? I only need the 4.4.3 gcc

I do not understand this, but anyway: Add the -t / --tree option you your 
emerge command, I guess then you can see which package pulls in the old 
gcc. I assume that something needs the old gcc for building, but when it 
is built, the old gcc is no longer needed, so emerge --depclean will 
remove it.
Do you have "--with-bdeps y" in your EMERGE_DEFAULT_OPTS in make.conf? 
Otherwise this should not happen. And if it is set like this, depclean 
should not remove it. Hmmmmmm.

You could also emerge -n sys-devel/gcc:4.3 in order to add it to your 
world file. Depclean would not remove it then. No real solution, but it 
would spare you the emerges. Or you build a binary package with quickpkg, 
and use the -k option to emerge, so it will emerge the binary instead of 
building from scratch every time.

	Wonko



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

* Re: [gentoo-user] emerge update gcc downgrade
  2010-04-06 10:40 [gentoo-user] emerge update gcc downgrade Kraus Philipp
  2010-04-06 10:45 ` [gentoo-user] " Kerin Millar
  2010-04-06 11:22 ` [gentoo-user] " Alex Schuster
@ 2010-04-06 14:12 ` Zeerak Mustafa Waseem
  2010-04-06 14:41 ` Mike Edenfield
  3 siblings, 0 replies; 6+ messages in thread
From: Zeerak Mustafa Waseem @ 2010-04-06 14:12 UTC (permalink / raw
  To: gentoo-user

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

On Tue, Apr 06, 2010 at 12:40:02PM +0200, Kraus Philipp wrote:
> Hi,
> 
> I run in a virtual machine a gentoo (~x86) system. I synced the portage
> tree at the weekend an run emerge --update
> 
> The update runs without errors, but emerge installed the gcc 4.3.4,
> but on the system is the 4.4.3 installed
> 
> [ebuild  NS   ] sys-devel/gcc-4.3.4 [4.4.3] USE="hardened mudflap nls  
> nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran - 
> gcj -gtk (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie - 
> objc -objc++ -objc-gc -test -vanilla"
> 
> After the update I run "emerge --depclean" and the 4.3.4 is unmerged  
> and now
> I run emerge --update the gcc should installed again
> 
> gcc-config -l shows only i686-pc-linux-gnu-4.4.3 whitch is set
> gcc-version: gcc (Gentoo 4.4.3 p1.0) 4.4.3
> 
> and I mask only 2 packages
>  >=net-fs/netatalk-2.0.3
>  >app-emulation/open-vm-tools-0.0.20090824.187411
> 
> I run the kernel (kernel.org) 2.6.33.2 and I don't use distcc at the  
> machine
> 
> Can anybody help me to fix the gcc problem? I only need the 4.4.3 gcc
> 
> Thanks
> 
> Phil
> 

What's the output of 'emerge -pt world'?
That should show you what package is pulling gcc-4.3.4 :-)

-- 
Zeerak Waseem

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

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

* Re: [gentoo-user] emerge update gcc downgrade
  2010-04-06 10:40 [gentoo-user] emerge update gcc downgrade Kraus Philipp
                   ` (2 preceding siblings ...)
  2010-04-06 14:12 ` Zeerak Mustafa Waseem
@ 2010-04-06 14:41 ` Mike Edenfield
  2010-04-06 16:01   ` [gentoo-user] " Kerin Millar
  3 siblings, 1 reply; 6+ messages in thread
From: Mike Edenfield @ 2010-04-06 14:41 UTC (permalink / raw
  To: gentoo-user; +Cc: Kraus Philipp

On 4/6/2010 6:40 AM, Kraus Philipp wrote:
> Hi,
> 
> I run in a virtual machine a gentoo (~x86) system. I synced the portage
> tree at the weekend an run emerge --update
> 
> The update runs without errors, but emerge installed the gcc 4.3.4,
> but on the system is the 4.4.3 installed
> 
> [ebuild  NS   ] sys-devel/gcc-4.3.4 [4.4.3] USE="hardened mudflap nls
> nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran
> -gcj -gtk (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie
> -objc -objc++ -objc-gc -test -vanilla"

You have the +hardened USE flag set.  Did you just recently switch to
the hardened profile?  If so, make sure you followed the upgrade guide
for hardened profiles, which should have warned you what was going to
happen here.

In the base system, gcc-4.4 is still masked off for hardened users
because it's not quite ready for production use.  If you want to use gcc
4.4 and all it's hardened features, you need to do two things:

1. Add the hardened-development overlay, for example using layman:

basement ~ # layman -a hardened-development

2. Unmask gcc-4.4:

basement ~ # mkdir /etc/portage/package.unmask
basement ~ # echo '=sys-devel/gcc-4.4*' >>
/etc/portage/package.unmask/hardened

After that, you should get gcc 4.4.3 back.



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

* [gentoo-user] Re: emerge update gcc downgrade
  2010-04-06 14:41 ` Mike Edenfield
@ 2010-04-06 16:01   ` Kerin Millar
  0 siblings, 0 replies; 6+ messages in thread
From: Kerin Millar @ 2010-04-06 16:01 UTC (permalink / raw
  To: gentoo-user

On 06/04/2010 15:41, Mike Edenfield wrote:
> On 4/6/2010 6:40 AM, Kraus Philipp wrote:
>> Hi,
>>
>> I run in a virtual machine a gentoo (~x86) system. I synced the portage
>> tree at the weekend an run emerge --update
>>
>> The update runs without errors, but emerge installed the gcc 4.3.4,
>> but on the system is the 4.4.3 installed
>>
>> [ebuild  NS   ] sys-devel/gcc-4.3.4 [4.4.3] USE="hardened mudflap nls
>> nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran
>> -gcj -gtk (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie
>> -objc -objc++ -objc-gc -test -vanilla"
>
> You have the +hardened USE flag set.  Did you just recently switch to
> the hardened profile?  If so, make sure you followed the upgrade guide
> for hardened profiles, which should have warned you what was going to
> happen here.

Good catch, Mike! In my haste, I overlooked that detail entirely.

--Kerin




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

end of thread, other threads:[~2010-04-06 16:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-06 10:40 [gentoo-user] emerge update gcc downgrade Kraus Philipp
2010-04-06 10:45 ` [gentoo-user] " Kerin Millar
2010-04-06 11:22 ` [gentoo-user] " Alex Schuster
2010-04-06 14:12 ` Zeerak Mustafa Waseem
2010-04-06 14:41 ` Mike Edenfield
2010-04-06 16:01   ` [gentoo-user] " Kerin Millar

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