From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 aIEiA5E87WKHrQAAbAwnHQ (envelope-from ) for ; Fri, 05 Aug 2022 17:51:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sDMtA5E87WLlhQAA9RJhRA (envelope-from ) for ; Fri, 05 Aug 2022 17:51:45 +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 AAC221263E for ; Fri, 5 Aug 2022 17:51:44 +0200 (CEST) Received: from localhost ([::1]:59472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJzbz-0002xZ-JL for larch@yhetil.org; Fri, 05 Aug 2022 11:51:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJzaM-00010p-LQ for guix-patches@gnu.org; Fri, 05 Aug 2022 11:50:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42339) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJzaM-000426-8t for guix-patches@gnu.org; Fri, 05 Aug 2022 11:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJzaM-0000AD-1a for guix-patches@gnu.org; Fri, 05 Aug 2022 11:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57008] [PATCH] gnu: perf-tools: Patch executable paths Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Aug 2022 15:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57008 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57008@debbugs.gnu.org Cc: Olivier Dion , othacehe@gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1659714594607 (code B ref -1); Fri, 05 Aug 2022 15:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2022 15:49:54 +0000 Received: from localhost ([127.0.0.1]:60321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJzaE-00009j-Cx for submit@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 ) id 1oJza9-00009Y-FS for submit@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 ) id 1oJza7-0000uf-UF for guix-patches@gnu.org; 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 ) 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= Date: Fri, 5 Aug 2022 11:49:26 -0400 Message-Id: <0c2a00011b37de03efc17626123ce1571b103c7a.1659714518.git.olivier.dion@polymtl.ca> 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@polymtl.ca; 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-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: Olivier Dion X-ACL-Warn: , Olivier Dion via Guix-patches From: Olivier Dion via 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=1659714704; 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-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5hqby6MGkPC4mV0/TZs3G2L2Y/NZwrDSqJ3V4laA+ug=; b=CyiFjZf7UVKkkFSZ2ZjVaEmLPMq3qMY3aY4iKDZvlyDzwkF94ymh4w8294uGv8Trj1WQen pBoElmDbleYmhOLHxwymxfLI0OPRFVFYgrNEsOXWn0eUcRllEfa91VOlaliI3kM5LRddbm vpK2DTovyOxjrb0/zaJ+un+l5I6PPC81GswigqlyYzzbSK7NZKCzJTf/O/fFxVPgzhFqwp FrFG06kF0dH7gddgM9Gz8URJbHIWKiR8PKh/TJBLqfPzv3GNTbYQZF0kgrgB61Un1Yt410 MANac8GOyVQXa+caajBbeFLdUn/qMdgy8B2pm/sPPxRGM5qT1D4mCzrgQVe14Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659714704; a=rsa-sha256; cv=none; b=NJPYyxxZ/73+7v+DiUcKCfQM2IRPDo278vaXRR403nFchP2/aYYa5LIQvWKcWINjt2lKEx AcLXl1et6dRYkYW0TU7NVeiK8XLA87dqpIRsGpwGJLe2xbJ914iElzSk0s7FWVmke3Q4PK 4wmVyHkFlNAolM0HcJSlLhHMrXxuNcv7H9U96Do1Q2g+bSkW6UlypmbVMSR2+MPWKTdgaw eKpajsWspSVzEXMAzo7TqOyzpk5v5EA3p7+IOOSU8sSQMQR08rphU2qpyzIXAel/bnK6fL XN/rDz+oogmjlkGsxinrJESSCZ0gnMmBWDuVeiJa0pEdwJCb61Vh5RRIoXC6Ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b=vTVeKJ55; 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: -2.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b=vTVeKJ55; 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: AAC221263E X-Spam-Score: -2.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: ObWQqWTQyVs2 * 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