From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9C6DB1384B4 for ; Thu, 12 Nov 2015 08:07:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49FA021C198; Thu, 12 Nov 2015 08:07:16 +0000 (UTC) Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FB0321C169 for ; Thu, 12 Nov 2015 08:07:10 +0000 (UTC) Received: by wmdw130 with SMTP id w130so143040496wmd.0 for ; Thu, 12 Nov 2015 00:07:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=ItlQhoPugSwn6TAQi/EBQt93WOG5dhSF1GfXh5SPAsw=; b=gVcUYO0liBBIE80VEQJ+7KIoDLOyXw8WvoGcMRZrDdeoLWVPAkgRy93Zqo4u0IAP9C 5nXX0khjdvG1SjkdcYbdqqU/eLcJ+iojcluw/LYE6Q0BBEQPWBh+mPhFP5+SOK7gJjAB 5yLed8MkATpFYNuX/GKdXuR+4qTYmX5lDsPhqTDblW11eiPA9YWh9q+vhp3VgKpl/hpY CtmooysloKIwKXK72GwwTuwQdAVAbmo7BXIc+eTO6h96hsNRAu5wvln4ygCQPA6Cj1Zh xlxTQNWnT0JZRgwRl4KXnW9Czmt9reyT0cKlMzmIU1qL9e/TJ7yRHf0oTY9yrVMjcAoT tUwA== X-Received: by 10.28.111.151 with SMTP id c23mr5115184wmi.28.1447315628903; Thu, 12 Nov 2015 00:07:08 -0800 (PST) Received: from [172.20.0.40] ([165.255.82.143]) by smtp.googlemail.com with ESMTPSA id z131sm1281477wme.7.2015.11.12.00.07.07 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Nov 2015 00:07:08 -0800 (PST) Subject: Re: [gentoo-user] Emerge order not deterministic !? To: gentoo-user@lists.gentoo.org References: <20151111193548.GB12926@waltdnes.org> From: Alan McKinnon Message-ID: <5644486F.1090205@gmail.com> Date: Thu, 12 Nov 2015 10:06:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20151111193548.GB12926@waltdnes.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 5d050546-6301-4f7b-a81f-507e14afee26 X-Archives-Hash: bf58cb0c49a4896a806e26111aa4c852 On 11/11/2015 21:35, Walter Dnes wrote: > Ongoing installation. I looked at 2 instances of > "emerge -pv x11-base/xorg-server" and the order was somewhat different. > Here are a couple of outputs, just a few seconds apart. Is this a bug > or a feature? See attachments. > Emerge order is not deterministic, especially with parallel builds. The reason is that it does not need to be according to the dep graph - if two packages are at the same level and do not depend on each other, then the order they are built in does not affect the final result. Practically all parallel processing works this way. What is deterministic, is that if you build the same set of packages twice and even if portage does them in different order, the binaries produced are functionally identical -- Alan McKinnon alan.mckinnon@gmail.com