From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iLzDAVqaG2PiKgEAbAwnHQ (envelope-from ) for ; Fri, 09 Sep 2022 21:56:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sEydAVqaG2O3EgAAauVa8A (envelope-from ) for ; Fri, 09 Sep 2022 21:56:10 +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 BBF4E3EA22 for ; Fri, 9 Sep 2022 21:56:09 +0200 (CEST) Received: from localhost ([::1]:58396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWk6i-0001Hy-2h for larch@yhetil.org; Fri, 09 Sep 2022 15:56:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWk6c-0001G6-RA for guix-patches@gnu.org; Fri, 09 Sep 2022 15:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWk6c-0003fB-IL for guix-patches@gnu.org; Fri, 09 Sep 2022 15:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWk6c-00034U-Ez for guix-patches@gnu.org; Fri, 09 Sep 2022 15:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57345] [PATCH] Add gnupg to propagated-inputs of trezor-agent Resent-From: Marek =?UTF-8?Q?Pa=C5=9Bnikowski?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Sep 2022 19:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57345 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: Maxime Devos Cc: "57345@debbugs.gnu.org" <57345@debbugs.gnu.org> Received: via spool by 57345-submit@debbugs.gnu.org id=B57345.166275333911771 (code B ref 57345); Fri, 09 Sep 2022 19:56:02 +0000 Received: (at 57345) by debbugs.gnu.org; 9 Sep 2022 19:55:39 +0000 Received: from localhost ([127.0.0.1]:35596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWk6F-00033n-3I for submit@debbugs.gnu.org; Fri, 09 Sep 2022 15:55:39 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:58663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWk6A-00033V-EN for 57345@debbugs.gnu.org; Fri, 09 Sep 2022 15:55:37 -0400 Date: Fri, 09 Sep 2022 19:55:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1662753327; x=1663012527; bh=Zbynr5e6aJ6fSKq8CguDO1Putsu+Jz6Gb56czZ33vI8=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=BjLUwKo1MATBSsm7qGjF0eveSeG4HBCDgXH0e7Dy8Qqcjjjr8yjylFbAFo86mfe57 rEy+lWi8myYzeSDdEaEnKnPJRHvySUnmt35zlQojJFyIN+bh6W9nCJOH9K3jqTINlQ ZEB65WlyyvfywXdUQa0zr2YafTN7uR5fi3lED3ZXX+yuLkg9B6WPpxMQR2cpt3eNct XT9rIxeSD2knctpmOWwTTUnktW217+tlfb7ucPcNpfCPY24YcvWlO9PT+GQv7ZS+hv +yPdof6kkWWZxiB5H5rEk2ufcGic+xWN6N0vOQyLZtefwAniggS7lXze1iCdITwsag ACQPrTdw1ZpYQ== Message-ID: In-Reply-To: <1c43aceb-82af-8a0e-7efb-0c0f6472e940@telenet.be> References: <0xUyxGDdNUVX-UebH9VayY2IGvKRGV-WwdvXVVHBu1G-jPUUgs8Zgcl6grF6_rPW4WDO5xtC1a8rdy4v3oONthnqYD1Q--x7uFtVkzY1EX8=@protonmail.com> <1c43aceb-82af-8a0e-7efb-0c0f6472e940@telenet.be> Feedback-ID: 45828316:user:proton 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: 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" Reply-to: Marek =?UTF-8?Q?Pa=C5=9Bnikowski?= X-ACL-Warn: , =?utf-8?q?Marek_Pa=C5=9Bnikowski_via_Guix-patches?= From: guix-patches--- via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662753369; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=Zbynr5e6aJ6fSKq8CguDO1Putsu+Jz6Gb56czZ33vI8=; b=lKqc2+1MdfhAbcVtgoFp9On8tflRO1RE3hyaHD1ZZR4IC7yQIaboAgr7UcJqyZBr6U1uh1 z6IK87NuWS3B2a25RGTKRMvfaASbgnaelERXsyGlCN4p/jcpuku3oiH1SQF5R/7ys7N55k yRGPr+kjNGR8Pqn6S8C8Mq+qnOLfV/ixLHF+XWK/pY/mS/p6wXWr2HQk2GHXlmUBh63Ezy yS606YnsTETneiN5nFXAZ0py2vXpdqc1UmFMY83iNAh/JpKMqk5bBKOkLr10ZGl1bg/xGa 21cE5vzjgkjlw8ehnF0SAL9VeQIOv7YNiZ4evma6G4hqhPSVKTcr6UmK2dfAlQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662753369; a=rsa-sha256; cv=none; b=DadVUHygn88M91woRyCntJjTU7sOqa45j3oyJwJfSoFnYOmOoMPD77Vqj0fJJso+dL2Ent R5piqYPK13uivJ0NHjnbf0JhUUXtynsUzhzJ1htRCcgXPbePO81sthcgMXthLzQLRD2AIY TNJ/pYvvL7DLg/bizdEdSXcec3yuuf04bgFboDTV8/sXoPEQtyjkDKWiZlGrT/A0wrNNuM 1s0LPnEH9bKrUP1o3Iho5ZOvBAWZHahFwMrGOZ4l0W2vbECOn+gsdU3cm11jSqp8XbbPa/ 7ltWdOBRddoILoTN7OY54uuiHdDWw0+NKEs2toyDm3EkNWuwuSgzZJEelMYgBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=BjLUwKo1; dmarc=pass (policy=none) header.from=gnu.org; 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-Spam-Score: -1.80 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=BjLUwKo1; dmarc=pass (policy=none) header.from=gnu.org; 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-Queue-Id: BBF4E3EA22 X-Spam-Score: -1.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: SlfjHe5qZ7g2 I give up. So far, the cleanest workaround is to explicitly declare `gnupg` installati= on. I decided to use that going forward. ``` (inputs (list gnupg guile-2.0 python-3 python-trezor python-trezor-agent)) (add-before 'check 'wrap-more (lambda* (#:key inputs outputs #:allow-other-keys) (wrap-script (string-append #$output "/bin/trezor_agent.py") '("PATH" ":" prefix '("/gnu/store/3bpq5knfvzhxhqfwzqm9br917nz7r0yp-gn= upg-2.2.32/bin"))))) ``` This is as far as I was able to go while maintaining any sense of understan= ding and control over the code. All attempts to progress end with this failure: ``` Backtrace [...] ERROR: 1. &wrap-error: program: "/gnu/store/rb3wzd5pi899mlvv4wj35afc4z8ys60m-trezor-agent-0.= 14.4/bin/trezor_agent.py" type: no-interpreter-found ``` Clearly, the wrapping documentation assumes something and fails to mention = it - and now a programming noob like me is totally lost. My conclusions: 1. Current state of `trezor-agent` - broken critical functionality by defau= lt. 2. Presence of `gnupg` in profile fixes the above. 3. `propagated-inputs` also fixes 1., but is not acceptable. 4. In theory, it should be possible to expose a PATH to `gnupg` in `inputs`= ; but after days of working towards it, I am still not capable of reaching = this solution.