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: 4049
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: 1942
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: 4049
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: 1942
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
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 278
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.
_________________
The Yggdrasil Genealogy Project
Back to top
View user's profile Send private message
juantxorena
Apprentice
Apprentice


Joined: 19 Mar 2006
Posts: 197
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
Advocate
Advocate


Joined: 23 May 2008
Posts: 2265
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.

_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2451
Location: Austria

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?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic


Last edited by genstorm 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: 3205

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
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2451
Location: Austria

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.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
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