* bug#39272: `man -H` doesn't use absolute path to groff
@ 2020-01-24 20:34 pkill9
2020-11-15 22:48 ` Maxim Cournoyer
0 siblings, 1 reply; 3+ messages in thread
From: pkill9 @ 2020-01-24 20:34 UTC (permalink / raw)
To: 39272
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#39272: `man -H` doesn't use absolute path to groff
2020-01-24 20:34 bug#39272: `man -H` doesn't use absolute path to groff pkill9
@ 2020-11-15 22:48 ` Maxim Cournoyer
2020-11-17 16:09 ` zimoun
0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2020-11-15 22:48 UTC (permalink / raw)
To: pkill9; +Cc: 39272-done
Hello pkill9,
pkill9 <pkill9@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#39272: `man -H` doesn't use absolute path to groff
2020-11-15 22:48 ` Maxim Cournoyer
@ 2020-11-17 16:09 ` zimoun
0 siblings, 0 replies; 3+ messages in thread
From: zimoun @ 2020-11-17 16:09 UTC (permalink / raw)
To: Maxim Cournoyer, pkill9; +Cc: 39272-done
Hi Maxim,
On Sun, 15 Nov 2020 at 17:48, Maxim Cournoyer <maxim.cournoyer@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-17 16:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-24 20:34 bug#39272: `man -H` doesn't use absolute path to groff pkill9
2020-11-15 22:48 ` Maxim Cournoyer
2020-11-17 16:09 ` zimoun
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).