Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Different behavior of emerge -up world/system. Bug/Feature?
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
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Mon Nov 18, 2002 4:19 pm    Post subject: Different behavior of emerge -up world/system. Bug/Feature? Reply with quote

On my daily updates i just figured out, emerge -up world will show up another merge order than emerge -up system.
There should not be any difference between those updates, right?
Considering this with two more depending ebuilds could cause some real pain..

Code:
root@powerix: ~/brainfuck $ emerge -up world

These are the packages that I would merge, in order.

Calculating world dependencies ...done!
[ebuild    U ] sys-devel/flex-2.5.23
[ebuild    U ] sys-apps/baselayout-1.8.5.2

-(17:13/18-Nov-02)-(368/pts/1)-
root@powerix: ~/brainfuck $ emerge -up system

These are the packages that I would merge, in order.

Calculating system dependencies ...done!
[ebuild    U ] sys-apps/baselayout-1.8.5.2
[ebuild    U ] sys-devel/flex-2.5.23
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Mon Nov 18, 2002 5:40 pm    Post subject: Reply with quote

the order of the packages doesnt really matter, as long as a package has got all dependancies installed before it.
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Mon Nov 18, 2002 6:06 pm    Post subject: Reply with quote

hm
i thought of gcc update after general system updates
this would lead into somehow 'outdated' packages, due to old compiler instructions.
Back to top
View user's profile Send private message
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Mon Nov 18, 2002 9:51 pm    Post subject: Reply with quote

just to prove, this happens quite often :)

Code:

-(22:48/18-Nov-02)-(144/pts/3)-
root@powerix: ~/brainfuck $ emerge -up world

These are the packages that I would merge, in order.

Calculating world dependencies ...done!
[ebuild    U ] sys-apps/texinfo-4.3
[ebuild    U ] sys-apps/baselayout-1.8.5.3

-(22:48/18-Nov-02)-(145/pts/3)-
root@powerix: ~/brainfuck $ emerge -up system

These are the packages that I would merge, in order.

Calculating system dependencies ...done!
[ebuild    U ] sys-apps/baselayout-1.8.5.3
[ebuild    U ] sys-apps/texinfo-4.3
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Nov 18, 2002 10:13 pm    Post subject: Reply with quote

I suspect it has to do with the relative order of things in /etc/make.profile/packages and /var/cache/edb/world.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Tue Nov 19, 2002 8:18 pm    Post subject: Reply with quote

That's crap.
Since texinfo is served later than baselayout, according to /etc/make.profile/packages sys-apps/baselayout should _always_ be the first thing to merge.
Even if emerge -u world would first check world file and then the systemfile.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 19, 2002 8:40 pm    Post subject: Reply with quote

pYrania wrote:
That's crap.
Since texinfo is served later than baselayout, according to /etc/make.profile/packages sys-apps/baselayout should _always_ be the first thing to merge.
Even if emerge -u world would first check world file and then the systemfile.

Am I supposed to feel insulted by the "crap" comment? I must confess I don't understand what is so critical about the problem in this thread. In any case, I don't follow your logic. Let's say that texinfo is in your world file. Maybe Portage follows an algorithm like "push all packages in the world file that have updates available onto the list. now go through and append their dependencies. repeat as necessary." Wouldn't that make texinfo appear before baselayout? I was just suggesting a possibility.
_________________
For every higher wall, there is a taller ladder
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