1 |
Le Mercredi 17 Mai 2006 18:01, Jeremy Olexa a écrit : |
2 |
> Timothy A. Holmes wrote: |
3 |
> >> On 5/17/06, Timothy A. Holmes <tholmes@×××××××××.net> wrote: |
4 |
> >>> Hi folks - I have a major problem brewing here im afraid: |
5 |
> >>> |
6 |
> >>> I have several systems that I had originally built with the Gentoo |
7 |
> >>> installer disk -- As such they have a very large group of use flags, |
8 |
> > |
9 |
> > and |
10 |
> > |
11 |
> >>> a fairly large genkernel. In wanting to lean them out and optimize |
12 |
> > |
13 |
> > them |
14 |
> > |
15 |
> >>> for running, went in, rebuilt the kernel, and apparently with a bad |
16 |
> >> |
17 |
> >> genkernel does not use USE flags, so, that's not related, probably. |
18 |
> >> Someone will tell if I'm wrong. |
19 |
> >> |
20 |
> >>> understanding of how portage and the USE flags interact, removed all |
21 |
> > |
22 |
> > the |
23 |
> > |
24 |
> >>> use flags, changed them to: |
25 |
> >>> |
26 |
> >>> USE="-*" |
27 |
> >> |
28 |
> >> Heh, once I tried that... Its better leave it empty than putting this. |
29 |
> >> You CAN put "-*", but then you would have to create a fairly large |
30 |
> >> packages.use in order to get a working system. That includes every |
31 |
> >> package listed in "emerge -pv world" with an entry. |
32 |
> >> |
33 |
> >> Remove that option, start with minimal USE flags and reemerge world. |
34 |
> >> You're lucky you didn't try emerge -e system after that. |
35 |
> >> |
36 |
> >>> and ran emerge -e world. The processes have all failed, and now I |
37 |
> > |
38 |
> > have |
39 |
> > |
40 |
> >>> broken systems -- for example, eterm wont start at all, nor will it |
41 |
> >>> build on a re-install, firefox is messed up (the fonts look funny) |
42 |
> > |
43 |
> > and |
44 |
> > |
45 |
> >>> im starting to panic. Is there any way short of rebuilding these |
46 |
> >>> systems to get things working right again? |
47 |
> >> |
48 |
> >> You're lucky that you still have a working system after all. You even |
49 |
> >> get a working portage, so, nothing to worry about. Fix your flags and |
50 |
> >> reemerge world. |
51 |
> >> |
52 |
> >> -- |
53 |
> > |
54 |
> > [Timothy A. Holmes] |
55 |
> > |
56 |
> > Turns out all 5 systems are totally broke - I will be rebuilding all of |
57 |
> > them -- |
58 |
> > |
59 |
> > If anyone can suggest a good set of minimal use flags, I would be most |
60 |
> > thankful |
61 |
> > |
62 |
> > Tim |
63 |
> |
64 |
> I would start with the defaults, eg. leave USE="" (blank) in make.conf |
65 |
> and then start editing package.use to modify them from there. type |
66 |
> emerge --info to see ALL of the use flags that are being used |
67 |
|
68 |
Yes, USE="" is a good start. However, one has to take into account that |
69 |
portage adds use flags while going through the emerge process. For example, |
70 |
if you install mysql in order to use it with amaroK, mysql would, after that |
71 |
emerge be turned on as a global useflag. |
72 |
|
73 |
If one wants to keep a clean system, they have to compensate for this |
74 |
behaviour, and check, at the end of an emerge process*, that the list of |
75 |
useflags has remained unchanged. |
76 |
|
77 |
*(NOTE : not at the end of the merge of every single package, but at the end |
78 |
of the merge of one list of package, since emerge reads the USE variable once |
79 |
at the beginning of the merge process, even if there are 20 packages on the |
80 |
list). |
81 |
|
82 |
Oh, and unless you are a developper, there are some defaults useflags you can |
83 |
turn off, like "fortran", for example. |
84 |
|
85 |
One last thing, I would suggest using "euse", which is part of gentoolkit, to |
86 |
check the meaning of a useflage. It searches both use.desc and |
87 |
use.local.desc. |
88 |
|
89 |
-- Jonathan |
90 |
|
91 |
> > Timothy A. Holmes |
92 |
> > IT Manager / Network Admin / Web Master / Computer Teacher |
93 |
> > |
94 |
> > Medina Christian Academy |
95 |
> > A Higher Standard... |
96 |
> > |
97 |
> > Jeremiah 33:3 |
98 |
> > Jeremiah 29:11 |
99 |
> > Esther 4:14 |
100 |
> |
101 |
> -- |
102 |
> Jeremy Olexa |
103 |
> (olexa@××××××.edu) |
104 |
> Office: EE/CS 1-201 |
105 |
> CS/IT Systems Staff |
106 |
> University of Minnesota |
107 |
|
108 |
|
109 |
-- |
110 |
gentoo-user@g.o mailing list |