Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc-4.6.3 reinstalling 3 times in a weeks time?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Thu Jan 24, 2013 6:48 am    Post subject: gcc-4.6.3 reinstalling 3 times in a weeks time? Reply with quote

in the last week and today gcc-4.6.3 is being reinstalled 4th time.
how so? again useflags changes??
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Thu Jan 24, 2013 8:44 am    Post subject: Reply with quote

What command are you using to upgrade?
What is the error message?

Did you change anything recently?

There was an udev upgrade, which might or might not force a gcc rebuild - at least the suggest command after the udev upgrade did in my case.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Thu Jan 24, 2013 10:40 am    Post subject: Reply with quote

i use emerge -DNuav world
last week wine and gcc were upgraded.
next day both were reinstalled.
then again next day gcc was reinstalled.
today againg gcc reinstalled.
i dont know what called all reinstalls.
a lot of packages upgraded about 75 of them
there is no error all 4 times gcc merged correctly.
i am now using gcc-4.6.3
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Thu Jan 24, 2013 11:22 am    Post subject: Reply with quote

Quote:
i dont know what called all reinstalls.

If you do not know, what caused it, why don't you just post the command used, including the output here for further analysis?
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
leifbk
Guru
Guru


Joined: 05 Jan 2004
Posts: 415
Location: Bærum, Norway

PostPosted: Thu Jan 24, 2013 11:58 am    Post subject: Reply with quote

I have noticed the same, simply as a result of running emerge --sync && emerge -avuDN world every morning. It's because of a few changes in use flags. They could probably have been better coordinated, but this is happening all the time. Because gcc is a monster package compared to most others, it can be a little annoying, though. But the decision to sync and update every day is your own.
_________________
Grumpy old man
Back to top
View user's profile Send private message
juantxorena
Apprentice
Apprentice


Joined: 19 Mar 2006
Posts: 201
Location: The Shire

PostPosted: Sat Jan 26, 2013 10:37 am    Post subject: Reply with quote

It's 4 times now. Somebody should open a bug.

I remember having similar problems with the now extint blas-atlas and lapack-atlas packages. Some devs were fighting over some USE flag, whether it should be on by default or not, so they kept changing them. The problem was that those packages requiered some pre and post emerge stuff (disabling CPU throttling, for example) and they needed over 2 hours of compile time no matter the CPU since they had to do a lot of tests to optimize stuff. They didn't stop until somebody (me) opened a bug complaining.

This gcc thing looks the same to me.
_________________
I cannot write English very well. Please, correct any mistake so that I can improve.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Sat Jan 26, 2013 10:44 am    Post subject: Reply with quote

take 'N' out of the flags

ie. use -avuD instead of -avuDN

Code:
--newuse (-N)
              Tells  emerge to include installed packages where USE flags have changed since compilation. This option
              also implies the --selective option.

_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8932

PostPosted: Sat Jan 26, 2013 10:53 am    Post subject: Reply with quote

Easy. Don't use -N on a permanent basis, it's useless.

Wait, didn't I already tell you that some time ago?


Last edited by asturm on Sat Jan 26, 2013 12:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sat Jan 26, 2013 12:20 pm    Post subject: Reply with quote

I use "-auDv --changed-use". It will get recompiled only if needed.
Code:
       --changed-use
              Tells emerge to include installed packages where USE flags have changed since instal$(B!>(B
              lation.  This  option  also  implies  the  --selective  option.  Unlike --newuse, the
              --changed-use option does not trigger reinstallation when flags that the user has not
              enabled are added or removed.

_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8932

PostPosted: Sun Feb 10, 2013 10:31 am    Post subject: Reply with quote

I just had a look again at my emerge -uvaDN world output after the profile update. Out of 26 reinstalls more than 20 would have been completely useless waste of cpu time, because of disappearing, renamed or language flags that I didn't use at all. 4 packages of those I did re-emerge manually for the slightest chance of actual change in install size.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum