From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 26 13:33:46 2021 Received: (at submit) by debbugs.gnu.org; 26 Oct 2021 17:33:46 +0000 Received: from localhost ([127.0.0.1]:47448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfQKY-0006YR-2L for submit@debbugs.gnu.org; Tue, 26 Oct 2021 13:33:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:38234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfQKW-0006YJ-DK for submit@debbugs.gnu.org; Tue, 26 Oct 2021 13:33:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfQKW-0008NK-6Q for guix-patches@gnu.org; Tue, 26 Oct 2021 13:33:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfQKU-0002WV-UB; Tue, 26 Oct 2021 13:33:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=eCodT/LNswAzcJh1vnigMQw5lzE49f/P4URfsvGufSs=; b=nutXGnPWad6OxF 9nzCYS87VuCafXbMW/sWf20anL57Ra2J6nwl2PY5ux6nw6VvDaa1HG89enfnR4MeS1tsG7fD6PCWj Q8G1RzWNxLbQEfqWj1TMCyfLpGX7JK4BKjwzhRsvCrnQje8zLhGvl9voeQlCmX3HbtObl2YzB9zXO /sVO5umAAUSznGcMdjA+TPph5WFR0QcSaaxNuYhYZNySr4o8H8P7RHym4SRF0Wv5hsh2uBdLHpU2J Cd33VijcMvcKe8BPf+4kE6/8xLtGNNYBYU/IGXvLbnhxXpGZ14ATRyO2/FHvpZ+ejvnhcvmXyPjDO PzlIdZc5oeHBzkFLukkQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:54222 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfQKT-0005rP-H9; Tue, 26 Oct 2021 13:33:41 -0400 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: guix-patches@gnu.org Subject: [PATCH] profiles: Build the man database only if 'man-db' is in the profile. Date: Tue, 26 Oct 2021 19:33:28 +0200 Message-Id: <20211026173328.21511-1-ludo@gnu.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= 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: -3.3 (---) This allows us to skip the expensive man-db profile hook in most cases. Suggested by Liliana Marie Prikler . * guix/profiles.scm (manual-database/optional): New procedure. (%default-profile-hooks): Use it instead of 'manual-database'. --- guix/profiles.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) Hi! As y’all know, computing the manual page database is CPU- and I/O-intensive and thus a good candidate for removal, as discussed earlier¹. I would prefer to provide a replacement for the ‘man -k’ functionality, such as a Xapian-based full-text search². Now, this hasn’t materialized yet, but I feel it’s about time to remove that hook. The other day Liliana came with a smart idea on IRC: to build the database only when ‘man-db’ is also in the profile. It’s a good way to not quite make a decision :-), but it’s going to address the main pain point. Thoughts? Thanks, Ludo’. ¹ https://lists.gnu.org/archive/html/guix-devel/2020-12/msg00052.html Thread continues in January and March. ² https://lists.gnu.org/archive/html/guix-devel/2021-04/msg00027.html diff --git a/guix/profiles.scm b/guix/profiles.scm index 9f30349c69..ffdd5f57f6 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -1682,6 +1682,16 @@ (define man-directory `((type . profile-hook) (hook . manual-database)))) +(define (manual-database/optional manifest) + "Return a derivation to build the manual database of MANIFEST, but only if +MANIFEST contains the \"man-db\" package. Otherwise, return #f." + ;; Building the man database (for "man -k") is expensive and rarely used. + ;; Build it only if the profile also contains "man-db". + (mlet %store-monad ((man-db (manifest-lookup-package manifest "man-db"))) + (if man-db + (manual-database manifest) + (return #f)))) + (define (texlive-configuration manifest) "Return a derivation that builds a TeXlive configuration for the entries in MANIFEST." @@ -1784,7 +1794,7 @@ (define %default-profile-hooks ;; This is the list of derivation-returning procedures that are called by ;; default when making a non-empty profile. (list info-dir-file - manual-database + manual-database/optional fonts-dir-file ghc-package-cache-file ca-certificate-bundle base-commit: 0a42998a50e8bbe9e49142b21a570db00efe7491 -- 2.33.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 26 13:44:23 2021 Received: (at 51416) by debbugs.gnu.org; 26 Oct 2021 17:44:23 +0000 Received: from localhost ([127.0.0.1]:47472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfQUo-0006r6-Uy for submit@debbugs.gnu.org; Tue, 26 Oct 2021 13:44:23 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:44265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfQUn-0006qq-Gm for 51416@debbugs.gnu.org; Tue, 26 Oct 2021 13:44:21 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 4E7EB3200B58; Tue, 26 Oct 2021 13:44:15 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 26 Oct 2021 13:44:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=LepILkrHrrJ3lWJQmG58Q8/iKP+7eXDFMVGk5u8bJRs=; b=fGvGhGFykPyE yu/Ny6Z95hZc6fohSRmaRv02YYIrjYfJR8hsm+xlyzNeyYa1etgD5CtBddp5z4B+ pVwWXsgR6SpMaG5MgVKHrF23qYDGK5SPHwbxZzUk4Io8Baex+OW5OEjHr3VtN2LJ LsfxAVMO7HpRbyMqgqgYv7IH/ojuoDM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=LepILkrHrrJ3lWJQmG58Q8/iKP+7eXDFMVGk5u8bJ Rs=; b=nmlzU7z8fMOsOswTi1CJUbt+lbt4xtf3ayDEKuCzUMbZO/7oPcMYzKw94 YnhU+UJXXrUcx8wM4kJd0tVT64KPw/5Wzt+WEofYyFdu8rSTfq6gvq79QFB/vRWR LgbLWvQnsfamKWMvaTphZ+PcdmzYGwVQvvnw0kIo6OA6Vj8cnDIffwZmKc2luFF8 tWI+DuxJF5aKakq4xlcSJoIhgemtl3GRURNldUxcto0cQE/I5tQyr0nNgg1dknyA YbPB+H0maCB5tSjdd8cLEGCpyvBStN297dQ6K+Rxw3S/xqh2D2XXlL6BKRw+zDTX gnQHObWuuy+dz8tZhKMxmgfGr8ggg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefkedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtjeenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepgeejgeeghedtudfgffdutddvffefffejkeffffevffehgedvvdeutdffkeej jeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplh gvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Oct 2021 13:44:14 -0400 (EDT) Date: Tue, 26 Oct 2021 13:44:09 -0400 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: [bug#51416] [PATCH] profiles: Build the man database only if 'man-db' is in the profile. Message-ID: References: <20211026173328.21511-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211026173328.21511-1-ludo@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 51416 Cc: 51416@debbugs.gnu.org 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 (-) On Tue, Oct 26, 2021 at 07:33:28PM +0200, Ludovic Courtès wrote: > The other day Liliana came with a smart idea on IRC: to build the database > only when ‘man-db’ is also in the profile. It’s a good way to not quite > make a decision :-), but it’s going to address the main pain point. > > Thoughts? >From the user's perspective, what would change? Would `man foo` still work after installing foo? From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 26 17:51:13 2021 Received: (at 51416) by debbugs.gnu.org; 26 Oct 2021 21:51:13 +0000 Received: from localhost ([127.0.0.1]:47750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfULh-0007mA-C3 for submit@debbugs.gnu.org; Tue, 26 Oct 2021 17:51:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfULg-0007lu-1v for 51416@debbugs.gnu.org; Tue, 26 Oct 2021 17:51:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43248) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfULa-0006IA-7m; Tue, 26 Oct 2021 17:51:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=pZF9OnqTj/CS2PZVfIDRbeh299UY7tJXyPf6mKjwS30=; b=shGO0RtxHTP/5yCsVlkB QUYGIxlplZnrcXqcyb4g3xcJ3yqtvgKAol9BaCkvPXTWTZzQ/gw0I6kaTiQK/DUQ+hcvnMXk+K3rS l1PE0wty1qkNEEBryq+2A7VRczZMKJzO5BZ/cP2BhYMFlA9TUCcPHRnAJpgPOI6HEsDLnCldvR1Dp 4K620rMmh+7s8VkNGsQ3eGhLzk1eeIP2zLPmgBr/g53PnoYZWESUXC/R6cGJrep9Hs3D7xBySj/p3 nUpvaXCqZW3XMs2CJvkcIZBIGzgN87nqTk6+TcADGwV3894FJqFXTBgW6AW4oRk8RBNcKBbqGLC3V vz06i67F7NTgbw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:54228 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfULR-0006ms-9f; Tue, 26 Oct 2021 17:51:05 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Leo Famulari Subject: Re: bug#51416: [PATCH] profiles: Build the man database only if 'man-db' is in the profile. References: <20211026173328.21511-1-ludo@gnu.org> Date: Tue, 26 Oct 2021 23:50:54 +0200 In-Reply-To: (Leo Famulari's message of "Tue, 26 Oct 2021 13:44:09 -0400") Message-ID: <87bl3bihfl.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51416 Cc: 51416@debbugs.gnu.org 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: -3.3 (---) Leo Famulari skribis: > On Tue, Oct 26, 2021 at 07:33:28PM +0200, Ludovic Court=C3=A8s wrote: >> The other day Liliana came with a smart idea on IRC: to build the databa= se >> only when =E2=80=98man-db=E2=80=99 is also in the profile. It=E2=80=99s= a good way to not quite >> make a decision :-), but it=E2=80=99s going to address the main pain poi= nt. >>=20 >> Thoughts? > >>>From the user's perspective, what would change? Would `man foo` still > work after installing foo? Yes. What wouldn=E2=80=99t work, unless =E2=80=98man-db=E2=80=99 is in the= same profile, is =E2=80=98man -k whatever=E2=80=99: https://guix.gnu.org/manual/en/html_node/Documentation.html On Guix System, the system profile does include man-db by default. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 26 18:45:12 2021 Received: (at 51416) by debbugs.gnu.org; 26 Oct 2021 22:45:12 +0000 Received: from localhost ([127.0.0.1]:47843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfVBw-00013y-7s for submit@debbugs.gnu.org; Tue, 26 Oct 2021 18:45:12 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:52131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfVBt-0000uv-4F for 51416@debbugs.gnu.org; Tue, 26 Oct 2021 18:45:10 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id CA4255C01E2; Tue, 26 Oct 2021 18:45:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 26 Oct 2021 18:45:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=rD+VJEw9SWdnuzB8lGb1dBA7mM/CTbuvw7LD4bRh+uo=; b=w0oYzco7uW93 H/fV7DqIVhB+PWWjaiA+G1VVTKUHfPnNY5lhdGpApPLqmatdIv5SapCTiW2FJIfl KHq613Yl914VIYU3UnxEQwDlx22FVbMeadMcGTqKUblOyuK7IXuZZqI7iKb6PRCA vh9J9N2LAIOoQwWa3nOXqRjYKncxCec= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=rD+VJEw9SWdnuzB8lGb1dBA7mM/CTbuvw7LD4bRh+ uo=; b=W8MfONJqfFuH7xlWp4PJgEjWLSNmjmEM4N4oY4MbulwI6s4XjeCO2dr92 qwbO2hq3cujfo38qsXP9mEuifE6+CKvfeD1hwbQRATOmVqKmQCxBbL6AZLrobuN4 TLho335BXjl6DTDIDTd4yewePketJAVhKeVw1/rGmkcq4HbB9eTM7Wq0fzIKPPtk FBqcu+8G3lHC3ecELvp40AptBrZRm53e9Er0y+JmxhgOnDMnZ05VyFy4Lad4NkNl zxlayFvLpAiZfsUfDCINutgSX/IImAa9Up3GV59RZx5ebtfVojtKlzocVVMD434Q nBb8pjP2a7E8Sik6FNQXTerbdHj8Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefledgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtjeenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepgfduffettedtkeekudfhgfefgfeifeegueeitedujeffleeiudeuieffgfdu gfdunecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Oct 2021 18:45:02 -0400 (EDT) Date: Tue, 26 Oct 2021 18:45:00 -0400 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#51416: [PATCH] profiles: Build the man database only if 'man-db' is in the profile. Message-ID: References: <20211026173328.21511-1-ludo@gnu.org> <87bl3bihfl.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87bl3bihfl.fsf_-_@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 51416 Cc: 51416@debbugs.gnu.org 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 (-) On Tue, Oct 26, 2021 at 11:50:54PM +0200, Ludovic Courtès wrote: > Yes. What wouldn’t work, unless ‘man-db’ is in the same profile, is > ‘man -k whatever’: > > https://guix.gnu.org/manual/en/html_node/Documentation.html > > On Guix System, the system profile does include man-db by default. Wow, I never knew about that feature. I figured the database was necessary for `man foo`. +1 for this change! From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 27 06:29:17 2021 Received: (at 51416) by debbugs.gnu.org; 27 Oct 2021 10:29:17 +0000 Received: from localhost ([127.0.0.1]:48464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfgBJ-0006Ay-H5 for submit@debbugs.gnu.org; Wed, 27 Oct 2021 06:29:17 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:40529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfgBH-0006Aj-Db for 51416@debbugs.gnu.org; Wed, 27 Oct 2021 06:29:16 -0400 Received: by mail-lj1-f173.google.com with SMTP id i26so1975340ljg.7 for <51416@debbugs.gnu.org>; Wed, 27 Oct 2021 03:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=s03ypVWWG/lm3T+4FRDwE0MEN0sC4be/IPOzlaEZU2g=; b=AGcK8392BosYt74Adluw5I5VjVCvx/O4AZo7d7TDSpUB7hoUK8gYGw63XfvwqrBNqg 21gUjCTUfiTUIiNunpvcg1t+Ta4md8+eW4VPCYM1RRhMO3wN+5r6AAt0RhNY/t3FNopi h9ZeFBpW8kRq/ElPsDyilTae765ln9ku/YHtVCIb07vr8YoXkDhPMjSvI+YRP3Pd+6us 0wo/Ai0sP0/UtnEk5FNi+Kfy9GUs7Dv8G5wj9hOKu/9ytbtHE3k4FRRxfO+CN7DlFJT7 wMwyHmyjTu4woU9G8Nrt97gdAL2eBM3kHBNUtwgl0SVmIRHUQW9JqgF72NixSSP6URjO Ebkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=s03ypVWWG/lm3T+4FRDwE0MEN0sC4be/IPOzlaEZU2g=; b=eMr4Qcpid+VKCSg9muL9nTgnTbCt84M26Y76RhqREa42fnj7rd3DoRK9SKq+QoXShf G/Wzfe6m0qGxOIo+urPmGyJek9n7sJMNE93NqW01DesLY0Wc0OXiuvAvtqDmkMUOZbcK 90hC3BXq46th9s984oHi6DpEYllKfkq/0NgVmpIKJmZM8bMec7hRFFWs2jxyrKBeYW2C 4OzUW+0tuIYmrrgihn7XBns2N97HCnl5TUSsrefBTZOQPUgi9oYBETavgXtKh3Qrrcb1 N93jsTuFbMn3bqAJadQQ6MGalmj87G1oet/PZFQHBtC9oDMEBuxe/wPYtIRjhXUa72SH vB9w== X-Gm-Message-State: AOAM530eaz4Nwy0WsWYN9fnXHgULtBDPICvO0KsaGQLy5N4Qq+dYA3Md 7tArVC0rpdcYiKD17iz707iSMUkAPVs= X-Google-Smtp-Source: ABdhPJzOHUrkbxbJHwaG7kQLFfY22RyOv0pVMe058gx0t5G61JzMJ/7lCO5BwJqSuoSAgXz+UIGxaA== X-Received: by 2002:a2e:b016:: with SMTP id y22mr577058ljk.378.1635330549412; Wed, 27 Oct 2021 03:29:09 -0700 (PDT) Received: from guixsd ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id q10sm2191578lfu.68.2021.10.27.03.29.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 03:29:08 -0700 (PDT) From: Oleg Pykhalov To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#51416] [PATCH] profiles: Build the man database only if 'man-db' is in the profile. References: <20211026173328.21511-1-ludo@gnu.org> <87bl3bihfl.fsf_-_@gnu.org> Date: Wed, 27 Oct 2021 13:29:04 +0300 In-Reply-To: <87bl3bihfl.fsf_-_@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s?= =?utf-8?Q?=22's?= message of "Tue, 26 Oct 2021 23:50:54 +0200") Message-ID: <87o87a69sf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51416 Cc: 51416@debbugs.gnu.org, Leo Famulari 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.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Ludovic Court=C3=A8s writes: [=E2=80=A6] > https://guix.gnu.org/manual/en/html_node/Documentation.html > > On Guix System, the system profile does include man-db by default. We probably should add a line in the documentation about 'man -k' requirement on non Guix system, WDYT? Otherwise +1 for the change. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmF5KfAUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pwaPQ/+MXsJ0SiOFFn34EKRF8ZTXSGVJAIo WxVkZ6GCpaY8HcbHnUniStVF9F329q8gQYT+pweTb0L9ne0FhbUmH1aeInpEw+P+ uvhvc7xJkIMTLwx+H3GmlhDi7drSTGj1z6iJsqJlUzlFa1KoJgGZbF2dV6jp4suI qtDADlcJg4Ry3eOr3pqUckmXuE3D26Br/4iI4hxQXywVMD2xvhLgWaU0v1iTvYEk JvVVDyn37qj/Qdeqemg/xgwodTjTjSzHmAxjNYiRa6CnQWsxeY9cY/qDqsc1i10c xU3TIe6ZPgD80YvWwfm15j97ox8hIhB0kqhTx57LvQkh9M/HupuYX4Ls+BHgJFCD ULpDWdapEmIXyKfTi43XMjKIBeH7u6eZDmZd6hHNGULcakLjMFukTfV6n+iulBlC wjNCtfF75Y0ZrJshhhqXEzB2kvezKBdBIbEiEfGtYb2EI/quTDS+djCzlGAAx9dG fsmQ9PZDiGFOP1u8nN8XiGIuHiKY9OpMwEsfYms8bPi3PiI/JBlfMYbab7v+e/dA MR43rmswmycQxrfu2E5O30am0TaNf4MNQQ7otQyvg73Bno8bmU3xoBu8QXOw6Ubl fpcBIBX1z8JCs9SaQ6WqQle/XyzioZg830Q0KYKQXhtocJ6OY5NkXZtAr3wdRL3o ov+5k5QiAjSed18= =L8aJ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 27 10:04:09 2021 Received: (at 51416) by debbugs.gnu.org; 27 Oct 2021 14:04:10 +0000 Received: from localhost ([127.0.0.1]:50100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfjXF-0002aI-MZ for submit@debbugs.gnu.org; Wed, 27 Oct 2021 10:04:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfjXD-0002Z3-Q6 for 51416@debbugs.gnu.org; Wed, 27 Oct 2021 10:04:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfjX7-0005FR-CO; Wed, 27 Oct 2021 10:04:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=h1Y4P8ph0iWPm5iDN4s0xqrDjaXxzmPNQkU4b4I5XM4=; b=bWwtqdQWhpxwgY1K2jqV 0DCeOPNeFSy1U1p7G27w5F+Uo/mzN0a4gwXanKR3hy8fi4ia+Hey9SzbBgAMn52zyXVt8Bdb7Mgzs O6c4rGS1uRXnUlbIVxUaz1xIsYCgLRXChBPUAwkK/HM/+Rt7SMeIV0Uepb8KxZfqKZ4gdrsrxfbX5 wMWRM746hVMzXeg09laCwAIpXaRYLMGUghn52UtS0qlKQ8Yjxzo/lfsAJkOoHJM5nNinNBXS6Gn4f egnRhC5yOh0XJK+/G9z8GvUVi60oDqAuKeAuTA4f5dULHiUpffJDeaLeA0w39aFjcn/ud7qYdMDAU O/a0Es/EILHUhQ==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55006 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfjX6-0001C7-So; Wed, 27 Oct 2021 10:04:01 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Oleg Pykhalov Subject: Re: [bug#51416] [PATCH] profiles: Build the man database only if 'man-db' is in the profile. References: <20211026173328.21511-1-ludo@gnu.org> <87bl3bihfl.fsf_-_@gnu.org> <87o87a69sf.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Brumaire an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 27 Oct 2021 16:03:58 +0200 In-Reply-To: <87o87a69sf.fsf@gmail.com> (Oleg Pykhalov's message of "Wed, 27 Oct 2021 13:29:04 +0300") Message-ID: <874k92imy9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51416 Cc: 51416@debbugs.gnu.org, Leo Famulari 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: -3.3 (---) Hi, Oleg Pykhalov skribis: > Ludovic Court=C3=A8s writes: > > [=E2=80=A6] > >> https://guix.gnu.org/manual/en/html_node/Documentation.html >> >> On Guix System, the system profile does include man-db by default. > > We probably should add a line in the documentation about 'man -k' > requirement on non Guix system, WDYT? Otherwise +1 for the change. Yes, good idea, I=E2=80=99ll do that. Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 06 18:23:18 2021 Received: (at 51416-done) by debbugs.gnu.org; 6 Nov 2021 22:23:18 +0000 Received: from localhost ([127.0.0.1]:51017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjU5l-0002n8-N7 for submit@debbugs.gnu.org; Sat, 06 Nov 2021 18:23:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjU5W-0002m1-8N for 51416-done@debbugs.gnu.org; Sat, 06 Nov 2021 18:23:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjU5Q-0001tc-RH; Sat, 06 Nov 2021 18:22:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=YoolrUoJjJMHV5RCj2I71u+qmtMwVu2r4d3kiHGk3fQ=; b=dVSB6xVUDbalHneW5Oku jVRpsYhAmo2MIm7WPQIUaYBzCpaGE1rj4c6yljnDHo1gsZ/2gur9CuH7zRlYpQBr13sZ5VV1d6rhY WCoZeBuQTydfHaUNhjiYxdiXpwJIWnUSmBhecsUS5M2jk3hsZyuXIEARPa3EQftbLByP74bOFVe25 5k7G6n3vit0qal4lKulEjEqeFCss8nN897xoplSESjElF3bEpYfLjFO8WBRFYrCEmyeGX+DQImw3b 42o9/lAu2zhoKKyzEPNuI8H4fZHeI5V4lISAKak8J9MlFHeo8CXXJS9yP9MgmrVt8bT03BZjRq3ht HheCZnd+y5aq2A==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55530 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjU5Q-0007oV-HJ; Sat, 06 Nov 2021 18:22:56 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Oleg Pykhalov Subject: Re: bug#51416: [PATCH] profiles: Build the man database only if 'man-db' is in the profile. References: <20211026173328.21511-1-ludo@gnu.org> <87bl3bihfl.fsf_-_@gnu.org> <87o87a69sf.fsf@gmail.com> <874k92imy9.fsf@gnu.org> Date: Sat, 06 Nov 2021 23:22:54 +0100 In-Reply-To: <874k92imy9.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 27 Oct 2021 16:03:58 +0200") Message-ID: <87r1bsly9t.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51416-done Cc: 51416-done@debbugs.gnu.org, Leo Famulari 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: -3.3 (---) Hi, Ludovic Court=C3=A8s skribis: > Oleg Pykhalov skribis: > >> Ludovic Court=C3=A8s writes: >> >> [=E2=80=A6] >> >>> https://guix.gnu.org/manual/en/html_node/Documentation.html >>> >>> On Guix System, the system profile does include man-db by default. >> >> We probably should add a line in the documentation about 'man -k' >> requirement on non Guix system, WDYT? Otherwise +1 for the change. > > Yes, good idea, I=E2=80=99ll do that. Done in 3c1158ac4e5ef825a9b9a229a233fabd7cef334e! Thanks, Ludo=E2=80=99. From unknown Sun Jun 15 09:00:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 05 Dec 2021 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator