From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: guix build--rounds=N does not behave as expected Date: Mon, 31 Dec 2018 11:39:51 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gduss-0006Z7-Qm for guix-devel@gnu.org; Mon, 31 Dec 2018 05:33:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gduso-0005mT-Kf for guix-devel@gnu.org; Mon, 31 Dec 2018 05:33:22 -0500 Received: from mx1.riseup.net ([198.252.153.129]:52844) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdusk-0005eZ-NE for guix-devel@gnu.org; Mon, 31 Dec 2018 05:33:15 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 51DFA1A01F3 for ; Mon, 31 Dec 2018 02:33:10 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 8F07B106534 for ; Mon, 31 Dec 2018 02:33:09 -0800 (PST) Content-Language: en-US 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: guix-devel Hi Today I took a look at https://www.gnu.org/software/guix/packages/reproducibility.html I then proceeded to try building some of the packages with issues. I failed at first. Why? Because my goal was to build ONLY the offending package, not all of its build dependencies (specifying --no-substitutes results in the latter). How? $ guix build tor --rounds=2 substitute: updating substitutes from 'https://ci.guix.info'... 100.0% substitute: updating substitutes from 'https://ci.guix.info'... 100.0% 3.5 MB will be downloaded: /gnu/store/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9 The following graft will be made: /gnu/store/z3y6kb1j0g5mkkbrzanf8jqs0bimiyfq-tor-0.3.4.9.drv substituting /gnu/store/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9... downloading from https://ci.guix.info/nar/gzip/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9... tor-0.3.4.9 3.4MiB 1.3MiB/s 00:03 [##################] 100.0% applying 1 graft for /gnu/store/z3y6kb1j0g5mkkbrzanf8jqs0bimiyfq-tor-0.3.4.9.drv... grafting '/gnu/store/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9' -> '/gnu/store/2ri08yiksan4gk7nqjxj9vawq8gmp6ip-tor-0.3.4.9'... applying 1 graft for /gnu/store/z3y6kb1j0g5mkkbrzanf8jqs0bimiyfq-tor-0.3.4.9.drv... grafting '/gnu/store/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9' -> '/gnu/store/2ri08yiksan4gk7nqjxj9vawq8gmp6ip-tor-0.3.4.9'... successfully built /gnu/store/z3y6kb1j0g5mkkbrzanf8jqs0bimiyfq-tor-0.3.4.9.drv /gnu/store/2ri08yiksan4gk7nqjxj9vawq8gmp6ip-tor-0.3.4.9 egil@parabola:~$ guix build tor --rounds=2 --no-grafts /gnu/store/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9 I tried also to specify --no-substitutes AFTER having run guix environment tor to make sure I had the substitutes of the build dependencies, but I failed anyway. Did I misunderstand something? Now it worked! I specified --check and --no-grafts and it began to do as I said. I really think we should signal a helpful error to the user if only --rounds=N is specified and --check is missing. -- Cheers Swedebugia