From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: guix build--rounds=N does not behave as expected Date: Mon, 31 Dec 2018 13:27:53 +0100 Message-ID: <87pnthg9ti.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdwuy-0002V9-3W for guix-devel@gnu.org; Mon, 31 Dec 2018 07:43:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdwur-0006Nn-QK for guix-devel@gnu.org; Mon, 31 Dec 2018 07:43:39 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21786) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdwup-0006EV-Qc for guix-devel@gnu.org; Mon, 31 Dec 2018 07:43:33 -0500 In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: swedebugia Cc: guix-devel Hi swedebugia, =E2=80=9Cguix build --rounds=3DN=E2=80=9D builds the package N times if it = hasn=E2=80=99t already been built. With grafts enabled this would be the graft derivation, which isn=E2=80=99t very useful. If the package has previously been built, however, it won=E2=80=99t rebuild= the package. That=E2=80=99s why we have =E2=80=9C--check=E2=80=9D. > I really think we should signal a helpful error to the user if only > --rounds=3DN is specified and --check is missing. Using =E2=80=9C--rounds=E2=80=9D without =E2=80=9C--check=E2=80=9D is corre= ct. There should not be an error or a warning in that case. -- Ricardo