From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oHIgLPpy918JCAAA0tVLHw (envelope-from ) for ; Thu, 07 Jan 2021 20:45:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6Mj+J/py91+DWgAAbx9fmQ (envelope-from ) for ; Thu, 07 Jan 2021 20:45:46 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 444699403D2 for ; Thu, 7 Jan 2021 20:45:46 +0000 (UTC) Received: from localhost ([::1]:50670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxcAB-000585-JE for larch@yhetil.org; Thu, 07 Jan 2021 15:45:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxc9X-00056l-Kr for bug-guix@gnu.org; Thu, 07 Jan 2021 15:45:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxc9V-0002iO-Qr for bug-guix@gnu.org; Thu, 07 Jan 2021 15:45:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxc9V-0002xy-OM for bug-guix@gnu.org; Thu, 07 Jan 2021 15:45:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45654: [PATCH 1/1] gnu: qemu-binfmt-service-type: Change 'guix-support?' default to #t. Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 Jan 2021 20:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45654 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 45654-submit@debbugs.gnu.org id=B45654.161005227511336 (code B ref 45654); Thu, 07 Jan 2021 20:45:01 +0000 Received: (at 45654) by debbugs.gnu.org; 7 Jan 2021 20:44:35 +0000 Received: from localhost ([127.0.0.1]:48761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxc95-0002wl-AD for submit@debbugs.gnu.org; Thu, 07 Jan 2021 15:44:35 -0500 Received: from smtpout2.vodafonemail.de ([145.253.239.133]:59142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxc8z-0002wI-6k for 45654@debbugs.gnu.org; Thu, 07 Jan 2021 15:44:33 -0500 Received: from smtp.vodafone.de (unknown [10.2.0.32]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 91FB2127360; Thu, 7 Jan 2021 21:44:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-smtpout-mb-15sep; t=1610052263; bh=7jSgQt/Kq8dvJyBN66gFeCCHtSC8FdjuE7v+iBhWw+w=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=Ohhz7AauHrndRzzlaaoWmDlh7v1kic0zaOm1ieilkK9XeFNps+iKK4Nszxp6r8a96 zN5Ew56GNOybeb7NvQPuRKZ89+g37IRSH0QOwf8p9dysjajZA8SR7vSKPNj37y74dL k5oqCwFnxFCXiGgDBgsUlnzr8bD7EPG3G+ZImb4w= Received: from macbook-pro.kuh-wiese.my-router.de (dslb-002-206-141-230.002.206.pools.vodafone-ip.de [2.206.141.230]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 598CA61765; Thu, 7 Jan 2021 20:44:23 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Stefan In-Reply-To: <87pn2hjgt5.fsf@gnu.org> Date: Thu, 7 Jan 2021 21:44:22 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <780E2538-D765-456F-9D81-FF1A9C9B3C13@vodafonemail.de> <87v9cami5j.fsf@gnu.org> <87pn2ikxc8.fsf@gnu.org> <97F6E0D3-9E54-4290-9743-03A275838F53@vodafonemail.de> <87pn2hjgt5.fsf@gnu.org> X-Mailer: Apple Mail (2.3124) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 2470 X-purgate-ID: 155817::1610052263-0000068B-1A650233/0/0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45654@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.35 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=vodafonemail.de header.s=vfde-smtpout-mb-15sep header.b=Ohhz7Aau; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 444699403D2 X-Spam-Score: -0.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: +OOg42ClrySr * gnu/services/virtualization.scm = (qemu-binfmt-service-type)[guix-support?]: Change the default from #f to #t. * doc/guix.texi (Transparent Emulation with QEMU): Change the default of =E2=80=98guix-support?=E2=80=99 from #f to #t. Describe the implication = of setting it to #f. --- doc/guix.texi | 8 +++++++- gnu/services/virtualization.scm | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 884224fce6..3a22709821 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -27221,7 +27221,7 @@ This is the configuration for the = @code{qemu-binfmt} service. The list of emulated QEMU platforms. Each item must be a = @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below). =20 -@item @code{guix-support?} (default: @code{#f}) +@item @code{guix-support?} (default: @code{#t}) When it is true, QEMU and all its dependencies are added to the build environment of @command{guix-daemon} (@pxref{Invoking guix-daemon, @option{--chroot-directory} option}). This allows the = @code{binfmt_misc} @@ -27250,6 +27250,12 @@ build}, transparently using QEMU to emulate the = ARMv7 CPU. Pretty handy if you'd like to test a package build for an architecture you don't = have access to! =20 +When @code{guix-support?} is set to @code{#f}, then of course programs = for +other architectures can still be executed transparently, but invoking = commands +like @command{guix build -s armhf-linux inksake} will fail with an = unobvious +error that @command{guile} cannot be executed. However, the build = environment +of @command{guix-daemon} then needs less store items. + @item @code{qemu} (default: @code{qemu}) The QEMU package to use. @end table diff --git a/gnu/services/virtualization.scm = b/gnu/services/virtualization.scm index f435630faf..2f5a258bfe 100644 --- a/gnu/services/virtualization.scm +++ b/gnu/services/virtualization.scm @@ -717,7 +717,7 @@ potential infinite waits blocking libvirt.")) (platforms qemu-binfmt-configuration-platforms (default '())) ;safest default (guix-support? qemu-binfmt-configuration-guix-support? - (default #f))) + (default #t))) =20 (define (qemu-platform->binfmt qemu platform) "Return a gexp that evaluates to a binfmt string for PLATFORM, using = the --=20 2.29.2