View previous topic :: View next topic |
Author |
Message |
sven Apprentice
Joined: 19 Apr 2002 Posts: 274
|
Posted: Sat Sep 21, 2002 9:03 am Post subject: When upgrading to 1.4... |
|
|
...do really all packages get recompiled with gcc 3.2 or just the ones listed in world? I am refering to the upgrade documentation on gentoo.org.
I know that an emerge -u world does not update all packages which are installed instead just the ones listed in world, not their dependencies.
I would like to recompile all packages with gcc 3.2. |
|
Back to top |
|
|
nempo Guru
Joined: 16 Apr 2002 Posts: 360 Location: Linkoping, Sweden
|
Posted: Sat Sep 21, 2002 10:35 am Post subject: |
|
|
Isnt 'world' every single package you have installed ? |
|
Back to top |
|
|
sven Apprentice
Joined: 19 Apr 2002 Posts: 274
|
Posted: Sat Sep 21, 2002 10:40 am Post subject: |
|
|
Let's say you emerge apache which also emerges mod_php4 as a dependency, then only apache will be recorded in the world list. so when you recompile all programs from the world list, apache would get recompiled but mod_php4 not. |
|
Back to top |
|
|
rojaro l33t
Joined: 06 May 2002 Posts: 732
|
Posted: Sat Sep 21, 2002 2:14 pm Post subject: |
|
|
nempo wrote: | Isnt 'world' every single package you have installed ? |
the world file should only list packages which do not belong to the system - e.g. all the packages that get installed after stage 3. _________________ A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970) |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sat Sep 21, 2002 3:36 pm Post subject: |
|
|
WRONG. The world file does not contain all packages you installed after stage 3. It contains all packages you installed explicitly and not those that were installed to fill out dependencies.
rojaro wrote: | ...
the world file should only list packages which do not belong to the system - e.g. all the packages that get installed after stage 3. |
|
|
Back to top |
|
|
rojaro l33t
Joined: 06 May 2002 Posts: 732
|
Posted: Sat Sep 21, 2002 3:44 pm Post subject: |
|
|
so this is a bug i assume ... right? _________________ A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970) |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sat Sep 21, 2002 3:57 pm Post subject: |
|
|
portage does not do "deep dependencies" in older versions. It is documented behavior rather than a bug, I guess. From the portage man page:
Quote: |
--update (-u)
Updates packages to the most recent version available. Note that --update does not have full functionality yet. It will not automatically update dependencies of packages in the world file, unless they too are in the world file.
|
This is being fixed in newer versions, I believe.
You can do an "emerge -e world" to pick up everything as mentioned in the update doc.
rojaro wrote: | so this is a bug i assume ... right? |
|
|
Back to top |
|
|
rojaro l33t
Joined: 06 May 2002 Posts: 732
|
Posted: Sat Sep 21, 2002 4:13 pm Post subject: |
|
|
well .. recompiling the whole machine just to get the world file updated is like shooting with tanks after bee's ... wouldnt something like
Code: | emerge -ep world | sed -e "s/\[ebuild\ \ N\ \ \ \]\ //" > worldfile |
be sufficient to do the job?? _________________ A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970) |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sat Sep 21, 2002 4:24 pm Post subject: |
|
|
Well, you certainly don't want your world file to contain all packages. The reason why don't want to do this has been discussed in many other threads.
The original poster wanted to recompile all packages with gcc 3.2. This is done with the "emerge -e..." as mentioned above.
rojaro wrote: | well .. recompiling the whole machine just to get the world file updated is like shooting with tanks after bee's ... wouldnt something like
Code: | emerge -ep world | sed -e "s/\[ebuild\ \ N\ \ \ \]\ //" > worldfile |
be sufficient to do the job?? |
|
|
Back to top |
|
|
rojaro l33t
Joined: 06 May 2002 Posts: 732
|
Posted: Sat Sep 21, 2002 4:26 pm Post subject: |
|
|
well ... thanks for the reply ... will look at that and find some docs :) _________________ A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970) |
|
Back to top |
|
|
|