Le Mercredi 17 Mai 2006 18:01, Jeremy Olexa a écrit : > Timothy A. Holmes wrote: > >> On 5/17/06, Timothy A. Holmes <[EMAIL PROTECTED]> wrote: > >>> Hi folks - I have a major problem brewing here im afraid: > >>> > >>> I have several systems that I had originally built with the Gentoo > >>> installer disk -- As such they have a very large group of use flags, > > > > and > > > >>> a fairly large genkernel. In wanting to lean them out and optimize > > > > them > > > >>> for running, went in, rebuilt the kernel, and apparently with a bad > >> > >> genkernel does not use USE flags, so, that's not related, probably. > >> Someone will tell if I'm wrong. > >> > >>> understanding of how portage and the USE flags interact, removed all > > > > the > > > >>> use flags, changed them to: > >>> > >>> USE="-*" > >> > >> Heh, once I tried that... Its better leave it empty than putting this. > >> You CAN put "-*", but then you would have to create a fairly large > >> packages.use in order to get a working system. That includes every > >> package listed in "emerge -pv world" with an entry. > >> > >> Remove that option, start with minimal USE flags and reemerge world. > >> You're lucky you didn't try emerge -e system after that. > >> > >>> and ran emerge -e world. The processes have all failed, and now I > > > > have > > > >>> broken systems -- for example, eterm wont start at all, nor will it > >>> build on a re-install, firefox is messed up (the fonts look funny) > > > > and > > > >>> im starting to panic. Is there any way short of rebuilding these > >>> systems to get things working right again? > >> > >> You're lucky that you still have a working system after all. You even > >> get a working portage, so, nothing to worry about. Fix your flags and > >> reemerge world. > >> > >> -- > > > > [Timothy A. Holmes] > > > > Turns out all 5 systems are totally broke - I will be rebuilding all of > > them -- > > > > If anyone can suggest a good set of minimal use flags, I would be most > > thankful > > > > Tim > > I would start with the defaults, eg. leave USE="" (blank) in make.conf > and then start editing package.use to modify them from there. type > emerge --info to see ALL of the use flags that are being used
Yes, USE="" is a good start. However, one has to take into account that portage adds use flags while going through the emerge process. For example, if you install mysql in order to use it with amaroK, mysql would, after that emerge be turned on as a global useflag. If one wants to keep a clean system, they have to compensate for this behaviour, and check, at the end of an emerge process*, that the list of useflags has remained unchanged. *(NOTE : not at the end of the merge of every single package, but at the end of the merge of one list of package, since emerge reads the USE variable once at the beginning of the merge process, even if there are 20 packages on the list). Oh, and unless you are a developper, there are some defaults useflags you can turn off, like "fortran", for example. One last thing, I would suggest using "euse", which is part of gentoolkit, to check the meaning of a useflage. It searches both use.desc and use.local.desc. -- Jonathan > > Timothy A. Holmes > > IT Manager / Network Admin / Web Master / Computer Teacher > > > > Medina Christian Academy > > A Higher Standard... > > > > Jeremiah 33:3 > > Jeremiah 29:11 > > Esther 4:14 > > -- > Jeremy Olexa > ([EMAIL PROTECTED]) > Office: EE/CS 1-201 > CS/IT Systems Staff > University of Minnesota -- gentoo-user@gentoo.org mailing list