Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE flags got massively messed up by themselves [solved]
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
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Fri Oct 27, 2006 8:26 am    Post subject: USE flags got massively messed up by themselves [solved] Reply with quote

I don't know what happened, but during my latest emerge --update --deep --newuse world my system starting pulling abuot 150 packages. I've though OK, probably a new KDE or gnome update. Then my Konq pages started to not show the correct figures. Then until one package complained that I had to compile with the "X" flag. I was like "WTF!!!!"
I opened up ufed and saw that a lot of my USE flags had been cleared. Among some important ones
gif, jpg, tiff, matroska, mp3, qt3, qt4, gnome, kde, X, etc etc.

Now was this a problem with some update of ufed, or anyone else had a simliar issue? I've reconfigured the flags again and it seems to be working now... but what did this in the first place?


Last edited by batistuta on Mon Oct 30, 2006 4:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Mon Oct 30, 2006 1:25 pm    Post subject: Reply with quote

anyone else had this problem or just me? Do I need to sleep more?
Back to top
View user's profile Send private message
thorpe
l33t
l33t


Joined: 09 May 2005
Posts: 618
Location: Sydney, Australia.

PostPosted: Mon Oct 30, 2006 1:33 pm    Post subject: Reply with quote

Have you changed profiles recently?
_________________
Research before taking any advice from me. I'm still coming to grips with this myself.
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Mon Oct 30, 2006 1:39 pm    Post subject: Reply with quote

I did, but I'm not sure whether the two events got correlated. I think I've changed profile a few months ago and this problme is about 1 week old. But could changing profile be an issue? That shouldn't mess up my make.conf
Back to top
View user's profile Send private message
thorpe
l33t
l33t


Joined: 09 May 2005
Posts: 618
Location: Sydney, Australia.

PostPosted: Mon Oct 30, 2006 1:41 pm    Post subject: Reply with quote

A profile is in charge of default use flags. What profile where you using and what are you using now?
_________________
Research before taking any advice from me. I'm still coming to grips with this myself.
Back to top
View user's profile Send private message
Enverex
Guru
Guru


Joined: 02 Jul 2003
Posts: 501
Location: Worcester, UK

PostPosted: Mon Oct 30, 2006 1:48 pm    Post subject: Reply with quote

batistuta wrote:
I did, but I'm not sure whether the two events got correlated. I think I've changed profile a few months ago and this problme is about 1 week old. But could changing profile be an issue? That shouldn't mess up my make.conf


It hasn't messed up your make.conf, but the profile specifies the default + and - USE flags, so everything will suddenly be different. You just need to do an "emerge -NDup world" and see what flags have changed and then + or - them in your make.conf.
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Mon Oct 30, 2006 1:51 pm    Post subject: Reply with quote

