GNU bug report logs - #57008
[PATCH] gnu: perf-tools: Patch executable paths

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Olivier Dion <olivier.dion@HIDDEN>; Keywords: patch; dated Fri, 5 Aug 2022 15:50:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Aug 2022 15:49:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 05 11:49:54 2022
Received: from localhost ([127.0.0.1]:60321 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oJzaE-00009j-Cx
	for submit <at> debbugs.gnu.org; Fri, 05 Aug 2022 11:49:54 -0400
Received: from lists.gnu.org ([209.51.188.17]:44094)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <olivier.dion@HIDDEN>) id 1oJza9-00009Y-FS
 for submit <at> debbugs.gnu.org; Fri, 05 Aug 2022 11:49:53 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35248)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <olivier.dion@HIDDEN>)
 id 1oJza7-0000uf-UF
 for guix-patches@HIDDEN; Fri, 05 Aug 2022 11:49:49 -0400
Received: from smtp.polymtl.ca ([132.207.4.11]:33886)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <olivier.dion@HIDDEN>)
 id 1oJza5-0003zo-Hh; Fri, 05 Aug 2022 11:49:46 -0400
Received: from laura.hitronhub.home (modemcable094.169-200-24.mc.videotron.ca
 [24.200.169.94]) (authenticated bits=0)
 by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 275FnWfN015868
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); 
 Fri, 5 Aug 2022 11:49:40 -0400
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 275FnWfN015868
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca;
 s=default; t=1659714580;
 bh=5hqby6MGkPC4mV0/TZs3G2L2Y/NZwrDSqJ3V4laA+ug=;
 h=From:To:Cc:Subject:Date:From;
 b=vTVeKJ55PQHesbmrElB0IqgLIekuogz92ujxYJKzZGRYag7P/e9CD5YLaLUZgbkD8
 OwVLp7TfUfsWcV3DnSj6dKd02BbQUkDZNhSHjRAQp63lhkiE7cZymn47E27OkExrvW
 317WMEWkQZRJYWKaP1JN4YtH7X6BqjQF+wv4rDIc=
From: Olivier Dion <olivier.dion@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: perf-tools: Patch executable paths
Date: Fri,  5 Aug 2022 11:49:26 -0400
Message-Id: <0c2a00011b37de03efc17626123ce1571b103c7a.1659714518.git.olivier.dion@HIDDEN>
X-Mailer: git-send-email 2.37.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at
 Fri, 5 Aug 2022 15:49:32 +0000
Received-SPF: pass client-ip=132.207.4.11;
 envelope-from=olivier.dion@HIDDEN; helo=smtp.polymtl.ca
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Olivier Dion <olivier.dion@HIDDEN>, othacehe@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

* gnu/packages/instrumentation.scm (perf-tools): Add patch phase.
[phases]: Add patch-paths.
---
 gnu/packages/instrumentation.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
index f52cf11505..95724f976b 100644
--- a/gnu/packages/instrumentation.scm
+++ b/gnu/packages/instrumentation.scm
@@ -308,7 +308,15 @@ (define-public perf-tools
                (base32 "1ab735idi0h62yvhzd7822jj3555vygixv4xjrfrdvi8d2hhz6qn"))))
     (build-system copy-build-system)
     (arguments
-     `(#:install-plan
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-paths
+           (lambda _
+             (substitute* '("execsnoop" "killsnoop" "kernel/funcslower")
+               (("/usr/bin/gawk") (which "awk")))
+             (substitute* '"execsnoop"
+               (("/usr/bin/getconf") (which "getconf"))))))
+       #:install-plan
        ',(append
           (map (cut list <> "bin/")
                '("disk/bitesize"
-- 
2.37.1





Acknowledgement sent to Olivier Dion <olivier.dion@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#57008; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 5 Aug 2022 16:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.