Message ID | 20220303105801.3187-1-attila@lendvai.name |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6CA4727BBEA; Thu, 3 Mar 2022 11:05:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3CC7E27BBE9 for <patchwork@mira.cbaines.net>; Thu, 3 Mar 2022 11:05:08 +0000 (GMT) Received: from localhost ([::1]:40970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1nPjGd-0006wA-9H for patchwork@mira.cbaines.net; Thu, 03 Mar 2022 06:05:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nPjAk-0003FP-7Z for guix-patches@gnu.org; Thu, 03 Mar 2022 05:59:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nPjAj-0006H1-Uo for guix-patches@gnu.org; Thu, 03 Mar 2022 05:59:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nPjAj-0003mB-Po for guix-patches@gnu.org; Thu, 03 Mar 2022 05:59:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54231] [PATCH] gnu: trezor-agent: Fix it by deleting the sanity-check phase. Resent-From: Attila Lendvai <attila@lendvai.name> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Mar 2022 10:59:01 +0000 Resent-Message-ID: <handler.54231.B.164630513514501@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54231 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54231@debbugs.gnu.org Cc: Attila Lendvai <attila@lendvai.name> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164630513514501 (code B ref -1); Thu, 03 Mar 2022 10:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Mar 2022 10:58:55 +0000 Received: from localhost ([127.0.0.1]:41534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1nPjAc-0003lo-TT for submit@debbugs.gnu.org; Thu, 03 Mar 2022 05:58:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:54494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <attila.lendvai@gmail.com>) id 1nPjAb-0003lg-MM for submit@debbugs.gnu.org; Thu, 03 Mar 2022 05:58:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <attila.lendvai@gmail.com>) id 1nPjAb-00031k-0s for guix-patches@gnu.org; Thu, 03 Mar 2022 05:58:53 -0500 Received: from [2a00:1450:4864:20::534] (port=38627 helo=mail-ed1-x534.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <attila.lendvai@gmail.com>) id 1nPjAZ-0006Fr-Df for guix-patches@gnu.org; Thu, 03 Mar 2022 05:58:52 -0500 Received: by mail-ed1-x534.google.com with SMTP id s24so6091235edr.5 for <guix-patches@gnu.org>; Thu, 03 Mar 2022 02:58:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ior5BtrCOUKG1aWhlOkQRPQR6xWiJQWg6IZbTRthxw4=; b=nHyT5+3o2Hh9QjuU+QapDgvOhNj3py5q6srtgpvc4p0iF2fN8RNXDNLVyrDJgnjQXe HWGRzsFFiMyNjxBsvrepILGmRda/QjhlFM3PAJcQutZTkLvh/FC/v0r+lOknqsMIv+zp lJBIS66WpK+yzounWqQqtZ6+BDWfSzK+SwC3Najv4rmRAs+ylo+5DSj0BLOyExxQHlbW v6/eCWFpfPSRdlkliq/tRFgHB6SWvUH5JYu2x/zUYP2xXchwS0YilYeiNX2d84oSBoSM SSmXa+gL20Y66TtQFg20YVE75LK6U1fSyTdGbI7msG6VRI9Zaj8UbjB+mbifpFFVWx4y 3BWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=ior5BtrCOUKG1aWhlOkQRPQR6xWiJQWg6IZbTRthxw4=; b=sZTrpyFZ5Gt/+zUSHuVVcU5jn8SznFO9LsNOb1tpm2JoAWS8Y1ERk4sim5grYbPRZe tusTj4qBqZd0+HM4vqn0Go3jX2qDD9UWImzk1BkF54WvEkvf2oLdYZ9sHEDiYvNitdIF YpijBX9hANEtDNxmPxIfZe0u610MiEEmFbfJ9cfRN8oN9ouFQkltXAUVzgB2nGHu+7AE IWX10B0ikv0o1QaqCfNLBcat3K0amTAvONm/3SXS76ZCPMYAYuggfWXTYskvKosT/WED 1ngJ0V87BIxWbuvPeAevo7FW+k1eP1gOldODeXkr3gT4TAJb6wKt6zNME7WKSY06KChJ i/YA== X-Gm-Message-State: AOAM530QdeG9zZ0N/Tx0l2dCk+3jeDUetuBr1bSaM0SdN4S8wLuGY7II 6IXtmUEGFiZl7uhGWKu2iuYtDpH30VM= X-Google-Smtp-Source: ABdhPJzDqfpknT2m8FzUI8PMxDry86hyCxtB5ehjhwhI390HAJ5SjqOFSSAi/nxF6XwTSvhMQ555yg== X-Received: by 2002:a05:6402:1d51:b0:412:86c3:7580 with SMTP id dz17-20020a0564021d5100b0041286c37580mr33441127edb.353.1646305129938; Thu, 03 Mar 2022 02:58:49 -0800 (PST) Received: from lelap.local (catv-89-132-245-188.catv.fixed.vodafone.hu. [89.132.245.188]) by smtp.gmail.com with ESMTPSA id bn14-20020a170906c0ce00b006c5ef0494besm570998ejb.86.2022.03.03.02.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 02:58:49 -0800 (PST) From: Attila Lendvai <attila@lendvai.name> Date: Thu, 3 Mar 2022 11:58:02 +0100 Message-Id: <20220303105801.3187-1-attila@lendvai.name> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::534 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=attila.lendvai@gmail.com; helo=mail-ed1-x534.google.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#54231] gnu: trezor-agent: Fix it by deleting the sanity-check phase.
|
|
Commit Message
Attila Lendvai
March 3, 2022, 10:58 a.m. UTC
It used to work before the new sanity_check.py was added, and the build result still seems to work fine. --- gnu/packages/finance.scm | 1 + 1 file changed, 1 insertion(+)
Comments
Attila Lendvai schreef op do 03-03-2022 om 11:58 [+0100]:
> + (delete 'sanity-check) ; TODO It fails, but the package works fine.
How does it fail? Maybe it indicates a real problem that merely
happens to be difficult to trigger in practice.
Greetings,
Maxime.
> > + (delete 'sanity-check) ; TODO It fails, but the package works fine. > > How does it fail? Maybe it indicates a real problem that merely > happens to be difficult to trigger in practice. unfortunately i'm not a python expert, i don't know why it fails, but currently it doesn't even build. i have attached the relevant part of the build output. if you scan python-xyz.scm, this phase is deleted in several other packages. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “There is nothing sacrosanct about the majority; the lynch mob, too, is the majority in its own domain.” — Murray N. Rothbard (1926–1995), 'For a New Liberty' (1973)
Greetings I am a Guix newbie, so I do not know yet, how to find the package source. Does this package declare `python-trezor-agent` as a dependency? The error message hints at this missing dependency.
would it be possible to get this in? or another fix that restores the package's buildability? the tests can be fixed later by a python expert that wanders around here. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “It is the mark of an educated mind to be able to entertain a thought without accepting it.” — Aristotle (BC 384–322), 'Metaphysics'
Attila Lendvai schreef op di 12-04-2022 om 10:41 [+0000]: > would it be possible to get this in? or another fix that restores the > package's buildability? > > the tests can be fixed later by a python expert that wanders around > here. It looks like 'trezor-agent' only has a python script and not a python module, so no wonder that 'sanity-check' fails to find the module. As such, I believe that the 'sanity-check' phase can indeed be removed in this case, if accompanied an appropriate comment. Greetings, Maxime.
Patch pushed as d3d2881acf4f3efef61a4049ea4c7c3ba883f48c with a comment explaining why the 'sanity-check' phase is deleted. Thanks.
Marek Paśnikowski schreef op wo 30-03-2022 om 15:29 [+0200]: > Does this package declare `python-trezor-agent` as a dependency? The > error message hints at this missing dependency. Yes, it does: (inputs (list python-trezor python-trezor-agent)) Greetings, Maxime.
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 985eaa87f7..26c546caed 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1156,6 +1156,7 @@ (define-public trezor-agent (arguments `(#:phases (modify-phases %standard-phases + (delete 'sanity-check) ; TODO It fails, but the package works fine. (add-after 'wrap 'fixup-agent-py (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")))