From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id McoXNzq/NGBBRAAA0tVLHw (envelope-from ) for ; Tue, 23 Feb 2021 08:39:22 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ADMEMjq/NGAoXwAA1q6Kng (envelope-from ) for ; Tue, 23 Feb 2021 08:39:22 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 301C1165EA for ; Tue, 23 Feb 2021 09:39:22 +0100 (CET) Received: from localhost ([::1]:55482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lETDz-0003P7-CC for larch@yhetil.org; Tue, 23 Feb 2021 03:39:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lETDh-0003On-W4 for bug-guix@gnu.org; Tue, 23 Feb 2021 03:39:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lETDh-0005FC-Og for bug-guix@gnu.org; Tue, 23 Feb 2021 03:39:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lETDh-0002XZ-LC for bug-guix@gnu.org; Tue, 23 Feb 2021 03:39:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#36117: [PATCH 3/4] gnu: qemu: Add a static output. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 23 Feb 2021 08:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36117 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 36117-submit@debbugs.gnu.org id=B36117.16140695399757 (code B ref 36117); Tue, 23 Feb 2021 08:39:01 +0000 Received: (at 36117) by debbugs.gnu.org; 23 Feb 2021 08:38:59 +0000 Received: from localhost ([127.0.0.1]:58265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lETDf-0002XJ-5u for submit@debbugs.gnu.org; Tue, 23 Feb 2021 03:38:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lETDd-0002X7-Px for 36117@debbugs.gnu.org; Tue, 23 Feb 2021 03:38:58 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42560) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lETDY-000590-IO; Tue, 23 Feb 2021 03:38:52 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=38706 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lETDW-00056l-Iy; Tue, 23 Feb 2021 03:38:52 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87k1dbb260.fsf@gnu.org> <20210222195006.11357-1-maxim.cournoyer@gmail.com> <20210222195006.11357-3-maxim.cournoyer@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 23 Feb 2021 09:38:49 +0100 In-Reply-To: <20210222195006.11357-3-maxim.cournoyer@gmail.com> (Maxim Cournoyer's message of "Mon, 22 Feb 2021 14:50:05 -0500") Message-ID: <87tuq36uw6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Vagrant Cascadian , 36117@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: -2.87 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.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: 301C1165EA X-Spam-Score: -2.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: OcW8U+vKKbm8 Maxim Cournoyer skribis: > The static output is equivalent to what other distributions commonly pack= age > as 'qemu-user-static'. > > * gnu/packages/virtualization.scm (qemu)[outputs]: Add a static output. > [phases]{configure}: Configure the main build as an out-of-source build. = Move > all configure flags to ... > [configure-flags]: ... here. The options explicitly enabling optional > features are removed; the configure script does a good job at enabling al= l the > features available based on the inputs present and this allows reusing the > flags in variant packages such as qemu-minimal. > {configure-user-static, build-user-static, install-user-static}: New phas= es. > {patch-test-shebangs}: New phase, extracted from the configure phase. > [native-inputs]: Add glib-static, pcre:static and zlib:static. > (qemu-minimal)[arguments]: Reuse the configure-flags argument. Rewrite t= o use > match instead of cond. Nice! Do you know how this affects build times? An option would be to make a separate package rather than a separate output, if that helps. Thanks, Ludo=E2=80=99.