Subject: bug#27849: closed (Re: [bug#27849] [PATCH 0/5] Download the Guile bootstrap tarball via a derivation)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 28 Aug 2017 22:00:02 +0000

Your bug report

#27849: [PATCH 0/5] Download the Guile bootstrap tarball via a derivation

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
27849: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27849
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#27849] [PATCH 0/5] Download the Guile bootstrap tarball via a derivation
From: [email-masked] (Ludovic Courtès)
To: [email-masked]
Date: Mon, 28 Aug 2017 23:59:14 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès <[email-masked]> skribis:

> This patch series is a followup:
>
>   1. It removes backward-compatibility code in (guix download), thereby
>      assuming guix-daemon supports the "download" built-in builder.
>
>   2. It downloads the Guile bootstrap tarball via a fixed-output
>      derivation, and thus removes the Makefile targets that were
>      responsible for downloading this until now.

Pushed to a brand new ‘core-updates’ branch!

Ludo’.

Subject: [PATCH 0/5] Download the Guile bootstrap tarball via a derivation
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Cc: Ludovic Courtès <[email-masked]>
Date: Thu, 27 Jul 2017 16:52:50 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

In Nov. 2016 we added the "download" built-in builder, meaning that the
daemon can perform downloads on behalf of clients:

  https://bugs.gnu.org/22774

This patch series is a followup:

  1. It removes backward-compatibility code in (guix download), thereby
     assuming guix-daemon supports the "download" built-in builder.

  2. It downloads the Guile bootstrap tarball via a fixed-output
     derivation, and thus removes the Makefile targets that were
     responsible for downloading this until now.

With this change, bootstrapping is somewhat simplified since now
(almost) everything is a derivation.  The Guile bootstrap tarballs for
the supported architectures no longer need to be installed, which saves
14 MiB on the installed ‘guix’ package:

--8<---------------cut here---------------start------------->8---
$ du -msc $(guix build guix)/share/guile/site/2.2/gnu/packages/bootstrap/*/guile*
3	/gnu/store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/share/guile/site/2.2/gnu/packages/bootstrap/aarch64-linux/guile-2.0.14.tar.xz
3	/gnu/store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/share/guile/site/2.2/gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz
3	/gnu/store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/share/guile/site/2.2/gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
3	/gnu/store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/share/guile/site/2.2/gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz
3	/gnu/store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/share/guile/site/2.2/gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz
14	totalo
--8<---------------cut here---------------end--------------->8---

After that we still have a few statically-linked binaries in
gnu/packages/bootstrap.  Perhaps we’ll remove them eventually by adding
an “extract” builder or similar.

These patches are for the next ‘core-updates’.

Ludo’.

Ludovic Courtès (5):
  download: Assume the "download" built-in builder is available.
  gnu: guile-bootstrap: Use a fixed-output derivation to download.
  gnu: bootstrap: Prefer HTTPS for downloads.
  build: Remove code to download the Guile bootstrap tarball.
  gnu: guix: Factorize downloads of bootstrap tarball.

 Makefile.am                         |   3 +-
 build-aux/download.scm              |  73 -----------------------
 build-aux/test-env.in               |  16 +++++-
 gnu/local.mk                        |  49 ----------------
 gnu/packages/bootstrap.scm          |  83 +++++++++++++++++++-------
 gnu/packages/package-management.scm |  43 ++++----------
 guix/download.scm                   | 112 ++++++------------------------------
 7 files changed, 107 insertions(+), 272 deletions(-)
 delete mode 100644 build-aux/download.scm

-- 
2.13.3