From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2GxRN9OCq2S2ngAASxT56A (envelope-from ) for ; Mon, 10 Jul 2023 06:02:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EHd/NdOCq2RbcgAAG6o9tA (envelope-from ) for ; Mon, 10 Jul 2023 06:02:27 +0200 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 4C7C43DC73 for ; Mon, 10 Jul 2023 06:02:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIi6E-0004Yh-FZ; Mon, 10 Jul 2023 00:02:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIi6B-0004UU-4h for guix-patches@gnu.org; Mon, 10 Jul 2023 00:02:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIi66-0002j4-Q2 for guix-patches@gnu.org; Mon, 10 Jul 2023 00:02:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIi66-00071V-5D for guix-patches@gnu.org; Mon, 10 Jul 2023 00:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64149] [PATCH 2/2] gnu: patman: Add python-u-boot-pylib to inputs. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 Jul 2023 04:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64149 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Vagrant Cascadian Cc: 64149@debbugs.gnu.org, ludo@gnu.org, efraim@flashner.co.il Received: via spool by 64149-submit@debbugs.gnu.org id=B64149.168896169326937 (code B ref 64149); Mon, 10 Jul 2023 04:02:02 +0000 Received: (at 64149) by debbugs.gnu.org; 10 Jul 2023 04:01:33 +0000 Received: from localhost ([127.0.0.1]:47365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIi5d-00070P-1y for submit@debbugs.gnu.org; Mon, 10 Jul 2023 00:01:33 -0400 Received: from mail-qk1-f177.google.com ([209.85.222.177]:61482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIi5Y-0006zy-49 for 64149@debbugs.gnu.org; Mon, 10 Jul 2023 00:01:31 -0400 Received: by mail-qk1-f177.google.com with SMTP id af79cd13be357-7658430eb5dso458148585a.2 for <64149@debbugs.gnu.org>; Sun, 09 Jul 2023 21:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688961682; x=1691553682; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Tp+0q+I0hzgQcuqdmQpCvwnTT1mKRFJVWIMPgSa366o=; b=cgH1TbWZIcPcNKodGzlvAcyW7ZON8X13X4Uo92OiBBhlxMoyQlcEKqLWFLIyHjR/+u ros4yM9y+cBsb4yzpCs9ztmqzwFmPamRtKnKLBat4ZZVNVLn7bDWpb/07yhteUpRElK0 9MBeF6I56HEC8RRdk0eLt6fxyxpIAUVUxVTaVgA7eohgVTLDoxeU0PbWTF9HTHmgLkmQ g214D+Vkua4WIJeanr7dXJEtSXix286mxY90ZFIPjWwttn802cOI0Akku0gTLOHCWpuz Fw4N13QTGRGz5wVKiZm4LPEezdSrO8OugBub63ICSSdXIuuKod333wXf8EM92Hb5p8XJ Q2QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688961682; x=1691553682; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Tp+0q+I0hzgQcuqdmQpCvwnTT1mKRFJVWIMPgSa366o=; b=BGeLUMPbyzTPZZfM3G1X/uE6an1OhluS+Cxl6W5vb3Xv1DoKUnzl6t2mRXPmhjhiCx 25hys2i3IF+NUtsJPTGIiTgX/Tc89l1elOUlcILDsbhNDwLSMoak1WieQoiawzrZzuFW STQwElRAiHTjbQ3GlEJ6qYTYrt8AW2psC82PUq7Qob0h+gBHNAETCxNJ0mhjKTX0XGE7 y3DYCxxvnqP181sReWJKaKaub7BQM/NgywajEtwyQ4PMIUL/CpuYE8gpE/fsFD9i0A5w YyhqaKA0/N1wQIfVlW4P0g0ANykWGdS30cLJM5Wz4f6aV2T8zrkmE2QEu221sgBhspp2 au5w== X-Gm-Message-State: ABy/qLYtaAQZZegsrhmoTaArm1v1ELLC83CieQG6tnt9XxmvKDYOyrv0 y7Vd6Ns6g+8iXsDes+vGDdY= X-Google-Smtp-Source: APBJJlHf7SzNfMIOjBq2Zucm3aJ1xpKsNwRXq7ER+XWbsMtERURufnIZJeZDfupuvK21ND/cUsnBaA== X-Received: by 2002:a05:620a:14f:b0:767:3fa7:2afa with SMTP id e15-20020a05620a014f00b007673fa72afamr11302198qkn.28.1688961682553; Sun, 09 Jul 2023 21:01:22 -0700 (PDT) Received: from hurd (dsl-10-134-67.b2b2c.ca. [72.10.134.67]) by smtp.gmail.com with ESMTPSA id o8-20020a05620a130800b00767b07ec8adsm3454679qkj.82.2023.07.09.21.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jul 2023 21:01:21 -0700 (PDT) From: Maxim Cournoyer References: <87edllgc9u.fsf@wireframe> <87351ygfb2.fsf@wireframe> Date: Mon, 10 Jul 2023 00:01:20 -0400 In-Reply-To: <87351ygfb2.fsf@wireframe> (Vagrant Cascadian's message of "Sat, 08 Jul 2023 16:21:37 -0700") Message-ID: <87cz10xvn3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688961747; a=rsa-sha256; cv=none; b=iDxI0zIj/b5yRkspEhlBnKOptsVNqV+TvKpynvgmCKKltDf6pNTSYo0i5XfSaeLdzOzqaN hssI37GwTA8ifsGhEGbJyiXiRDCr/h+GH8KCk/u15nAkiP7hPAnGHc8rMPDQd+tfOTAgvI WET1eiQgsKBei68waHlFyWoQ+PLLYnpDq9eVfcoXACVmXNP5HuiNxf4vVSNkul9d4w+GVM tZTIPnjrklyBNejGA9+ruD2FVz6RjYKtRF1Y+xf5w/6Nkz6pAMAFMaVxigp5DSSuf33DOf +ziv44RaqTKgNEM+Lp33639rZTeQTrrHvpP4Q7DhuHYUBkalyTNVM+GfkVTw3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=cgH1TbWZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688961747; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Tp+0q+I0hzgQcuqdmQpCvwnTT1mKRFJVWIMPgSa366o=; b=K/5vu1mKR0bxe/ko0esImi0PKAfWaWrB7/IxpnYaiJ94nVogeuxfXfhGJBhD05oY8Vflyv TrREd/gp/t2gk4Yff5L5qfCwYOu0KFU1zKAgPUpwjoNZRv+ESA4aYqQiOeJ+OKEmk2F0ay Zrc41o8nj528B3j4hMH66xF0PXSap/fki2wPX6GGn0nWuqy96pHRCrU4zkdLacyedRQjBC 1vXLNI4b2G9A8Mecuc6QSptTP3j+RkTmXTrSDhRZalgmKJ7U9/sCKV0Q5pNjQKPDwpV9S6 Awoi/9EoXyXsdCNf+IdiYUANT+xfVzmUrmGLCPr2LWuS+uB3lddUunokOkcgEg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=cgH1TbWZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.49 X-Spam-Score: -1.49 X-Migadu-Queue-Id: 4C7C43DC73 X-TUID: peDt1/9EbBrz Hi Vagrant, Vagrant Cascadian writes: > On 2023-07-08, Maxim Cournoyer wrote: >> * gnu/packages/bootloaders.scm (patman) [inputs]: Add python-u-boot-pylib. >> --- >> gnu/packages/bootloaders.scm | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm >> index c1a76ab90e..789248afeb 100644 >> --- a/gnu/packages/bootloaders.scm >> +++ b/gnu/packages/bootloaders.scm >> @@ -869,7 +869,7 @@ (define-public patman >> (add-after 'unpack 'chdir >> (lambda _ >> (chdir "tools/patman")))))) >> - (inputs (list python-pygit2 python-requests)) >> + (inputs (list python-pygit2 python-requests python-u-boot-pylib)) >> (synopsis "Patch automation tool") >> (description "Patman is a patch automation script which: >> @itemize >> -- >> 2.40.1 > > This was not sufficient to get patman building again: Oh, indeed, seems I hadn't gone to that point in my testing. > starting phase `sanity-check' validating 'patch-manager' /gnu/store/d22rsfa7pr8ff6ai1hp72qjljiyayzrx-patman-2023.07-rc6/lib/python3.10/site-packages > ...checking requirements: OK ...trying to load module patman: OK ...trying to load endpoint console_scripts patman: ERROR: > Traceback (most recent call last): File "/gnu/store/rlf99syqlc9kyf76rba3sbxsafszf017-python-u-boot-pylib-2023.07-rc6/lib/python3.10/site-packages/u_boot_pylib/command.py", line 95, in run_pipe > last_pipe = cros_subprocess.Popen(cmd, cwd=cwd, **kwargs) File "/gnu/store/rlf99syqlc9kyf76rba3sbxsafszf017-python-u-boot-pylib-2023.07-rc6/lib/python3.10/site-packages/u_boot_pylib/cros_subprocess.py", line 83, in __init__ > super(Popen, self).__init__(args, stdin=stdin, File "/gnu/store/kj6wzba6p192baizq99b489rs8bynpn7-python-3.10.7/lib/python3.10/subprocess.py", line 969, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, > File "/gnu/store/kj6wzba6p192baizq99b489rs8bynpn7-python-3.10.7/lib/python3.10/subprocess.py", line 1845, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: 'git' I've made a patch to patman so that it falls back to use the current working directory when git or its metadata is unavailable, but I still got this error in the sanity-check phase: --8<---------------cut here---------------start------------->8--- phase `check' succeeded after 0.0 seconds starting phase `sanity-check' usage: iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py [-h] [-b BRANCH] [-c COUNT] [-e END] [-D] [-p PROJECT] [-P PATCHWORK_URL] [-s START] [-v] [-H] {send,status} ... iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py: error: argument cmd: invalid choice: '/gnu/store/caxygz92s8zf7lk7a58d2yr873hzx46w-patman-2023.07-rc6/lib/python3.10/site-packages' (choose from 'send', 'status') validating 'patch-manager' /gnu/store/caxygz92s8zf7lk7a58d2yr873hzx46w-patman-2023.07-rc6/lib/python3.10/site-packages ...checking requirements: OK ...trying to load module patman: OK ...trying to load endpoint console_scripts patman: failed to retrieve top level via git; using CWD failed to retrieve top level via git; using CWD error: in phase 'sanity-check': uncaught exception: %exception #<&invoke-error program: "python" arguments: ("/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py" "/gnu/store/caxygz92s8zf7lk7a58d2yr873hzx46w-patman-2023.07-rc6/lib/python3.10/site-packages") exit-status: 2 term-signal: #f stop-signal: #f> phase `sanity-check' failed after 0.2 seconds --8<---------------cut here---------------end--------------->8--- Perhaps for the time being deleting that phase with an explanatory comment would be the best course of action. -- Thanks, Maxim