From mboxrd@z Thu Jan  1 00:00:00 1970
From: Leo Famulari <leo@famulari.name>
Subject: bug#24993: System installer grows brittle with time
Date: Mon, 28 Nov 2016 21:33:36 -0500
Message-ID: <20161129023336.GB21607@jasmine>
References: <7d52d8ee-c253-685b-1871-f908850ee606@alaskasi.com>
	<20161123044607.GA23298@jasmine>
	<0cf83259-2c5d-ae51-5697-02299251051c@alaskasi.com>
	<db559227-d563-aa95-7e60-a7d2fd74d756@alaskasi.com>
	<20161123202911.GA3616@jasmine>
	<9ffdf0e5-a584-adb6-91ce-271a507bb14c@alaskasi.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Return-path: <bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35682)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1cBYFC-0002pC-Si
	for bug-guix@gnu.org; Mon, 28 Nov 2016 21:34:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1cBYF8-0005gX-SW
	for bug-guix@gnu.org; Mon, 28 Nov 2016 21:34:06 -0500
Received: from debbugs.gnu.org ([208.118.235.43]:58268)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1cBYF8-0005gM-NZ
	for bug-guix@gnu.org; Mon, 28 Nov 2016 21:34:02 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1cBYF8-0004Gl-C4
	for bug-guix@gnu.org; Mon, 28 Nov 2016 21:34:02 -0500
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-Message-ID: <handler.24993.B24993.148038682016380@debbugs.gnu.org>
Content-Disposition: inline
In-Reply-To: <9ffdf0e5-a584-adb6-91ce-271a507bb14c@alaskasi.com>
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
	<mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-guix/>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
	<mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org
Sender: "bug-Guix" <bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org>
To: Christopher Howard <christopher@alaskasi.com>
Cc: 24993@debbugs.gnu.org

On Mon, Nov 28, 2016 at 08:45:39AM -0900, Christopher Howard wrote:
> I was able to make more progress with the --substitute-urls=... option
> you mentioned. However, later, when the system is building the
> gnupg-2.1.13 drv (I did not pass --fallback, but it still builds stuff)
> one of the 36 check tests fails ("tofu.test"), causing the build to fail.

It will build stuff if it can't find a substitute (not an error).
'--fallback' is only required when substitution fails (an error).

That particular test failure was a bug in GnuPG's test suite that we
worked around:

http://git.savannah.gnu.org/cgit/guix.git/commit/?id=d404a6f9711c8dcc1cc6cf55d8c07901aa450192

Code with an expiration date is very annoying!

It sounds like you will need to use `guix pull`.

What do others think? Should we mention `guix pull` in the installation
documentation?

I'm skeptical for reasons described upthread. I think the real bug is
that the installation image becomes brittle as time passes (so I changed
the subject of my reply).

Does anyone have ideas to mitigate this? Can we tweak the mirrors? Will
this become less pressing when we have more storage space and can store
substitutes for a longer period?