From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Sigurdsen Subject: Re: how to install from binary Date: Mon, 13 Nov 2017 01:36:33 +0100 Message-ID: <20171113013633.7e279224@hitpoints.browniehive.net> References: <1510525836.2397.1.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eE2jy-0005JA-C2 for help-guix@gnu.org; Sun, 12 Nov 2017 19:36:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eE2jv-00028x-98 for help-guix@gnu.org; Sun, 12 Nov 2017 19:36:42 -0500 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:56261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eE2jv-00028L-2b for help-guix@gnu.org; Sun, 12 Nov 2017 19:36:39 -0500 Received: by mail-wm0-x229.google.com with SMTP id 9so6465966wme.4 for ; Sun, 12 Nov 2017 16:36:38 -0800 (PST) In-Reply-To: <1510525836.2397.1.camel@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Mason Hock Cc: help-guix@gnu.org Hello, there has been a long thread recently clarifying a lot around guix, builds and substitutions. Explore the thread for lots of clarifying info: https://lists.gnu.org/archive/html/help-guix/2017-11/msg00009.html But in short summary: Guix is a build from source system and the substitutes are possible and sometime available because of the functional aspect. As I understand it, the substitutes are often (and randomly) not available because of difficulty of scheduling and storage on the build farm (hydra). So guix will often build things, even if you want substitutes. Take my word with a grain of salt. And Welcome! :) On Sun, 12 Nov 2017 14:30:36 -0800 Mason Hock wrote: > Guix seems to be building everything from source, which can take a > while. As per these instructions I tried > > # cd [prefix]/share/guix/hydra.gnu.org.pub > # guix archive --authorize < hydra.gnu.org.pub > and got > > guile: warning: failed to install locale > warning: failed to install locale: Invalid argument > > with no other output. I get that error almost every time I try to do > something with Guix and it usually works anyway. Since I got no other > errors I just kept going with > > $ guix build emacs --dry-run > > and got "The following derivations would be built:" so apparently it > did not work. > > During an installation I do see a lot of "updating list of substitutes" > messages, but I also frequently see the word "build" and a lot of .c > and .h files go by, which combined with the long installation time > makes me doubt that it is actually downloading binaries from the > substitutes and installing them. >