From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 054D8139083 for ; Sun, 3 Dec 2017 04:15:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B552EE0FDA; Sun, 3 Dec 2017 04:15:27 +0000 (UTC) Received: from cp253.sp-server.net (cp253.sp-server.net [195.30.108.253]) (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 40C58E0FC4 for ; Sun, 3 Dec 2017 04:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=baums-on-web.de; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:To:From:Date:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=C2p1iju9ZqXTN5ICPAINVulSNzmrkbrqMNIuZ6ln2AU=; b=Jp7UTNW/8AOnsarbN0Y1BmlSD6 hgQssPfmrT1TbX8rZKpD3tYQvpJbw+NgWy5EJeFDNSo5ARoD3Kyw6jM6BaNnpW2A+x4yYc8GP3y6p IKF6PzMOlTvFUZdP8cp3YjqbxvLmJuP/XjVR+1DN7EhJqqBzhxuE317SQU0kcamd0sFIYEXVZcS/u lApANkzrm/zQv1rTQribrikYFGuQ7IjavRVejP5IiHQk0QHahhYigE0o5EqoxlSdjlzyK+39siqQL vHfvc+Hbh7uChn5aLp7B8/XV0K8hOY9t1Ia9by8mEChoQthWD/5SrMB6XnaHDujalR5MXWGxVZnM3 Fx7Rcdvg==; Received: from ip-178-202-40-64.hsi09.unitymediagroup.de ([178.202.40.64]:35600 helo=lexx) by cp253.sp-server.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eLLgb-0002oZ-Dg for gentoo-user@lists.gentoo.org; Sun, 03 Dec 2017 05:15:25 +0100 Date: Sun, 3 Dec 2017 05:15:25 +0100 From: Heiko Baums To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] New profile 17: How urgent is the rebuild of world technically? Message-ID: <20171203051525.4c91fafd@lexx> In-Reply-To: <20171203034559.qlwbla6hvkjnpn32@solfire> References: <20171203021528.xmulbskbadhglyda@solfire> <73314087-5fa1-d75f-8a2e-a74857026f9c@gentoo.org> <20171203032655.tg6xodvlb3i5xpm3@solfire> <20171203043531.28dd18bb@lexx> <20171203034559.qlwbla6hvkjnpn32@solfire> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; armv7l-unknown-linux-gnueabihf) 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=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp253.sp-server.net X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - baums-on-web.de X-Get-Message-Sender-Via: cp253.sp-server.net: authenticated_id: lists@baums-on-web.de X-Authenticated-Sender: cp253.sp-server.net: lists@baums-on-web.de X-Source: X-Source-Args: X-Source-Dir: X-Archives-Salt: a29eaa6b-bc9a-43ae-a52e-10973b5f9ac0 X-Archives-Hash: 751da735a5016b95b93c1ced61811f2b Am Sun, 3 Dec 2017 04:45:59 +0100 schrieb tuxic@posteo.de: > Suppose one would do an emerge @world...and then BOOOM! a powerfailyre > would stop the whole thing. In such a case you should consider buying a UPS. Can't you do this over night or a weekend? And how often do you have a power failure? > Further suppose the filesystem, the > hardware and anything has survived luckily -- only emerge @world needs > to be restarted. > And one does NOT an emerge --resume but an emerge @world. If I'm not mistaken in this case an `emerge --resume` should be the right thing. It usually resumes the last interrupted emerge command. That is if you run `emerge -e @world` press Ctrl-C `emerge --resume` should resume this previous started `emerge -e @world` including the package which was built when it was interrupted. Ctrl-C is principally the same as a power failure. If this fails for some reason then you'd have to rerun the whole `emerge -e @world` I guess. > In this particular case...how does emerge knows from the previous > emerge @world what packages has been recompiled already and are "PIE"? Like I said before. emerge always calculates the dependency tree, which is a lot faster in case of `emerge -e @world` than in case of `emerge -uDN @world`. And then it knows which packages have already been installed and which are not. That said I haven't run an `emerge -e @world` before. So I'm actually not sure if this works the same way as with an `emerge -uDN @world`. Heiko