Welcome to CRUX bug tracking.
FS#1645 - pkgmk: ignores failures when compressing manuals
Attached to Project:
CRUX
Opened by Fun (fun) - Monday, 09 April 2018, 13:39 GMT
Last edited by Predrag Ivanovic (pedja) - Monday, 18 March 2019, 14:59 GMT
Opened by Fun (fun) - Monday, 09 April 2018, 13:39 GMT
Last edited by Predrag Ivanovic (pedja) - Monday, 18 March 2019, 14:59 GMT
|
DetailsSee
compress_manpages() is called when: gpg.1 exists gpg.1.gz symlink to non-existing gpg.2.gz The first loop from that function tries to compress all .N manuals to .N.gz. In this case, it fails with the following message: gzip: ./usr/share/man/man1/gpg.1.gz already exists; not overwritten The second loop, which tries to rename X.N -> Y.N functions to X.N.gz -> Y.N.gz, ignores this case because the target (gpg.2.gz) is missing. Ignoring the gzip error code from the first loop in this case is harmless, apart from prtcheckmissing showing /usr/share/man/man1/gpg.1.gz as missing, but I wonder if we should exit on such errors (it might break other builds). |
This task depends upon