FS#67703 - [sysstat] Man pages are compressed and have the wrong file name

Attached to Project: Community Packages
Opened by Florian Sutter (Florian_Sutter) - Monday, 24 August 2020, 17:47 GMT
Last edited by Christian Rebischke (Shibumi) - Saturday, 07 November 2020, 19:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
The manpages from this package are compressed(gzip) and have the wrong file name(*.gz.xz).
Unless the man page is manually extracted and renamed you cant read it.


Additional info:
* Version: 12.4.0-1


Steps to reproduce:
Try to open the man page for any tool included. For example man iostat.
This task depends upon

Closed by  Christian Rebischke (Shibumi)
Saturday, 07 November 2020, 19:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  12.4.0-2
Comment by Florian Sutter (Florian_Sutter) - Monday, 24 August 2020, 17:53 GMT
I forgot to add the packagename to the title.
The package with the bug is sysstat, if needed i can reopen the report.
Comment by loqs (loqs) - Monday, 24 August 2020, 19:55 GMT
If you apply [1] and add --disable-compress-manpg to the configure options does that resolve the issue?

From the output of configure the --enable-yesterday, --enable-install-isag, --disable-man-group options are no longer supported.

[1] https://github.com/sysstat/sysstat/commit/fe7e338e20f5f533d460f9151eba20250857c350
Comment by Florian Sutter (Florian_Sutter) - Monday, 24 August 2020, 22:09 GMT
I tested the patches and added the --disable-compress-manpg build option.
With the patches and the option the issue is gone.

I haven't removed the --enable-yesterday, --enable-install-isag, --disable-man-group options.
Comment by Alex Xu (Hello71) - Sunday, 18 October 2020, 02:25 GMT
seems like this is still an issue. can we have this patch backported locally?
Comment by Christian Rebischke (Shibumi) - Saturday, 07 November 2020, 09:47 GMT
Hi everybody,
sorry for the late reply.
I tried applying the `--disable-compress-manpg` option, but looks like it still doesn't work:

❯ man iostat
man: warning: /usr/share/man/man1/iostat.1.xz.gz: ignoring bogus filename
No manual entry for iostat

This applies for:

conf_dir=/etc/conf.d ./configure --prefix=/usr \
--enable-yesterday \
--mandir=/usr/share/man \
--enable-install-isag \
--enable-install-cron \
--enable-copy-only \
--disable-man-group \
--disable-compress-manpg


as well for:

conf_dir=/etc/conf.d ./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-install-cron \
--enable-copy-only \
--disable-compress-manpg
Comment by Jakub Klinkovský (lahwaacz) - Saturday, 07 November 2020, 10:27 GMT
Shibumi, did you apply the patch linked by loqs above?
Comment by Christian Rebischke (Shibumi) - Saturday, 07 November 2020, 13:28 GMT
@jakub ahh that was meant as patch.. I thought he is just highlighting via a code example that we should use the configuration flag. Thanks. I will have a look at it.

Loading...