From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +JWQJx1JMGAKLQAA0tVLHw (envelope-from ) for ; Fri, 19 Feb 2021 23:26:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GIlPIx1JMGDqEAAAB5/wlQ (envelope-from ) for ; Fri, 19 Feb 2021 23:26:21 +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 F289CD98B for ; Sat, 20 Feb 2021 00:26:18 +0100 (CET) Received: from localhost ([::1]:42398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDFA7-0006j9-Vf for larch@yhetil.org; Fri, 19 Feb 2021 18:26:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDF9u-0006ik-II for bug-guix@gnu.org; Fri, 19 Feb 2021 18:26:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDF9u-0001FY-BF for bug-guix@gnu.org; Fri, 19 Feb 2021 18:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDF9u-0001PN-7D for bug-guix@gnu.org; Fri, 19 Feb 2021 18:26:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46650: Extending package transformation options Resent-From: Carl Dong Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Feb 2021 23:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46650 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46650@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16137771055342 (code B ref -1); Fri, 19 Feb 2021 23:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2021 23:25:05 +0000 Received: from localhost ([127.0.0.1]:50618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDF8z-0001O5-Db for submit@debbugs.gnu.org; Fri, 19 Feb 2021 18:25:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:43994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDF8w-0001Nx-Mu for submit@debbugs.gnu.org; Fri, 19 Feb 2021 18:25:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDF8w-0006Zx-Dn for bug-guix@gnu.org; Fri, 19 Feb 2021 18:25:02 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:48437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDF8u-0000nl-JK for bug-guix@gnu.org; Fri, 19 Feb 2021 18:25:02 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 2259B5C00F8 for ; Fri, 19 Feb 2021 18:24:58 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 19 Feb 2021 18:24:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; h= from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:to; s=fm3; bh=PgiX/CSQ54EPqoJUY5mIXnivY3MlUnoN2 bm2UPsbegw=; b=tNFMyBE8cqWP2IBJS3E0QqYsWkeC1FWS03PzbHYwdP0EJwoL1 honwwE+a8GGEe5DRS8INL2lYHCUnAbOq6oW0btGPEP12cna3lb7sLd58edZNRsCI mlKfWxHabjsJXO2A5e6du3KpE7W3IGMh/M1uoB6wspQcJxopD2nPI2glMgLHGMI2 Aq01K/J7QjRJRKVSDV3NtWnX7pPVQSf56gTIaIKL1DLPPJU7/DlPnAoJYiHhC472 fKm9WYzuXVOzFLAT1NYoeq4h7hT3C0jC1uclMtbMnZNcz/CdY3NQAc+tCousbTW6 +DdsFbnYH7BvNmvOG7Da4a1JkwIkIS/0JR3Sg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :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=PgiX/C SQ54EPqoJUY5mIXnivY3MlUnoN2bm2UPsbegw=; b=YPJqKy5bm77D5chH9nfNho t79MRoJm5mvdR/ydM6aW3cDvCDxRwssmHiADrHHzbC38tG4mpDsaGDlzkyL56Xax olMXlcSKwXmDu770Y1Diyd/DpSGym2z+zSiE03prem0qpFl4FQdXWDak2n7Sq5Ur Or64hsbpaiF2i4/KiE9uZdstDyo77dMd39SAPjzuqtGYxZCrZb4Tn3IjQ1AiCvh7 fgkgixSxIDNm+j67syzHb2Auwdt0XrszfKjJEkzq0Sw2KxSaV2Ft5lJsej/UaEtP brTGLz0rbahsO3437hjsE4Q/myZpzYKLbnf4DmbHqIaIhmSeYWRpB2I+vXUU0qfA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjeejgddtlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephfgtgfgguffkfffvofesthhqmhdthh dtjeenucfhrhhomhepvegrrhhlucffohhnghcuoegtohhnthgrtghtsegtrghrlhguohhn ghdrmhgvqeenucggtffrrghtthgvrhhnpeffkedvtdeggfefuefhkeevhffgleduffduvd egheefteehudegueffueduteelffenucfkphepleeirddvfeelrddujedrvdegvdenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtohhnthgrtg htsegtrghrlhguohhnghdrmhgv X-ME-Proxy: Received: from [192.168.0.6] (pool-96-239-17-242.nycmny.fios.verizon.net [96.239.17.242]) by mail.messagingengine.com (Postfix) with ESMTPA id E497124005B for ; Fri, 19 Feb 2021 18:24:57 -0500 (EST) From: Carl Dong Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Message-Id: Date: Fri, 19 Feb 2021 18:24:57 -0500 X-Mailer: Apple Mail (2.3608.120.23.2.4) Received-SPF: pass client-ip=66.111.4.26; envelope-from=contact@carldong.me; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=carldong.me header.s=fm3 header.b=tNFMyBE8; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=YPJqKy5b; 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: F289CD98B X-Spam-Score: -0.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: v1AegOi8uS/L Hi Guix! TL;DR Shall we add a `--without-tests` option (or something similar) for = `guix time-machine`? Our release workflow in Bitcoin is planned to shift over to Guix for the = next release, and as such we have a lot more testers who are running = Guix as we speak on their machines! Exciting! Our build workflow basically boils down to something like: --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3D =E2=80=A6 \ -- environment --manifest=3Dmanifest.scm =E2=80=A6 \ -- --8<---------------cut here---------------end--------------->8--- The fact that this is even possible (and allows reproducibility across = time) speaks to the awesomeness of Guix! :-) One of the main reasons for switching over to Guix is for its = bootstrappbility and the ability to perform `--bootstrap = --no-substitutes` builds. As mentioned in the gnutls ticket, performing = these source-based builds can sometimes 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 = testsuite/inplace-selinux) I think that the package transformation options are the perfect = =E2=80=9Chack-around=E2=80=9D solution for this, namely = `--without-tests`. In fact, since those who experience these problems = are building from source, it makes no difference that the store item = would be change: they would need to build everything anyway! 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 broken `gnutls` package and running its tests. I=E2=80=99ve tried = isolating the 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 = build gnutls and not the time-machine=E2=80=99d `guix environment`. I=E2=80=99m not too familiar with how package transformation options = work internally, but I=E2=80=99m guessing all we need here is a = `--without-tests` option (or something similar) for `guix time-machine`? = Is there anything else that=E2=80=99s necessary to successfully skip = tests for my workflow? Cheers, Carl Dong contact@carldong.me "I fight for the users"