From patchwork Mon Apr 27 18:20:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Bakke X-Patchwork-Id: 21683 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C010E27BBE4; Mon, 27 Apr 2020 19:21:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 013D427BBE1 for ; Mon, 27 Apr 2020 19:21:30 +0100 (BST) Received: from localhost ([::1]:57522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT8Nl-0007Ly-9G for patchwork@mira.cbaines.net; Mon, 27 Apr 2020 14:21:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35428) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT8NN-0007HG-JQ for guix-patches@gnu.org; Mon, 27 Apr 2020 14:21:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT8NK-0002QV-Kz for guix-patches@gnu.org; Mon, 27 Apr 2020 14:21:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jT8NK-0002PI-7k for guix-patches@gnu.org; Mon, 27 Apr 2020 14:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jT8NK-0004Ui-4W for guix-patches@gnu.org; Mon, 27 Apr 2020 14:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40908] [PATCH core-updates 0/5] Use Guile 3.0 in the initrd Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Apr 2020 18:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40908 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40908@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158801164917247 (code B ref -1); Mon, 27 Apr 2020 18:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2020 18:20:49 +0000 Received: from localhost ([127.0.0.1]:38074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT8N4-0004U4-En for submit@debbugs.gnu.org; Mon, 27 Apr 2020 14:20:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:35327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT8Mw-0004Tq-VU for submit@debbugs.gnu.org; Mon, 27 Apr 2020 14:20:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35356) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT8Mv-0006dy-8D for guix-patches@gnu.org; Mon, 27 Apr 2020 14:20:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT8Mr-0001TA-Aj for guix-patches@gnu.org; Mon, 27 Apr 2020 14:20:37 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:55623) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jT8Mq-0001EJ-Fy for guix-patches@gnu.org; Mon, 27 Apr 2020 14:20:32 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 6D8D476C for ; Mon, 27 Apr 2020 14:20:29 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 27 Apr 2020 14:20:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=fm2; bh=jQc9hKr22dKEq9rIjYinjfuA9+ eT6ohNqp3vC+gC+Vs=; b=JWOcHrXYXrRtE0Jah0CN9I3yec+P+o6n+hc/OO+A7z 63ekCxc3QOtuhUSfiMa56vKNWdqS5us/hAytX1nqzjJhN9UOYMVdver09xi63JvJ VHOBwZOFyLvtD6pReaaFI4ZM+etSRfTitw87F91nTWV4JTvCjOI7dThwNQ2P6DyQ vRBX6wwkVDWz1HNZmwM3IUF0kcUiEvv62L7SwxE7NuBT+nLXBfLrJmTWf/7jvSnF R7vl8ZFVMdIl3hjZqUJLrnErT/wS398nypfHhBKe6rfZ/csf4ewJg/h2qQibRKjJ 3u9FUYHzr8HWFQx53xZrSB/T1Hy0t2CQZZ1vYywOf5oA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=jQc9hKr22dKEq9rIj YinjfuA9+eT6ohNqp3vC+gC+Vs=; b=af8kTI0dyp/A8ZtDdTRRjA5jtRREdyB54 dHsIajkF+78LnWO4txngVI+phmQJqEpQxIemdlEsVUNstTvVFmJJazWTO9abI0de KG7GmKDVB2Iv1x+NBhzmZlYehye4EUm0tBANHunUqEqECNQg3/J3S8tRS+qhYrb3 aaT0fVa97IxjanmA4p1E8DHBU9GFJ7PHYOX2xY0mudPQMefYfclB5Wcb0CNYCa9v oER8oRm5yxwVQeacK0XCr3nER8P8LKxSvb51xVI+J05w8OC3XK8vhGnRX2PR4Mre fLHP0uq3uFqavsXHhSK2x6jKw5Fq6fQUiGYpleZ1mF0jqQtF6NhHg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrheelgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhm rghilhdrtghomheqnecukfhppeekgedrvddtvddrieekrdejheenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgr ihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id AC4AA3065E77 for ; Mon, 27 Apr 2020 14:20:28 -0400 (EDT) From: Marius Bakke Date: Mon, 27 Apr 2020 20:20:27 +0200 Message-Id: <20200427182027.27813-1-mbakke@fastmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Received-SPF: pass client-ip=64.147.123.25; envelope-from=mbakke@fastmail.com; helo=wout2-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/27 14:20:29 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Guix, These patches changes the initrd to use Guile 3.0. By default it uses %GUILE-STATIC-STRIPPED from (gnu packages make-bootstrap), which on the core-updates branch refers to Guile 2.0. It is suboptimal to define this new static Guile variant straight in (gnu system linux-initrd), but adding it to (gnu packages guile) would cause a cyclic module reference with (gnu packages make-bootstrap). WDYT? Marius Bakke (5): gnu: %guile-static: Rewrite in terms of 'make-guile-static'. gnu: %guile-static-stripped: Rewrite in terms of 'make-guile-static-stripped'. gnu: make-bootstrap: Export MAKE-GUILE-STATIC and MAKE-GUILE-STATIC-STRIPPED. linux-initrd: Use Guile 3.0. gnu: make-bootstrap: Do not export %GUILE-STATIC-STRIPPED. gnu/local.mk | 7 +- gnu/packages/make-bootstrap.scm | 161 ++++---- .../patches/guile-2.2-default-utf8.patch | 82 ++++ .../patches/guile-3.0-linux-syscalls.patch | 353 ++++++++++++++++++ .../patches/guile-3.0-relocatable.patch | 79 ++++ gnu/system/linux-initrd.scm | 10 +- 6 files changed, 611 insertions(+), 81 deletions(-) create mode 100644 gnu/packages/patches/guile-2.2-default-utf8.patch create mode 100644 gnu/packages/patches/guile-3.0-linux-syscalls.patch create mode 100644 gnu/packages/patches/guile-3.0-relocatable.patch