Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
When upgrading to 1.4...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Sat Sep 21, 2002 9:03 am    Post subject: When upgrading to 1.4... Reply with quote

...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
View user's profile Send private message
nempo
Guru
Guru


Joined: 16 Apr 2002
Posts: 360
Location: Linkoping, Sweden

PostPosted: Sat Sep 21, 2002 10:35 am    Post subject: Reply with quote

Isnt 'world' every single package you have installed ?
Back to top
View user's profile Send private message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Sat Sep 21, 2002 10:40 am    Post subject: Reply with quote

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
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Sat Sep 21, 2002 2:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Sep 21, 2002 3:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Sat Sep 21, 2002 3:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Sep 21, 2002 3:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Sat Sep 21, 2002 4:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Sep 21, 2002 4:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Sat Sep 21, 2002 4:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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