From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id zt8JL3ewsV9kSQAA0tVLHw (envelope-from ) for ; Sun, 15 Nov 2020 22:49:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SKJeKnewsV+hfQAAB5/wlQ (envelope-from ) for ; Sun, 15 Nov 2020 22:49:27 +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 4B75E94006E for ; Sun, 15 Nov 2020 22:49:27 +0000 (UTC) Received: from localhost ([::1]:45918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keQpo-0003Sv-PZ for larch@yhetil.org; Sun, 15 Nov 2020 17:49:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keQpS-0003RV-KW for bug-guix@gnu.org; Sun, 15 Nov 2020 17:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keQpS-0003nJ-AQ for bug-guix@gnu.org; Sun, 15 Nov 2020 17:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1keQpS-00024Y-8v for bug-guix@gnu.org; Sun, 15 Nov 2020 17:49:02 -0500 Subject: bug#39272: `man -H` doesn't use absolute path to groff Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sun, 15 Nov 2020 22:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 39272 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: pkill9 Mail-Followup-To: 39272@debbugs.gnu.org, maxim.cournoyer@gmail.com, pkill9@runbox.com Received: via spool by 39272-done@debbugs.gnu.org id=D39272.16054805387950 (code D ref 39272); Sun, 15 Nov 2020 22:49:02 +0000 Received: (at 39272-done) by debbugs.gnu.org; 15 Nov 2020 22:48:58 +0000 Received: from localhost ([127.0.0.1]:54509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keQpN-00024A-SB for submit@debbugs.gnu.org; Sun, 15 Nov 2020 17:48:58 -0500 Received: from mail-qt1-f170.google.com ([209.85.160.170]:40124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keQpL-00023v-Af for 39272-done@debbugs.gnu.org; Sun, 15 Nov 2020 17:48:56 -0500 Received: by mail-qt1-f170.google.com with SMTP id p12so11471129qtp.7 for <39272-done@debbugs.gnu.org>; Sun, 15 Nov 2020 14:48:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=lCqXYB+TVYfcLXF2Y1q6i4vOEFsQdGWFnQGiVTHH/08=; b=BXHNNJg+/96w6gerrs7b/FpSsfuBQjd0DytFpBuOvpmqLkaeaopWqEcj3gswsRS3Cl fEqEQMJpCJkQhL291csmMjVIP52mdX/I07I62ZmxXwczwrm9BjRE1nNeGg8KJOzGTSUu di6BoJ/LMRs9enPrDFqS7k58wa4wXBhzEfyFqRwEEO1ph9wBIhNlwDBVPK4id04rCjms k2o35lfqmD2O6I5fusfUjmN7R+bHbzt8PQ0ii/7Fz/ByIgjO0BfYHiEx0J7Zt2BRmVOW oN/WxWXoko1uXpV7/ayuQmZy087MfYL2t6sh76w3NqLO17mhQ+l0Wld2SXeMyysoifBy ML4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=lCqXYB+TVYfcLXF2Y1q6i4vOEFsQdGWFnQGiVTHH/08=; b=EpfyG+FOYPffLMDwy7wDg1rSpI4CEnYM2pZiSaiPr83MCxtftvtsIml9DyrC41AATk XDNPzRWOcXaJvgFI9Jmn7mOTZV3dr5sPOQY0Ej32pyqkDiucnk6yF829MGN6aEl1ec7d mnyvLv2Tieahxm2Tzjt+ctGI8DQkHwTjluMeHiamiT/Y3umak7ejt4H56Bub3nmPWNXd qGz0DtUWczKb+FwNOoRMhAFXnbcDcdD0Lo1kBquebDVU6K4T8yXph43xD5fZJ8zpPvgW /m006HJDpeXcNBe1GX+BANjir7GmH0E0so8gzXXL0SlRSSFpZtaP0Wp/7KjGJ+LRDb4Y G8GQ== X-Gm-Message-State: AOAM530tBmx8WhPwIW0BK/5PhrdnOLxGGs9JbngrqcRJrJEQGG4K2jOT C5gmxFK041/eUcui8F35eSlWnGqPB3o= X-Google-Smtp-Source: ABdhPJxgNYThn4bYDQ8Lj4AC2YS44IBY5uXq0JxCXlUbL1BO3aJ9aUMo6j+gih+L2ecZhHvmf0GFcg== X-Received: by 2002:ac8:130d:: with SMTP id e13mr11674134qtj.3.1605480529558; Sun, 15 Nov 2020 14:48:49 -0800 (PST) Received: from hurd (dsl-10-128-91.b2b2c.ca. [72.10.128.91]) by smtp.gmail.com with ESMTPSA id w192sm11239991qkb.17.2020.11.15.14.48.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Nov 2020 14:48:48 -0800 (PST) From: Maxim Cournoyer References: <20200124203435.362c5dbc@runbox.com> Date: Sun, 15 Nov 2020 17:48:47 -0500 In-Reply-To: <20200124203435.362c5dbc@runbox.com> (pkill9@runbox.com's message of "Fri, 24 Jan 2020 20:34:35 +0000") Message-ID: <87zh3idynk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 39272-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=BXHNNJg+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: +4ImaWEDyD2k Hello pkill9, pkill9 writes: > when running `man -H curl`, I get the following output: > > ``` > man: command exited with status 255: (cd /tmp/hmanCnZGIK && > /gnu/store/l9j6dsfs2i4spfkia492wnighplvhb1c-man-db-2.9.0/libexec/man-db/zsoelim) > | (cd /tmp/hmanCnZGIK && > /gnu/store/l9j6dsfs2i4spfkia492wnighplvhb1c-man-db-2.9.0/libexec/man-db/manconv > -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /tmp/hmanCnZGIK && > /gnu/store/5sd2yanrfv9pq8mvnf4c6pga11r6x7qh-groff-minimal-1.22.4/bin/preconv > -e UTF-8) | (cd /tmp/hmanCnZGIK && > /gnu/store/5sd2yanrfv9pq8mvnf4c6pga11r6x7qh-groff-minimal-1.22.4/bin/tbl) > | (cd /tmp/hmanCnZGIK && groff -mandoc -Thtml) > ``` > > When I go into a guix environment containing groff however, it works. > Looking at the command `man -H` tries to use, it needs an absolute path > to groff. I looked into this but it turns out that our man-db package is carefully crafted not to refer to the full groff package to reduce its closure size by more than half. I think you'll have to live with installing groff manually to get the HTML feature, or alter the man-db definition to your particular needs. If this issue comes back often, we could revisit this choice and use the full groff, which would mean adding about 50 MiB to the closure of the bare-bones.tmpl system. Closing, Thanks for the report! Maxim