From unknown Sat Aug 09 13:17:01 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77187] [PATCH] gnu: tlp: Wrap sbin folder Resent-From: Rutherther Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Sat, 22 Mar 2025 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77187 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77187@debbugs.gnu.org Cc: Rutherther , Leo Famulari , Wilko Meyer X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Leo Famulari , Wilko Meyer Received: via spool by submit@debbugs.gnu.org id=B.174266289325662 (code B ref -1); Sat, 22 Mar 2025 17:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2025 17:01:33 +0000 Received: from localhost ([127.0.0.1]:45116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tw2E1-0006fp-7c for submit@debbugs.gnu.org; Sat, 22 Mar 2025 13:01:33 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59454) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tw2DE-0006aZ-CQ for submit@debbugs.gnu.org; Sat, 22 Mar 2025 13:00:45 -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 1tw2D8-0005tb-Es for guix-patches@gnu.org; Sat, 22 Mar 2025 13:00:38 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::] helo=mail.ditigal.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tw2D6-00056I-Kl for guix-patches@gnu.org; Sat, 22 Mar 2025 13:00:38 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 24109682 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sat, 22 Mar 2025 17:00:31 +0000 (UTC) From: Rutherther Date: Sat, 22 Mar 2025 18:00:22 +0100 Message-ID: X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1742662831; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=YG49U0tf/Mb7ycyW1jrFi2Jv3TnFiagViSeHWUZOop8=; b=N0LqLSWVLD941RvCTNRGe73CKuTlj4BvUV0G+Xdj1DfgQD4IevQhHWBg1griXrrwQiN+G E6/olNxXpbKWHXNhzXxavFZZV9q+kGb4S/BZe1RjCTfJzmWVewH0oYNssFRSNTj72TN8fkK g9geTrSPliDXvbRfiw+shDHAcof6wlA= Received-SPF: pass client-ip=2a01:4f8:1c1b:6a1c::; envelope-from=rutherther@ditigal.xyz; helo=mail.ditigal.xyz X-Spam_score_int: 19 X-Spam_score: 1.9 X-Spam_bar: + X-Spam_report: (1.9 / 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.499, FROM_SUSPICIOUS_NTLD_FP=2, PDS_OTHER_BAD_TLD=1.474, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 4.9 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Seems that tlp recently introduced sbin folder, this has broken the wrapping for tlp script. The tlp script can fail in finding runtime dependencies. * gnu/packages/linux.scm (tlp): Wrap sbin folder Change-Id: Id006f21fb42e385dade732b9d237b045f3a863e7 --- gnu/packages/linux.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Content analysis details: (4.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.5 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=rutherther%40ditigal.xyz; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org] 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Seems that tlp recently introduced sbin folder, this has broken the wrapping for tlp script. The tlp script can fail in finding runtime dependencies. * gnu/packages/linux.scm (tlp): Wrap sbin folder Change-Id: Id006f21fb42e385dade732b9d237b045f3a863e7 --- gnu/packages/linux.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.5 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=rutherther%40ditigal.xyz;ip=2001%3A470%3A142%3A%3A17;r=debbugs.gnu.org] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Seems that tlp recently introduced sbin folder, this has broken the wrapping for tlp script. The tlp script can fail in finding runtime dependencies. * gnu/packages/linux.scm (tlp): Wrap sbin folder Change-Id: Id006f21fb42e385dade732b9d237b045f3a863e7 --- gnu/packages/linux.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index b0dc6cbcfd..9bbed7c1df 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -8230,7 +8230,9 @@ (define-public tlp (add-after 'install 'wrap (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((bin (string-append (assoc-ref outputs "out") "/bin")) - (bin-files (find-files bin ".*"))) + (sbin (string-append (assoc-ref outputs "out") "/sbin")) + (bin-files (find-files bin ".*")) + (sbin-files (find-files sbin ".*"))) (define (bin-directory input-name) (let ((p (assoc-ref inputs input-name))) (and p (string-append p "/bin")))) @@ -8260,7 +8262,7 @@ (define-public tlp "pciutils" "rfkill" "wireless-tools")))))) - bin-files))))))) + (append bin-files sbin-files)))))))) (home-page "https://linrunner.de/en/tlp/tlp.html") (synopsis "Power management tool for Linux") (description "TLP is a power management tool for Linux. It comes with base-commit: fbfd2b93831978aadbb96f32cafdab997b04c6c6 prerequisite-patch-id: cf473eb15513404ca1d287f5b7eca109c848203c prerequisite-patch-id: a46e75bdd193acb5e276e0aa31c77197a3254699 -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 22 13:20:34 2025 Received: (at control) by debbugs.gnu.org; 22 Mar 2025 17:20:34 +0000 Received: from localhost ([127.0.0.1]:45307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tw2WP-000872-6M for submit@debbugs.gnu.org; Sat, 22 Mar 2025 13:20:34 -0400 Received: from fhigh-b6-smtp.messagingengine.com ([202.12.124.157]:37839) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tw2WL-00085c-An for control@debbugs.gnu.org; Sat, 22 Mar 2025 13:20:30 -0400 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id 7180E254011B for ; Sat, 22 Mar 2025 13:20:23 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Sat, 22 Mar 2025 13:20:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:content-type:date:date:from:from:in-reply-to:message-id :reply-to:subject:subject:to:to; s=fm3; t=1742664023; x= 1742750423; bh=l3YNONDFRTHak+25SDvXwIPhDuCM1U4PnfWcDikA5UU=; b=Z qpmdRYWuzIqfBFXfzEOf7bCH6qRqni9lbIWNSQST1Ic84hUngR2aZQ5tDWd4LZSk iHBg27YbI72gtXjOgkLSMrb8APNf5XbxaO5OUgFpejAZecj5k82GVhlGiO0MWzfb jNaysDLXHwOlljdbmuiEp78juovzUuR3IG09OEOZtejIv33fsfrQSZbjMxzHK0/m EcVQmnDuyxr2wSdGVs2lDGVhwPHWPhOJNsiC1gmzo+Eu4+lqu+F0VNFIWW4DUdxC Z+/QjvtqXYs0Tjd6Bj1bUXRwKQMz91IIQv6AxJGHww4tS9i8Iccu80AZei4K2yaa tp7omFLQkTi8ZZ5v7hJ8g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1742664023; x=1742750423; bh=l3YNONDFRTHak+25SDvXwIPhDuCM 1U4PnfWcDikA5UU=; b=XUpsbZGZyOUObYgICH4tv9jxUHkF2kyzPJH6lsdWRV85 N/3THt2Pdldcxc0KBIyFRGz8ospZvYD+v1ppOHJ91JThA9kJsRl4DuniKSd0ktXw +Db9kuJcoWEtI2mYWlclEJm6Mbz5eAlrs+LVkYY4wHH4bVieqrUDo5LJR5s91DEm 7K4XeW6qgUFwyzAqOvfNmqVw9AXDWWMfFEepX1/TGYFLCmAOCM6EmeizeBQesERb VjPfDDcU77QPzq3LAqRVZpLIZQcY574kzhjJHnOuiFKCY875G4lY45H2o6g0VOR5 5IDAdBEg4OMWj2Ffs0WyFB+AAIOp2MKqWwAtEQfUuA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduheegheehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffkf fvhffusedttdertddttddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvght rhhoshhpvggtrdhtvheqnecuggftrfgrthhtvghrnhepteekjefhfefhteeigeekheehve dvfefggfegvefftddvudefheeigfetieeuheeknecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepihgrnhesrhgvthhrohhsphgvtgdrthhvpdhnsg gprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegtohhnthhr ohhlseguvggssghughhsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 22 Mar 2025 13:20:22 -0400 (EDT) Date: Sat, 22 Mar 2025 10:20:20 -0700 Message-Id: <875xk1htij.fsf@retrospec.tv> To: control@debbugs.gnu.org From: Ian Eure Subject: control message for bug #77187 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) close 77187 quit