GNU bug report logs - #39272
`man -H` doesn't use absolute path to groff

Previous Next

Package: guix;

Reported by: pkill9 <pkill9 <at> runbox.com>

Date: Fri, 24 Jan 2020 20:36:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39272 in the body.
You can then email your comments to 39272 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#39272; Package guix. (Fri, 24 Jan 2020 20:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to pkill9 <pkill9 <at> runbox.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 24 Jan 2020 20:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: pkill9 <pkill9 <at> runbox.com>
To: bug-guix <at> gnu.org
Subject: `man -H` doesn't use absolute path to groff
Date: Fri, 24 Jan 2020 20:34:35 +0000
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.




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sun, 15 Nov 2020 22:49:02 GMT) Full text and rfc822 format available.

Notification sent to pkill9 <pkill9 <at> runbox.com>:
bug acknowledged by developer. (Sun, 15 Nov 2020 22:49:02 GMT) Full text and rfc822 format available.

Message #10 received at 39272-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: pkill9 <pkill9 <at> runbox.com>
Cc: 39272-done <at> debbugs.gnu.org
Subject: Re: bug#39272: `man -H` doesn't use absolute path to groff
Date: Sun, 15 Nov 2020 17:48:47 -0500
Hello pkill9,

pkill9 <pkill9 <at> runbox.com> 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




Information forwarded to bug-guix <at> gnu.org:
bug#39272; Package guix. (Tue, 17 Nov 2020 16:11:02 GMT) Full text and rfc822 format available.

Message #13 received at 39272-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, pkill9 <pkill9 <at> runbox.com>
Cc: 39272-done <at> debbugs.gnu.org
Subject: Re: bug#39272: `man -H` doesn't use absolute path to groff
Date: Tue, 17 Nov 2020 17:09:40 +0100
Hi Maxim,

On Sun, 15 Nov 2020 at 17:48, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:

>> 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.

I do not know if it is related but #38838:

  <http://issues.guix.gnu.org/issue/38838>


All the best,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 16 Dec 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 124 days ago.

Previous Next


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