From patchwork Tue Feb 8 18:03:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josselin Poiret X-Patchwork-Id: 610 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3917D27BBEA; Tue, 8 Feb 2022 18:04:22 +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=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 8BD9627BBE9 for ; Tue, 8 Feb 2022 18:04:21 +0000 (GMT) Received: from localhost ([::1]:35892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHUqd-0003VM-BD for patchwork@mira.cbaines.net; Tue, 08 Feb 2022 13:04:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHUqT-0003RN-39 for guix-patches@gnu.org; Tue, 08 Feb 2022 13:04:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHUqQ-0002oo-55 for guix-patches@gnu.org; Tue, 08 Feb 2022 13:04:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHUqQ-00051i-0d for guix-patches@gnu.org; Tue, 08 Feb 2022 13:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53880] [PATCH 0/2] Fix build of protonvpn-cli Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Feb 2022 18:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53880 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53880@debbugs.gnu.org Cc: Josselin Poiret X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164434342319288 (code B ref -1); Tue, 08 Feb 2022 18:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Feb 2022 18:03:43 +0000 Received: from localhost ([127.0.0.1]:48573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHUq7-000511-HR for submit@debbugs.gnu.org; Tue, 08 Feb 2022 13:03:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:37048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHUq6-00050u-Hb for submit@debbugs.gnu.org; Tue, 08 Feb 2022 13:03:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHUq6-0002zl-BO for guix-patches@gnu.org; Tue, 08 Feb 2022 13:03:42 -0500 Received: from jpoiret.xyz ([206.189.101.64]:47202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHUq4-0002m6-Hk for guix-patches@gnu.org; Tue, 08 Feb 2022 13:03:42 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id AB055185182; Tue, 8 Feb 2022 18:03:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1644343418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=+nQ3076z1PFWdYyIHcC6MwBsqarvdpQaqzvcFaJtmbs=; b=UbQNGh4wsbPQQTsOBiPOccW6aEK74HIrvsTBY0t2EY0vGrocDmE+K80Vs0uAYJKVhTjbsl spLTkkJxK7aBA3R9iFLryRUG2m4kI35xbdURrjZlVeFHiSPFqCp/0eq+vtyCgC2c1vowXT 9Y/Pq6Kpvft8el86Uc3MGerDRbZYScp4NWbEH6h6N7YVZucjtBfIrdtO/fr+XWLIaK/ktD vTjpeAOwDXKbGHmeES2KZzCUOMc/xmuCP8rpQvdaldHuISbUoE7H42/ZrL3AATDOqR5DtG feXanJJas6Fef/Sod+Gi8+1UWj0WENE7y3rni6JjnA+F0SiO5M2nflaP41WjPQ== Date: Tue, 8 Feb 2022 19:03:33 +0100 Message-Id: <20220208180333.11502-1-dev@jpoiret.xyz> MIME-Version: 1.0 Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: ++++ Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 22 X-Spam_score: 2.2 X-Spam_bar: ++ X-Spam_report: (2.2 / 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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.769, SPF_HELO_PASS=-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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches X-Patchwork-Original-From: Josselin Poiret via Guix-patches via From: Josselin Poiret X-getmail-retrieved-from-mailbox: Patches Hello, These two patches fix the build failure of protonvpn-cli. The first one fixes the wrap target, since the wrapper code now properly handles re-wrapping a wrapped binary. The second removes the sanity-check phase as the main entry point tries to create a directory under ~user, which fails, and setting HOME=/tmp will not work since expanding ~user uses the passwd database. Best, Josselin Poiret (2): gnu: protonvpn-cli: Do not try to wrap the wrapper. gnu: protonvpn-cli: Remove sanity-check phase. gnu/packages/vpn.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)