From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#25752: Acknowledgement (go incremental builds broken) Date: Sat, 25 Feb 2017 10:58:14 -0500 Message-ID: <20170225155814.GB3227@jasmine> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chekV-0006hU-88 for bug-guix@gnu.org; Sat, 25 Feb 2017 10:59:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chekR-00074n-9y for bug-guix@gnu.org; Sat, 25 Feb 2017 10:59:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57713) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chekQ-00074Q-BL for bug-guix@gnu.org; Sat, 25 Feb 2017 10:59:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1chekP-0001aU-V9 for bug-guix@gnu.org; Sat, 25 Feb 2017 10:59:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Hank Donnay Cc: 25752@debbugs.gnu.org On Fri, Feb 24, 2017 at 02:50:10PM -0500, Hank Donnay wrote: > After talking on IRC, it seems like grafts are the problem. Adding > `--no-grafts` to the above commands has them succeed. > > The GOROOT (store location, in this case) gets encoded in the > generated source by the 'dist' tool, so changing that is going to > cause issues. > > Is there a way to disable grafts on a per-package basis, in the definition? You can disable them on the command-line for any tool that builds things, using the '--no-grafts' option, which is a "Common build option" [0]. For example, `guix environment --ad-hoc go --no-grafts`. If you do this, you should understand that the ungrafted Go package will contain some serious security vulnerabilities, since we only use grafts to fix vulnerabilities in core packages. [1] We should figure out why this issue manifests when go is grafted, and fix the root cause. [0] https://www.gnu.org/software/guix/manual/html_node/Common-Build-Options.html [1] https://www.gnu.org/software/guix/manual/html_node/Security-Updates.html