all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: 24993@debbugs.gnu.org, Christopher Howard <christopher@alaskasi.com>
Subject: bug#24993: System installer grows brittle with time
Date: Tue, 29 Nov 2016 15:42:42 +0100	[thread overview]
Message-ID: <87oa0y5ov1.fsf@gnu.org> (raw)
In-Reply-To: <20161129023336.GB21607@jasmine> (Leo Famulari's message of "Mon, 28 Nov 2016 21:33:36 -0500")

Leo Famulari <leo@famulari.name> skribis:

> 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 not a fan of this, for the reasons you gave.

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

Right.

A solution that some suggested before (but for other reasons) would be
to include more packages on the installation image.

The image is currently slightly below 1G, but we could add binaries for
GTK+, Python, and a few other relevant packages.  We’d need to find out
what makes sense and how much extra space it would take.

> this become less pressing when we have more storage space and can store
> substitutes for a longer period?

True.

The mirror has room to store things for a long period of time, but
there’s a subtle problem with non-deterministic builds: the mirror might
cache a narinfo and the corresponding nar, then the narinfo leaves the
cache, then a new narinfo is fetched from hydra.gnu.org, and at this
point the mirror has a narinfo advertising a hash that doesn’t match
that of its nar.

Of course the solution to this is reproducible builds, but the fact is
that we still have a bunch of non-reproducible packages.

I recently lowered narinfo caching time in the mirror because of that:

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

… but that’s not great since it means the mirror can lose narinfos
quickly, even though it has enough room to store them.

Ideas?

Ludo’.

  parent reply	other threads:[~2016-11-29 14:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-22 22:25 bug#24993: Documentation: 'guix pull' needed during SD installation Christopher Howard
2016-11-23  4:46 ` Leo Famulari
2016-11-23 16:46   ` Christopher Howard
2016-11-23 17:25     ` Christopher Howard
2016-11-23 20:29       ` Leo Famulari
2016-11-28 17:45         ` Christopher Howard
2016-11-29  2:33           ` bug#24993: System installer grows brittle with time Leo Famulari
2016-11-29  8:44             ` Efraim Flashner
2016-11-29  9:17               ` David Craven
2016-11-29 14:44                 ` Ludovic Courtès
2016-11-29 14:42             ` Ludovic Courtès [this message]
2017-11-12 20:30         ` bug#24993: System installer grows brittle as substitutes for the release disappear Ludovic Courtès
2017-11-12 20:49           ` Leo Famulari

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=87oa0y5ov1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=24993@debbugs.gnu.org \
    --cc=christopher@alaskasi.com \
    --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.