From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: successful installation, but problems updating Date: Fri, 10 Nov 2017 11:28:18 -0500 Message-ID: <20171110162818.GA11031@jasmine.lan> References: <20171106091656.6e775deb@graviton.instanton> <20171106111829.1e07b138@hitpoints.browniehive.net> <87fu9mptdl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDCAK-0007lb-Ew for help-guix@gnu.org; Fri, 10 Nov 2017 11:28:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDCAH-00031K-86 for help-guix@gnu.org; Fri, 10 Nov 2017 11:28:24 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:37495) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eDCAH-0002z9-13 for help-guix@gnu.org; Fri, 10 Nov 2017 11:28:21 -0500 Content-Disposition: inline In-Reply-To: <87fu9mptdl.fsf@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: Chris Marusich Cc: "help-guix@gnu.org" --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Thomas Sigurdsen writes: >=20 > >> Secondly, I noted that with, e.g., 'guix package -i kodi' software gets > >> compiled. I understood that GNU Guix is capable of both binary and > >> source packages. Which should I typically expect? Can I choose? Guix is a build-from-source system that can transparently download pre-compiled binary "substitutes" when they are available, and when this substitution method has been authorized by the user. On GuixSD, it's authorized by default. Here's the documentation of substitution: https://www.gnu.org/software/guix/manual/guix.html#Substitutes If your Guix is relatively up to date [0], you've authorized a substitute server, and you can connect to the European internet, then most things will be substituted. But usually there will be a few things to build from source anyways. You can choose to never use substitutes by de-authorizing all substitute signing keys [1] or by passing --no-substitutes to the guix-daemon or any of the commands that build things [2]. Since Guix is ultimately a build-from-source system, there is currently no way to disable building from source. [...] On Thu, Nov 09, 2017 at 09:58:30PM -0800, Chris Marusich wrote: > Anecdotally, I swear I've seen guix build some things from source even > when I did not specify --fallback. Has anybody else seen that occur? That's expected. If substitutes are enabled, when running a command that builds things, Guix asks the substitute servers what can be substituted. If some thing is not available as a substitute, Guix will build it. However, if a substitute is reported to be available, but then the substitution fails for any reason, Guix will stop. '--fallback' is relevant in this case, and is meant to work around flaky substitute servers, network connections, etc. The documentation says: "When substituting a pre-built binary fails, fall back to building packages locally." [2] Substition is considered to fail when Guix is expecting a substitute but the server returns 404, 504, or some other unexpected problem occurs. It is not considered to fail if the server initially reports that no substitute is available. [0] Not more than a few months behind, I'd guess. [1] https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-archive.ht= ml [2] --no-substitutes and --fallback are "common build options": https://www.gnu.org/software/guix/manual/html_node/Common-Build-Options.html --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAloF054ACgkQJkb6MLrK fwiFbBAAvTQDCtfEdbGRXeZ4SgyylANnWsFnRnD5B0dHn2NHKUMVuGtxS8IU0UbR JMJrhhSyaWJAooaOAllceSE3WBtR58mpiMR6i+7oU5HXJjs+/zvphEHs1+lrvMn9 1/ewnEW0p0v0S4jqOPsVa3Y7SyfPFaFN8MSUUI5hMO2r3PcKXNFsoUkJNafFNAe0 d58r25hK6wDJzhF3a1iADbcgh9rBKQ1S6fgvtxbxlzGiTYVbJJmPG9HUkruE+NAE znnHkxqY2tyY2nCAXMK3aAwT6ubACETvrDvwY5lWpVuVztT915BWMqlzIRjPoV+0 zq606hL6rxPY7qcrcm88KNVabzNy56+YeaZu+Aif0807KGBpLHgHIr8P1l+uJGh2 sY9IMbgxy14a6JR8Dpd0zYdRtw4ANcuyKBpX1icLmrTWpIQ3S24nyNg0FTbRyBro sHo0UzzxAY7hFRLCx6mU641oUuRV/yRnl5Epg7jtLlJxcUrWYYIKjon3DqoTh77U rocYB6+EWg0xSCApp/EWP/2BCFkJ0ySc3k0lDssw1kkq6fviG0J8verNSXGyUvm/ WeBJZu0UW0XieZpb8I6WojEpjxVLzf7kGOV95FxOVb2UsHyB4lVVt2u5NaC3bvwU O3Ga8hnAwQpq6sWri6eXgyLzWRlonkq3q3G48cQ8H2dYCuSmrIc= =LfBh -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--