all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: Leo Famulari <leo@famulari.name>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: successful installation, but problems updating
Date: Fri, 10 Nov 2017 15:30:22 -0800	[thread overview]
Message-ID: <8760ahpv8x.fsf@gmail.com> (raw)
In-Reply-To: <20171110162818.GA11031@jasmine.lan> (Leo Famulari's message of "Fri, 10 Nov 2017 11:28:18 -0500")


[-- Attachment #1.1: Type: text/plain, Size: 761 bytes --]

Hi Leo,

Leo Famulari <leo@famulari.name> writes:

> 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.

Thank you for the clarification.  This is what I did not understand.  I
read the manual and got the impression that when --fallback has not been
given, if a given substitute cannot be found (regardless of whether or
not a substitute server claimed to provide one), then Guix will not
build it.  I see now that my understanding was mistaken.

I've attached a patch which tries to clarify this in the manual.  What
do you think of it?

-- 
Chris

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-doc-Clarify-the-fallback-option.patch --]
[-- Type: text/x-patch, Size: 1336 bytes --]

From ce8c53bffa2f79f680f9b27bcb494a4fadb4038c Mon Sep 17 00:00:00 2001
From: Chris Marusich <cmmarusich@gmail.com>
Date: Fri, 10 Nov 2017 15:19:16 -0800
Subject: [PATCH] doc: Clarify the --fallback option.

* doc/guix.texi (Common Build Options): Describe --fallback in more detail.
  In particular, call out the fact that local builds can still happen even
  when --fallback is omitted.
---
 doc/guix.texi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index b7f4f88f9..40705c4b8 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -5159,7 +5159,13 @@ Do not build the derivations.
 
 @item --fallback
 When substituting a pre-built binary fails, fall back to building
-packages locally.
+locally.  This affects behavior only when substitutes are enabled and
+Guix is building a derivation for which a substitute is known.  When
+@code{--fallback} is omitted, the build will fail if substitution fails.
+However, when @code{--fallback} is given, Guix will try to build the
+derivation locally if substitution fails.  When substitutes are not
+enabled or Guix is building a derivation for which a substitute is not
+known, a local build will always be performed.
 
 @item --substitute-urls=@var{urls}
 @anchor{client-substitute-urls}
-- 
2.14.2


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2017-11-10 23:30 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-06  8:16 successful installation, but problems updating Marco van Hulten
2017-11-06  9:43 ` Carlo Zancanaro
2017-11-06 20:06   ` Marco van Hulten
2017-11-07  9:20     ` Ludovic Courtès
2017-11-07 10:58       ` Marco van Hulten
2017-11-08  1:37       ` Marco van Hulten
2017-11-09  7:45         ` Marco van Hulten
2017-11-09 13:19         ` Ludovic Courtès
2017-11-09 19:27           ` Marco van Hulten
2017-11-09 20:46             ` Marco van Hulten
2017-11-09 20:53               ` Mathieu Othacehe
2017-11-10  7:26                 ` Marco van Hulten
2017-11-10 16:35                   ` Leo Famulari
2017-11-11 22:23                     ` Marco van Hulten
2017-11-12  1:26                       ` Leo Famulari
2017-11-06 10:18 ` Thomas Sigurdsen
2017-11-10  5:58   ` Chris Marusich
2017-11-10  7:23     ` Carlo Zancanaro
2017-11-10 16:28     ` Leo Famulari
2017-11-10 23:30       ` Chris Marusich [this message]
2017-11-11 15:29         ` myglc2
2017-11-11 17:05           ` Chris Marusich
2017-11-11 18:06             ` myglc2
2017-11-12  1:29           ` Leo Famulari
2017-11-12  3:36             ` myglc2
2017-11-12  4:45               ` Leo Famulari
2017-11-12 11:10                 ` Chris Marusich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760ahpv8x.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.