GNU bug report logs -
#27849
[PATCH 0/5] Download the Guile bootstrap tarball via a derivation
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27849 in the body.
You can then email your comments to 27849 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#27849
; Package
guix-patches
.
(Thu, 27 Jul 2017 14:54:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 27 Jul 2017 14:54:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Mon, 28 Aug 2017 22:00:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
bug acknowledged by developer.
(Mon, 28 Aug 2017 22:00:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 27849-done <at> debbugs.gnu.org (full text, mbox):
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’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 26 Sep 2017 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 217 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.