Description of problem: man coan shows junk characters Version-Release number of selected component (if applicable): coan-5.1-3.fc18.x86_64 How reproducible: I found out that the manpage file is double-gzipped, and man performs only one decompression. Steps to Reproduce: wget http://fedora.mirror.nexicom.net/linux/releases/20/Everything/x86_64/os/Packages/c/coan-5.1-3.fc18.x86_64.rpm rpm2cpio coan-5.1-3.fc18.x86_64.rpm | cpio -idmv ls -la ./usr/share/man/man1/coan.1.1.gz file ./usr/share/man/man1/coan.1.1.gz gunzip ./usr/share/man/man1/coan.1.1.gz ls -la ./usr/share/man/man1/coan.1.1 file ./usr/share/man/man1/coan.1.1 mv ./usr/share/man/man1/coan.1.1 ./usr/share/man/man1/coan.1.gz gunzip ./usr/share/man/man1/coan.1.gz ls -la ./usr/share/man/man1/coan.1 file ./usr/share/man/man1/coan.1 Actual results: Man page is double-gzipped, I was able to decompress it twice. When using this file for "man coan", junk characters are shown. Expected results: Man page should be compressed only once. "man coan" should show "coan - C/C++ configuration analyser" and so on. Additional info: I observed this when rebuilding the package coan-5.2-2.fc21.src.rpm from Rawhide on CentOS 6.5. Found out that coan-5.1-3.fc18.x86_64 from Fedora 20 is also affected with this. I found out that if coan.1 is installed in "make install" instead of coan.1.gz, the invocation of "man coan" shows the right text. coan.spec and new patch are attached.
Created attachment 911602 [details] coan.spec for building coan-5.2 from Rawhide
Created attachment 911603 [details] Patch to man/Makefile.am to install coan.1 instead of coan.1.gz
Created attachment 911604 [details] double gunzip of coan.1.1.gz Here is how I was able to gunzip coan.1.1.gz twice.
Additional info: When I rebuild coan-5.2-2.fc21.src.rpm, I see a message that shows me that coan.1.gz is installed as ./usr/share/man/man1/coan.1.1; then, rpmbuild compresses it further, because the file does not have the right extension already. I modified the Makefile.am to install coan.1 in "make install" instead of coan.1.gz, and added autoreconf invocation so that my change is picked up. In the rpm package, coan.1.gz is stored, because rpmbuild compresses manpages on its own. This way, manpage is compressed only once, and "man coan" works properly.
This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.