GNU bug report logs - #27849
[PATCH 0/5] Download the Guile bootstrap tarball via a derivation

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Thu, 27 Jul 2017 14:54:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#27849: closed ([PATCH 0/5] Download the Guile bootstrap
 tarball via a derivation)
Date: Mon, 28 Aug 2017 22:00:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 28 Aug 2017 23:59:14 +0200
with message-id <87inh7uzf1.fsf <at> gnu.org>
and subject line Re: [bug#27849] [PATCH 0/5] Download the Guile bootstrap tarball via a derivation
has caused the debbugs.gnu.org bug report #27849,
regarding [PATCH 0/5] Download the Guile bootstrap tarball via a derivation
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
27849: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27849
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [PATCH 0/5] Download the Guile bootstrap tarball via a derivation
Date: Thu, 27 Jul 2017 16:52:50 +0200
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



[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: 27849-done <at> debbugs.gnu.org
Subject: Re: [bug#27849] [PATCH 0/5] Download the Guile bootstrap tarball via
 a derivation
Date: Mon, 28 Aug 2017 23:59:14 +0200
Ludovic Courtès <ludo <at> gnu.org> 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’.


This bug report was last modified 7 years and 269 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.