From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8NZYDbwVMWCDFwAA0tVLHw (envelope-from ) for ; Sat, 20 Feb 2021 13:59:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CEIgCbwVMWDBZwAAbx9fmQ (envelope-from ) for ; Sat, 20 Feb 2021 13:59:24 +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 7C0B225521 for ; Sat, 20 Feb 2021 14:59:23 +0100 (CET) Received: from localhost ([::1]:38694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDSn2-0006DB-NY for larch@yhetil.org; Sat, 20 Feb 2021 08:59:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDSmk-0006BN-Ey for bug-guix@gnu.org; Sat, 20 Feb 2021 08:59:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDSmk-0006Lk-6F for bug-guix@gnu.org; Sat, 20 Feb 2021 08:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDSmk-0001sz-5q for bug-guix@gnu.org; Sat, 20 Feb 2021 08:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46650: Extending package transformation options Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 Feb 2021 13:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46650 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Carl Dong Received: via spool by 46650-submit@debbugs.gnu.org id=B46650.16138294947195 (code B ref 46650); Sat, 20 Feb 2021 13:59:02 +0000 Received: (at 46650) by debbugs.gnu.org; 20 Feb 2021 13:58:14 +0000 Received: from localhost ([127.0.0.1]:51277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDSlx-0001rz-Lb for submit@debbugs.gnu.org; Sat, 20 Feb 2021 08:58:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDSlo-0001rK-Jz for 46650@debbugs.gnu.org; Sat, 20 Feb 2021 08:58:12 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43898) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDSlj-0005rk-8F; Sat, 20 Feb 2021 08:57:59 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35256 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lDSli-0007o8-8Q; Sat, 20 Feb 2021 08:57:58 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Sat, 20 Feb 2021 14:57:57 +0100 In-Reply-To: (Carl Dong's message of "Fri, 19 Feb 2021 18:24:57 -0500") Message-ID: <87h7m6j0yi.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: 46650@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: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 7C0B225521 X-Spam-Score: -2.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: Y/IDDeEGZb9K Hi, Carl Dong skribis: > One of the main reasons for switching over to Guix is for its bootstrappb= ility and the ability to perform `--bootstrap --no-substitutes` builds. As = mentioned in the gnutls ticket, performing these source-based builds can so= metimes reveal problems with tests suites: > 1. Spurious tests > 2. =E2=80=9CExpiring=E2=80=9D tests (like the gnutls one) > 3. Foreign distro problems (0zmcam9sdiag9s1qx3xvlf8a3jnm53x2-sed-4.8.drv = fails to build on SELinux-based distros because of a test failure in testsu= ite/inplace-selinux) Yes, these flaky/uncontrolled problems were one of the motivations for =E2=80=98--without-tests=E2=80=99. > However, in the case of our workflow above, there is no way to specify `-= -without-tests=3D` to `guix time-machine`, which insists on building the br= oken `gnutls` package and running its tests. I=E2=80=99ve tried isolating t= he command to just: > > --8<---------------cut here---------------start------------->8--- > $ guix time-machine --commit=3D =E2=80=A6 \ > -- --help > --8<---------------cut here---------------end--------------->8=E2=80=94 > > To make sure that it=E2=80=99s `guix time-machine` which is trying to bui= ld gnutls and not the time-machine=E2=80=99d `guix environment`. Package transformation options currently only apply to packages specified on the command line of =E2=80=98guix install=E2=80=99, =E2=80=98g= uix build=E2=80=99, etc. These options are not available to =E2=80=98guix system=E2=80=99, =E2=80=98= guix pull=E2=80=99, and other non-package-oriented commands. Guix as returned by =E2=80=98guix pull=E2=80=99 and =E2=80=98guix time-mach= ine=E2=80=99 depends on GnuTLS. So here, we have a special case: to build Guix itself, you need to build GnuTLS first, and there=E2=80=99s no way to pass =E2=80=98--withou= t-tests=E2=80=99 at that level. I=E2=80=99m not sure how to change that because unfortunately, =E2=80=98gui= x pull=E2=80=99 and =E2=80=98time-machine=E2=80=99 don=E2=80=99t even know that Guix depends on= GnuTLS; only the target Guix knows about this. :-/ Thanks, Ludo=E2=80=99.