I see where you are going... it could be that ufed was showing some use flags as set or non set that where in the profile and not in the make.conf
And then changing profile might have had in impact on that. When I've changed profile I've moved to the latest x86 which I think it is 2006.2 but not sure (don't have my Gentoo here)

In any case, this could really have been the reason. At some point I've heard about a desktop profile. I don't really recall what I did if I changed or not, but I did play with profiles at some point and this sounds like the most likely cause to the problem. Thanks Enverex!
Back to top
View user's profile Send private message
Yamakuzure
l33t
l33t


Joined: 21 Jun 2006
Posts: 779
Location: Hamburg, Germany

PostPosted: Mon Oct 30, 2006 2:16 pm    Post subject: Reply with quote

I just switched profile to "desktop", and now alot of use flags get marked as "-" or "+" but are stated clearly otherwise in make.conf. It seems make.conf gets massively overridden? (Like appearences of "-X" e.G.)

Could it be that the new profiles (desktop, server etc) force some default USE-Flags for various packages?

Some of those seem to be somewhat pointless, some seem to be a bit strange:
Code:
[ebuild   R   ] kde-base/kicker-applets-3.5.2  USE="arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama (-xmms*)" 1,601 kB
[ebuild   R   ] www-client/elinks-0.10.6  USE="X bzip2 -debug -finger ftp (-gnutls%*) -gopher gpm guile idn -ipv6 javascript -lua nls -nntp perl -ruby samba ssl zlib" 2,339 kB
[ebuild   R   ] media-libs/flac-1.1.2-r3  USE="3dnow -debug doc ogg sse (-xmms*)" 1,484 kB
[ebuild     U ] app-office/krita-1.5.2-r1 [1.4.2] USE="arts -debug (-javascript%*) -xinerama" 0 kB
[ebuild     UD] media-gfx/gimp-2.2.12 [2.3.10] USE="aalib (-alsa%*) (-altivec) -debug doc -gimpprint% (-gnome%) gtkhtml -hardened% jpeg lcms mmx mng (-pdf%*) png python -smp sse svg tiff wmf" 12,573 kB
[ebuild     U ] media-video/ffmpeg-0.4.9_p20060530 [0.4.9_p20051216] USE="a52 aac (-altivec) -amr% -debug doc dts encode -ieee1394 imlib mmx -network ogg oss sdl -test theora threads truetype -v4l vorbis -x264% xvid zlib" 1,764 kB
[ebuild   R   ] media-libs/xine-lib-1.1.2-r2  USE="X a52 aac aalib alsa (-altivec) arts asf -debug directfb dts dvd -dxr3 -esd fbcon flac -gnome imagemagick -ipv6 libcaca (-mad%*) mng -modplug mp3%* nls opengl oss samba sdl speex theora -v4l vcd -vidix vorbis win32codecs -xinerama xv -xvmc" VIDEO_CARDS="-i810 nvidia -via" 6,328 kB
(The ones in brackets seem to be somewhat strange as they are all stated otherwise in make.conf. some of them are shown in green like new USEs, some are shown in yellow)
_________________
Kernel 3.3.1 sources wrote:
drivers/net/ethernet/realtek/r8169.c:74 #define SafeMtu 0x1c20 /* ... actually life sucks beyond ~7k */
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Mon Oct 30, 2006 2:31 pm    Post subject: Reply with quote

Although I'm not sure, I find this hard to believe. The user should have the last word in the make.conf
Back to top
View user's profile Send private message
Enverex
Guru
Guru


Joined: 02 Jul 2003
Posts: 501
Location: Worcester, UK

PostPosted: Mon Oct 30, 2006 3:24 pm    Post subject: Reply with quote

Check your make.conf. If you've been using UFED or something I can almost guarantee that you don't have X in your make.conf use flags because previously it was set by default (which means if you added it to make.conf and used something like ufed they it would be deleted due to it being duplicated). make.conf DOES have the last word (with the exception of specifying things on the command line).

UFED checks to see if any flags you've put in make.conf match the profile default, and if they do they it deletes the one in make.conf so all that has happened now is that things that were specified in the profile are now no-longer there (making it seem like you've deleted flags) and things that weren't may actually now be. If you added X to the USE flags in 2006.0 and then ran UFED it would have deleted it due to it being duplicated, now X isn't on by default meaning you need to add it to make.conf.

So yeah, nothing is overriding anything else and no-one has deleted your use flags, you just don't seem to know the procedure, heh.
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Mon Oct 30, 2006 4:04 pm    Post subject: Reply with quote

That makes sense. I didn't know that ufed deletes redundant stuff Thanks Enverex for the explanation. I'll close as solved
Back to top
View user's profile Send private message
Yamakuzure
l33t
l33t


Joined: 21 Jun 2006
Posts: 779
Location: Hamburg, Germany

PostPosted: Mon Oct 30, 2006 6:28 pm    Post subject: Reply with quote

then I guess what I witnessed has nothing to do with what batistuta experienced...

on the other hand the USE-Flags in brackeds in the snippet up there are set otherwise in my make.conf. I guess that's the reason why they are in brackets.
But then, what has gimp to do with alsa? :?:
_________________
Kernel 3.3.1 sources wrote:
drivers/net/ethernet/realtek/r8169.c:74 #define SafeMtu 0x1c20 /* ... actually life sucks beyond ~7k */
Back to top
View user's profile Send private message
Enverex
Guru
Guru


Joined: 02 Jul 2003
Posts: 501
Location: Worcester, UK

PostPosted: Mon Oct 30, 2006 6:54 pm    Post subject: Reply with quote

Brakets mean force enabled (blah) or force disabled (-blah) and you can't do anything about that.
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Tue Oct 31, 2006 9:52 am    Post subject: Reply with quote

Yesterday, for the fun, I've switched profiles to 2006.1 and then back to 2006.1/desktop (while launching ufed in between) and experienced the massive USE flag reconfiguration. So this verifies it!! :D
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