From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gchBAF3ZdmE1ZwAAgWs5BA (envelope-from ) for ; Mon, 25 Oct 2021 18:20:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UHTSNlzZdmHKMwAAbx9fmQ (envelope-from ) for ; Mon, 25 Oct 2021 16:20:44 +0000 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 EC02C141CB for ; Mon, 25 Oct 2021 18:20:43 +0200 (CEST) Received: from localhost ([::1]:58060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mf2iJ-0001ZB-2M for larch@yhetil.org; Mon, 25 Oct 2021 12:20:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf2he-0001XK-NR for guix-patches@gnu.org; Mon, 25 Oct 2021 12:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60795) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mf2he-0002iE-EG for guix-patches@gnu.org; Mon, 25 Oct 2021 12:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mf2he-0001an-8K for guix-patches@gnu.org; Mon, 25 Oct 2021 12:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51389] [PATCH] gnu: lttng-tools: Patch default man path. Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Oct 2021 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51389 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51389@debbugs.gnu.org Cc: Olivier Dion X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16351787526046 (code B ref -1); Mon, 25 Oct 2021 16:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Oct 2021 16:19:12 +0000 Received: from localhost ([127.0.0.1]:44105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf2gq-0001ZQ-Go for submit@debbugs.gnu.org; Mon, 25 Oct 2021 12:19:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:60490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf2go-0001ZJ-Sy for submit@debbugs.gnu.org; Mon, 25 Oct 2021 12:19:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf2go-0000qv-MY for guix-patches@gnu.org; Mon, 25 Oct 2021 12:19:10 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:58713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf2gi-0001pp-B0 for guix-patches@gnu.org; Mon, 25 Oct 2021 12:19:10 -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 19PGIk0d010852 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 25 Oct 2021 12:18:56 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 19PGIk0d010852 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1635178736; bh=XwqJLu8hAUHrmjqdVGF/1eDDXfV4cFjFyYGbuqh5eT0=; h=From:To:Cc:Subject:Date:From; b=tb5SrQI/kJdSfUtzQqPQFB/hKuUM1z4/bVddUvqph+OjpOelzKosKWiQ+pLQBGlS7 wevuS2OVO1b8wNFtzyXr+mH8BdpFoShuhNjMcWe3eKQi6E9FwTYGFBKKyvcwTav5Pi Kxx6FvOGIMAz+wPwZx6xKCOdqiRfqKhLJS99CgMo= Date: Mon, 25 Oct 2021 12:18:43 -0400 Message-Id: <20211025161843.7507-1-olivier.dion@polymtl.ca> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Mon, 25 Oct 2021 16:18:46 +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, T_SPF_TEMPERROR=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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635178844; 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=XwqJLu8hAUHrmjqdVGF/1eDDXfV4cFjFyYGbuqh5eT0=; b=kGf3xCotx3RrLAZPq0ZhF8/2/OFjEEffyzT/ud4DLcKT4diPdlZv1s8NOLZ2iITwY9Wf/a nX4Ra0ALYF7AZjvefqO+UlopiLZfAqbLfz+pnCTcV2gKiY3FoHrhMiam+dqBKMyC9uHZ5e wfbNleTQ+6UrWI1B5A/isKU23bFQXGqFcr8LdxjG71WcFbU0UUEyPizMCarv1n0/eEz4v/ BIeV8Dm4L5TcOlvEzjq/jutL4jPL8ayKOaRYBywD1OZ/NdgdfOuWKZ9kra3nCVhWr2efoI cBrfTCIUpNGucj7xbF1bF+Q8DSzjq4pwa0j47TxOhHcMFHjOxsVgJ20F+rvlaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635178844; a=rsa-sha256; cv=none; b=aY9yLVFc2qp9Mz5ivl7sL1GDuLHmjP7DbuCvdnMOeToxipwkS0GHDgx0XU2g83tDG5L76r GhRRPcRVxmmB0siyp0wU6MwMdg7UCm55MldXb1yy5qSu4RXoGVLz0M1Wg3IdUcLuZOg2Po NjHP6PS3SPeVcBTOy4BBQjFM36cZHaP2aMdfQyksPwnNSgNiO4nSu5KYyqFn4W+v3tdBUq CgOzJJyhoBPnWGucIRyBhxHo1V0pryJyCTwleW2nJSniSUS+4UgH45mcIHID4Yk8Al36yt SNf9hdScJevu2VEjzqYqxc7FnbER7RP9gkQxRkcj/gC/G1pR9j62QF5ScMLm1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b="tb5SrQI/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b="tb5SrQI/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EC02C141CB X-Spam-Score: 1.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: g8MSGguyUrT/ * gnu/packages/linux.scm (lttng-tools) [arguments]: Add 'patch-default-man-path after 'unpack phase. --- gnu/packages/linux.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 61ec6d8657..3b4da16d78 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -8167,7 +8167,12 @@ (define-public lttng-tools (add-before 'configure 'set-environment-variables (lambda _ (setenv "HOME" "/tmp") - (setenv "LTTNG_HOME" "/tmp")))))) + (setenv "LTTNG_HOME" "/tmp"))) + ;; We don't put (which "man") here because LTTng uses execlp. + (add-after 'unpack 'patch-default-man-path + (lambda _ + (substitute* "src/common/defaults.h" + (("/usr/bin/man") "man"))))))) ;; NOTE - Users have to install python-3 in their profile to use the ;; bindings. We don't put it in the inputs, because the rest of the tools ;; can work without it. -- 2.33.1