From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sCjFJbmR0mVPSwAA62LTzQ:P1 (envelope-from ) for ; Mon, 19 Feb 2024 00:24:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sCjFJbmR0mVPSwAA62LTzQ (envelope-from ) for ; Mon, 19 Feb 2024 00:24:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b=FLuddHdk; dmarc=pass (policy=none) header.from=zancanaro.id.au; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708298681; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LXc5ws4GPWkceK4G/F5sIsQOnzAcIttg5nKYBh1NQxc=; b=Rg8hPWu95nzREaQY3wm20CTXWDHNUdI7TwYlEgSwNsUpudFxs9L6k28JKD2tKiq4wL3qoO 5yMs36xlI6F2pQv0dSY46vhw3rABWGIfICdXZQfzCYLYezy1rSmUGEkeHgVHWIp9GFrAk3 uz3ted/bPPM91owJLzbnYgiy7jrs0kdcd1lEykg9l+k0U3UJCljurHrqxvQlYX6FPGVXo9 f/WuJS0EsB8AMkba1arh4rTKHYCob5FkZp0MeXWGmDBUpf/NsMj5MMJUk+4gu+umOHmfe1 BX5EjpNpClBrVi0t0XtxP8c+holnRt+lxADW29+gaGJW6VboVVcwz2FWjeH2KQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b=FLuddHdk; dmarc=pass (policy=none) header.from=zancanaro.id.au; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708298681; a=rsa-sha256; cv=none; b=EOkEVWNY1qudUz3HqbBK+r9auuqz5Ge0lSTI/zLqLBUpUJoKo2vA73Eard4UUPhbYUEdh8 XqqicVxLw5RZzquGwI/Z2FDrpFT81gwBGzDxjAM3zoK5fDq5AcEbv4bRQ36Z7VPweqScMs 1uOR+y3mY6Q/k/KSNJHzbXdlhSpu4mNwnEKdbp/i25BzASp5hi26tyCkuq7zRJ8/UJaAyv TUhpMZLqlHw7f9A8vMVj66JC+++62PrVlIzx4+T9B0gi9ZZ8jr5AgBt33qiLhwitZIqLcj YKyp0fxHkXRiR6FNi1VOuPbSDHjU+KHBfa9R1s0chCurzDTZaQUKDg6E1IeL0g== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 63BD646FFF for ; Mon, 19 Feb 2024 00:24:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbqVw-00083B-Pw; Sun, 18 Feb 2024 18:24:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbqVu-000831-Qu for help-guix@gnu.org; Sun, 18 Feb 2024 18:24:03 -0500 Received: from voltorb.zancanaro.id.au ([45.77.50.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbqVr-0004DX-SP for help-guix@gnu.org; Sun, 18 Feb 2024 18:24:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=LXc5ws4GPWkceK4 G/F5sIsQOnzAcIttg5nKYBh1NQxc=; h=date:references:in-reply-to:subject: cc:to:from; d=zancanaro.id.au; b=FLuddHdkqQGwOZ04ZZD3a7xlKb/ZsWgCEDF+j CaZhM1B6Imxcjo//lItse6lowIYPx8PlsM2mC6sYizYamfn4kqknKB+Lvr0kq4oZfd/moS XHUEBBYkX0lHVbcFTY5pSvOIQi8GMOrACLS3UxMJsBT+5z8DWmq8Pb0tfP83jCWk= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id aa08abc2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 18 Feb 2024 23:23:48 +0000 (UTC) From: Carlo Zancanaro To: Skyler Ferris Cc: help-guix@gnu.org Subject: Re: Proper use of `guix build X --rounds=2` In-Reply-To: <2d797b5b-5bc7-4f68-8287-be148ba6bacd@protonmail.com> (Skyler Ferris's message of "Sun, 18 Feb 2024 19:06:43 +0000") References: <2d797b5b-5bc7-4f68-8287-be148ba6bacd@protonmail.com> Date: Mon, 19 Feb 2024 10:23:50 +1100 Message-ID: <87r0h9gxvd.fsf@zancanaro.id.au> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=45.77.50.64; envelope-from=carlo@zancanaro.id.au; helo=voltorb.zancanaro.id.au X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -10.00 X-Spam-Score: -10.00 X-Migadu-Queue-Id: 63BD646FFF X-Migadu-Scanner: mx13.migadu.com X-TUID: XoaTcPLwPejZ Hi Skyler, On Sun, Feb 18 2024, Skyler Ferris wrote: > Am I using the `--rounds` flag wrong, do I misunderstand this tool, or > is this actually a bug? I'm not sure if this is considered a bug or not, but the solution to your problem is to use --check. Using your test file running: guix build -f test.scm --check should run the build one time, and compare the output with what is in the store. Then: guix build -f test.scm --check --rounds=2 should run the build twice, and check against the output that is already in the store. It's a bit confusing, but --rounds only applies if there is actually a build to do, whereas --check forces a build and compares against the store. Carlo