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 1PiKBg-0004Yj-VB for garchives@archives.gentoo.org; Thu, 27 Jan 2011 05:14:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 207A4E0AF1; Thu, 27 Jan 2011 05:12:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DF490E0AF1 for ; Thu, 27 Jan 2011 05:12:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 7CC181B41B6 for ; Thu, 27 Jan 2011 05:12:36 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -2.876 X-Spam-Level: X-Spam-Status: No, score=-2.876 required=5.5 tests=[AWL=-0.277, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jQSlyGaj+4nM for ; Thu, 27 Jan 2011 05:12:30 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 0E0EB1B41AF for ; Thu, 27 Jan 2011 05:12:27 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PiK9h-0005Mt-QK for gentoo-user@gentoo.org; Thu, 27 Jan 2011 06:12:25 +0100 Received: from athedsl-377134.home.otenet.gr ([79.131.25.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2011 06:12:25 +0100 Received: from realnc by athedsl-377134.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2011 06:12:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies Date: Thu, 27 Jan 2011 07:12:24 +0200 Organization: Lucas Barks Message-ID: References: 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-377134.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110126 Thunderbird/3.1.7 In-Reply-To: X-Archives-Salt: X-Archives-Hash: 36a0380ac929d83d14b31aee897b2401 On 01/26/2011 02:12 PM, PK wrote: > Hi, > > Is there any way to simultaneously emerge multiple packages (multiple > instances of 'emerge') that share common dependencies ? > > I'm aware that portage uses locking mechanism before modifying 'world' > file, but what about the actual building process ? I'd expect emerge to > check if dependency package is already build/installed (or currently > being build by another instance) and just skip it in this case, however > I haven't tried it yet.. Can anybody shred some light on this ? You can try, but the second instance with simply block until the lock has been removed. I'm not aware of any package system that supports this. I don't think adding support for this justifies the added complexity.