From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MCEGj-00065c-Mv for garchives@archives.gentoo.org; Thu, 04 Jun 2009 14:50:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E427E03F5; Thu, 4 Jun 2009 14:50:11 +0000 (UTC) Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by pigeon.gentoo.org (Postfix) with ESMTP id 1B259E03F5 for ; Thu, 4 Jun 2009 14:50:10 +0000 (UTC) Received: by bwz23 with SMTP id 23so709359bwz.34 for ; Thu, 04 Jun 2009 07:50:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=yR94zF3zQTt5tC46l+gIsLQf5CHBuxhnqMtGSIvy4Pk=; b=OzWq4i41QPFS8MiQhjw9xmpHZj/u+L0fjU8f+5S2tSmgBlbwQkWKl/9Y5DqcvLnIjf SVqsujSjgWo3p59VzBUTwgQIDVKAITCJMNqb3DBeD9kdYWfkMG+yciPzyCuhea9QMIbu Z3h0wd4EjJOsVVcQC6YxVeV5zg171boyz6ukI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=IbYL/sIICSar1imJnGJkjSLzBZa8caHPnUn/N6hlPXMIK+bhFmUxZ/MoivTy3KztaY QaP6EdrrdwMNPf/sO5OJgrxThOXxLVthouJpUX+CCPS0/ukhgW4EdBE8xsh90/pmZcJn /opgjpYUjegzY3mBvAxLashio4lfGNSPcEixQ= Received: by 10.103.167.14 with SMTP id u14mr1461670muo.81.1244127010116; Thu, 04 Jun 2009 07:50:10 -0700 (PDT) Received: from snowcone (92-235-187-79.cable.ubr18.sgyl.blueyonder.co.uk [92.235.187.79]) by mx.google.com with ESMTPS id i5sm259603mue.55.2009.06.04.07.50.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Jun 2009 07:50:09 -0700 (PDT) Date: Thu, 4 Jun 2009 15:50:03 +0100 From: Ciaran McCreesh To: gentoo-pms@lists.gentoo.org Subject: Re: [gentoo-pms] What is meant by "once the current phase function has returned"? Message-ID: <20090604155003.4f08252f@snowcone> In-Reply-To: <18983.53536.118504.303900@a1ihome1.kph.uni-mainz.de> References: <18983.53536.118504.303900@a1ihome1.kph.uni-mainz.de> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/o8HjL4T.yFAdfken.LgEaIN"; protocol="application/pgp-signature" X-Archives-Salt: 7d2b9ba2-4708-436e-bf70-1a9bd6632fc7 X-Archives-Hash: 75a2c3ded90a4d003e3b2019c432295b --Sig_/o8HjL4T.yFAdfken.LgEaIN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 4 Jun 2009 15:50:24 +0200 Ulrich Mueller wrote: > in the description of several commands (e.g., "has_version" and > "best_version") I find the following sentence: >=20 > ,---- > | Ebuilds must not run any of these commands once the current phase > | function has returned. > `---- >=20 > Can somebody please enlighten me what is meant by this? (The only > explanation I could think of is that the ebuild should not background > the command, but that seems very far-fetched. ;-) Yes, that's what it means. Really I wanted to ban ebuilds from spawning any process that lasts beyond the scope of the phase function, but unfortunately some ebuilds do naughty things with init scripts, so we had to make do with things that query package manager internals... I seem to recall this being discussed on gentoo-dev along with the parallelisation stuff, although I can't seem to find an archives link. --=20 Ciaran McCreesh --Sig_/o8HjL4T.yFAdfken.LgEaIN Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkon3x4ACgkQ96zL6DUtXhHIlwCgjGPwUFFrwnlesNN3fxwelTx8 GywAn0uZ8zPT5GUGktqpwmZyu9SoYL0b =bMMD -----END PGP SIGNATURE----- --Sig_/o8HjL4T.yFAdfken.LgEaIN--