public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] --depclean and sys-devel/gcc
@ 2018-08-10  2:49 allan gottlieb
  2018-08-10  4:14 ` Michael Orlitzky
  0 siblings, 1 reply; 5+ messages in thread
From: allan gottlieb @ 2018-08-10  2:49 UTC (permalink / raw
  To: gentoo-user

I run a stable system so am surprised to see that eix reports
I have gcc version ~7.3.0-r3 installed.  (gcc-config -l reports
that stable x86_64-pc-linux-gnu-6.4.0 is the active compiler)

More surprising is that
   emerge --depclean --pretend sys-devel/gcc
wants to remove everything *except* the testing/nonstable 7.3.0-r3

grep -r gcc /etc/portage
has no hits.

@system and several installed packages require gcc but all would be
satisfied by stable 6.4.0-r1 my active compiler

# emerge --depclean --verbose --pretend sys-devel/gcc

Calculating dependencies... done!
  sys-devel/gcc-7.3.0-r3 pulled in by:
    @system requires sys-devel/gcc
    dev-java/icedtea-bin-3.6.0 requires >=sys-devel/gcc-5.4.0
    net-libs/webkit-gtk-2.20.4 requires >=sys-devel/gcc-4.9
    sys-devel/llvm-4.0.1-r1 requires >=sys-devel/gcc-3.0
    sys-devel/llvm-5.0.2 requires >=sys-devel/gcc-3.0
    sys-devel/llvm-6.0.1 requires >=sys-devel/gcc-3.0
    sys-libs/glibc-2.26-r7 requires >=sys-devel/gcc-4.9

>>> These are the packages that would be unmerged:

 sys-devel/gcc
    selected: 4.9.3 4.9.4 5.4.0-r3 6.4.0-r1 
   protected: none 
     omitted: 7.3.0-r3 

Am I supposed to
   emerge --unmerge =sys-devel/gcc-7.3.0-r3
?

thanks in advance,
allan

PS I moved some months ago to the 17.0 profile and did the
make --emptytree @world



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

* Re: [gentoo-user] --depclean and sys-devel/gcc
  2018-08-10  2:49 [gentoo-user] --depclean and sys-devel/gcc allan gottlieb
@ 2018-08-10  4:14 ` Michael Orlitzky
  2018-08-10 14:01   ` allan gottlieb
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Orlitzky @ 2018-08-10  4:14 UTC (permalink / raw
  To: gentoo-user

On 08/09/2018 10:49 PM, allan gottlieb wrote:
> I run a stable system so am surprised to see that eix reports
> I have gcc version ~7.3.0-r3 installed.  (gcc-config -l reports
> that stable x86_64-pc-linux-gnu-6.4.0 is the active compiler)
> 
> More surprising is that
>    emerge --depclean --pretend sys-devel/gcc
> wants to remove everything *except* the testing/nonstable 7.3.0-r3
> 

gcc-7.3.0-r3 is stable, you probably updated your ::gentoo repository
without updating eix. Run eix-update and check again.


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

* Re: [gentoo-user] --depclean and sys-devel/gcc
  2018-08-10  4:14 ` Michael Orlitzky
@ 2018-08-10 14:01   ` allan gottlieb
  2018-08-10 15:00     ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 5+ messages in thread
From: allan gottlieb @ 2018-08-10 14:01 UTC (permalink / raw
  To: gentoo-user

On Fri, Aug 10 2018, Michael Orlitzky wrote:

> On 08/09/2018 10:49 PM, allan gottlieb wrote:
>> I run a stable system so am surprised to see that eix reports
>> I have gcc version ~7.3.0-r3 installed.  (gcc-config -l reports
>> that stable x86_64-pc-linux-gnu-6.4.0 is the active compiler)
>> 
>> More surprising is that
>>    emerge --depclean --pretend sys-devel/gcc
>> wants to remove everything *except* the testing/nonstable 7.3.0-r3
>> 
>
> gcc-7.3.0-r3 is stable, you probably updated your ::gentoo repository
> without updating eix. Run eix-update and check again.

Thank you!

If I now upgrade with

    gcc-config x86_64-pc-linux-gnu-7.3.0
    env-update && source /etc/profile
    emerge --ask --oneshot sys-devel/libtool

must I do a world update --emptytree as when converting to the 13.0
profile.

I believe not as the requirement when upgrading to 13.0 was due to the
new generation of PIE output.

Again, thank you.
allan


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

* [gentoo-user] Re: --depclean and sys-devel/gcc
  2018-08-10 14:01   ` allan gottlieb
@ 2018-08-10 15:00     ` Nikos Chantziaras
  2018-08-10 15:56       ` allan gottlieb
  0 siblings, 1 reply; 5+ messages in thread
From: Nikos Chantziaras @ 2018-08-10 15:00 UTC (permalink / raw
  To: gentoo-user

On 10/08/18 17:01, allan gottlieb wrote:
> If I now upgrade with
> 
>      gcc-config x86_64-pc-linux-gnu-7.3.0
>      env-update && source /etc/profile
>      emerge --ask --oneshot sys-devel/libtool
> 
> must I do a world update --emptytree as when converting to the 13.0
> profile.

It's recommended, but not something you have to do immediately. It's 
best to do it when you don't need the machine (like overnight), but if 
you happen to be using it while the world rebuild is going on, use these 
in your make.conf:

PORTAGE_NICENESS=19
PORTAGE_IONICE_COMMAND="sh -c \"schedtool -D \${PID}; ionice -c 3 -p 
\${PID}\""

(Make sure sys-process/schedtool is installed.)

This makes sure the emerge process does not slow down your normal use of 
the machine.



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

* Re: [gentoo-user] Re: --depclean and sys-devel/gcc
  2018-08-10 15:00     ` [gentoo-user] " Nikos Chantziaras
@ 2018-08-10 15:56       ` allan gottlieb
  0 siblings, 0 replies; 5+ messages in thread
From: allan gottlieb @ 2018-08-10 15:56 UTC (permalink / raw
  To: gentoo-user

On Fri, Aug 10 2018, Nikos Chantziaras wrote:

> On 10/08/18 17:01, allan gottlieb wrote:
>> If I now upgrade with
>>
>>      gcc-config x86_64-pc-linux-gnu-7.3.0
>>      env-update && source /etc/profile
>>      emerge --ask --oneshot sys-devel/libtool
>>
>> must I do a world update --emptytree as when converting to the 13.0
>> profile.
>
> It's recommended, but not something you have to do immediately. It's
> best to do it when you don't need the machine (like overnight), but if
> you happen to be using it while the world rebuild is going on, use
> these in your make.conf:
>
> PORTAGE_NICENESS=19
> PORTAGE_IONICE_COMMAND="sh -c \"schedtool -D \${PID}; ionice -c 3 -p 
> \${PID}\""
>
> (Make sure sys-process/schedtool is installed.)
>
> This makes sure the emerge process does not slow down your normal use
> of the machine.

Thank you.  I started my backup machine on the world update.
Will do the main machine afterward.
allan


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

end of thread, other threads:[~2018-08-10 15:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-10  2:49 [gentoo-user] --depclean and sys-devel/gcc allan gottlieb
2018-08-10  4:14 ` Michael Orlitzky
2018-08-10 14:01   ` allan gottlieb
2018-08-10 15:00     ` [gentoo-user] " Nikos Chantziaras
2018-08-10 15:56       ` allan gottlieb

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