From unknown Fri Jun 20 18:19:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#27849 <27849@debbugs.gnu.org> To: bug#27849 <27849@debbugs.gnu.org> Subject: Status: [PATCH 0/5] Download the Guile bootstrap tarball via a derivation Reply-To: bug#27849 <27849@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:19:53 +0000 retitle 27849 [PATCH 0/5] Download the Guile bootstrap tarball via a deriva= tion reassign 27849 guix-patches submitter 27849 Ludovic Court=C3=A8s severity 27849 normal tag 27849 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 27 10:53:23 2017 Received: (at submit) by debbugs.gnu.org; 27 Jul 2017 14:53:24 +0000 Received: from localhost ([127.0.0.1]:58784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dakAC-0004xa-5x for submit@debbugs.gnu.org; Thu, 27 Jul 2017 10:53:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dakA8-0004xM-Qh for submit@debbugs.gnu.org; Thu, 27 Jul 2017 10:53:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dakA2-0004Vh-JZ for submit@debbugs.gnu.org; Thu, 27 Jul 2017 10:53:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48712) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dakA2-0004Vb-Go for submit@debbugs.gnu.org; Thu, 27 Jul 2017 10:53:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dakA1-0003YE-2P for guix-patches@gnu.org; Thu, 27 Jul 2017 10:53:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dakA0-0004UU-4R for guix-patches@gnu.org; Thu, 27 Jul 2017 10:53:09 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dak9u-0004SQ-7X; Thu, 27 Jul 2017 10:53:02 -0400 Received: from [193.50.110.224] (port=46348 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dak9t-0002Ut-Ou; Thu, 27 Jul 2017 10:53:02 -0400 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: guix-patches@gnu.org Subject: [PATCH 0/5] Download the Guile bootstrap tarball via a derivation Date: Thu, 27 Jul 2017 16:52:50 +0200 Message-Id: <20170727145250.3545-1-ludo@gnu.org> X-Mailer: git-send-email 2.13.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 28 17:59:26 2017 Received: (at 27849-done) by debbugs.gnu.org; 28 Aug 2017 21:59:26 +0000 Received: from localhost ([127.0.0.1]:59788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmS46-0005KD-3f for submit@debbugs.gnu.org; Mon, 28 Aug 2017 17:59:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmS43-0005K1-VW for 27849-done@debbugs.gnu.org; Mon, 28 Aug 2017 17:59:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmS3x-0003OF-Vx for 27849-done@debbugs.gnu.org; Mon, 28 Aug 2017 17:59:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmS3x-0003O5-Sb for 27849-done@debbugs.gnu.org; Mon, 28 Aug 2017 17:59:17 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=42174 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dmS3x-0001cj-AC for 27849-done@debbugs.gnu.org; Mon, 28 Aug 2017 17:59:17 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: 27849-done@debbugs.gnu.org Subject: Re: [bug#27849] [PATCH 0/5] Download the Guile bootstrap tarball via a derivation References: <20170727145250.3545-1-ludo@gnu.org> Date: Mon, 28 Aug 2017 23:59:14 +0200 In-Reply-To: <20170727145250.3545-1-ludo@gnu.org> ("Ludovic \=\?utf-8\?Q\?Cour\?\= \=\?utf-8\?Q\?t\=C3\=A8s\=22's\?\= message of "Thu, 27 Jul 2017 16:52:50 +0200") Message-ID: <87inh7uzf1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27849-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Ludovic Court=C3=A8s 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 =E2=80=98core-updates=E2=80=99 branch! Ludo=E2=80=99. From unknown Fri Jun 20 18:19:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 26 Sep 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator