• Status New
  • Percent Complete
  • Task Type Bug Report
  • Category tools → pkgutils
  • Assigned To
  • Operating System CRUX
  • Severity Low
  • Priority Very Low
  • Reported Version 3.3
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: CRUX
Opened by fun - 09.04.2018
Last edited by pedja - 18.03.2019

FS#1645 - pkgmk: ignores failures when compressing manuals

See  FS#1644  first.
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).


Available keyboard shortcuts


Task Details

Task Editing