Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Emerge order not deterministic !?
Date: Thu, 12 Nov 2015 08:07:31
Message-Id: 5644486F.1090205@gmail.com
In Reply to: [gentoo-user] Emerge order not deterministic !? by Walter Dnes
1 On 11/11/2015 21:35, Walter Dnes wrote:
2 > Ongoing installation. I looked at 2 instances of
3 > "emerge -pv x11-base/xorg-server" and the order was somewhat different.
4 > Here are a couple of outputs, just a few seconds apart. Is this a bug
5 > or a feature? See attachments.
6 >
7
8
9 Emerge order is not deterministic, especially with parallel builds. The
10 reason is that it does not need to be according to the dep graph - if
11 two packages are at the same level and do not depend on each other, then
12 the order they are built in does not affect the final result.
13 Practically all parallel processing works this way.
14
15 What is deterministic, is that if you build the same set of packages
16 twice and even if portage does them in different order, the binaries
17 produced are functionally identical
18
19 --
20 Alan McKinnon
21 alan.mckinnon@×××××.com

Replies

Subject Author
[gentoo-user] Re: Emerge order not deterministic !? "Jörg Schaible" <joerg.schaible@×××××××××.com>