From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IrZWA-0002QB-7g for garchives@archives.gentoo.org; Mon, 12 Nov 2007 13:39:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lACDd7Cs003490; Mon, 12 Nov 2007 13:39:07 GMT Received: from smtp.ferdyx.org (170.Red-213-96-222.staticIP.rima-tde.net [213.96.222.170]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lACDY0Tc025704 for ; Mon, 12 Nov 2007 13:34:00 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.ferdyx.org (Postfix) with ESMTP id 1C4708D82D for ; Mon, 12 Nov 2007 14:35:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ferdyx.org Received: from smtp.ferdyx.org ([127.0.0.1]) by localhost (tungsteno.ferdyx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N0qt9NNUwkFs for ; Mon, 12 Nov 2007 14:35:45 +0100 (CET) Received: from posidon.ferdyx.org (posidon.ferdyx.org [192.168.0.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.ferdyx.org (Postfix) with ESMTP id 641078D7FC for ; Mon, 12 Nov 2007 14:35:45 +0100 (CET) Received: by posidon.ferdyx.org (nbSMTP-1.01-cvs) for uid 1000 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) ferdy@gentoo.org; Mon, 12 Nov 2007 14:33:58 +0100 (CET) Date: Mon, 12 Nov 2007 14:33:58 +0100 From: "Fernando J. Pereda" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Phase invariancy and exclusivity requirements Message-ID: <20071112133358.GB14491@ferdyx.org> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20071109224008.7f946930@blueyonder.co.uk> <20071111195654.15666780@blueyonder.co.uk> <47384686.8030506@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline In-Reply-To: <47384686.8030506@gentoo.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 4bb653cb-dfcb-44f8-af17-37c74cf1515b X-Archives-Hash: e64d38fcfbd3d7acd7311566c0376b18 --TRYliJ5NKNqkz5bu Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 12, 2007 at 01:26:46PM +0100, Marijn Schouten (hkBst) wrote: > Ciaran McCreesh wrote: > > On Fri, 9 Nov 2007 22:40:08 +0000 > > Ciaran McCreesh wrote: > >> Is the following set sufficient? Is the following set the least > >> restrictive correct solution? > >=20 > > ... to explain the implications of these... > >=20 > > Say we have packages a, b and c, and none of them have any > > dependencies. One valid solution to the build ordering is as follows: > >=20 > > * Install a > > * Install b > > * Install c > >=20 > > One of many solutions that is *not* valid is: > >=20 > > * Start doing a, b and c in parallel. Install them as they become > > ready, doing only one merge at once. > >=20 > > Another that is not valid is: > >=20 > > * Start doing a, b and c in parallel, but don't merge them. > > * Merge a. > > * Merge b. > > * Merge c. > >=20 > > One that is valid is: > >=20 > > * Build binary packages for a, b and c in parallel. > > * Merge a's binary. > > * Merge b's binary. > > * Merge c's binary. >=20 > What exactly is the difference between this valid situation and the previ= ous > invalid one? The state of the environment when pkg_setup is run. In the first situation you can't trust it (it is racy and unpredictable among other things). In the second one, you can. That's the first thing that I can think of, there might be others. - ferdy --=20 Fernando J. Pereda Garcimart=EDn 20BB BDC3 761A 4781 E6ED ED0B 0A48 5B0C 60BD 28D4 --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHOFZGCkhbDGC9KNQRArqyAJ9iW08iJ/52/98ntcjGcm2+nWZu2wCfaaTZ gr2t6kHZ80CPTBg2iKhLHC8= =YDTx -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu-- -- gentoo-dev@gentoo.org mailing list