Red Hat Bugzilla – Bug 485014
Do not use .mo suffix for gencat message catalogs, they're not Gettext MO files
Last modified: 2009-02-12 08:12:38 EST
Description of problem:
man installed man.mo in
But these are not Gettext MO files but gencat files.
This causes problems for any tool wanting to read and manipulate Gettext MO files.
Version-Release number of selected component (if applicable):
[dwayne@localhost F-10]$ msgunfmt /usr/share/locale/cs/LC_MESSAGES/man.mo
msgunfmt: file "/usr/share/locale/cs/LC_MESSAGES/man.mo" is not in GNU .mo format
These are not .mo files
They should not present themselves as .mo files
There doesn't seem to be a standard convention for suffixes in gencat files. But in the actual man code they use mess.$lang.cat - I would suggest either dropping 1) man.cat or 2) simply 'man'
A fixes is simple:
1) man-1.6f/msgs/inst.sh - should not remove the .cat suffix
2) man-1.6f-loc.patch - should not refer to .mo but .cat
3) man.spec should move the files to man.cat instead of man.mo
Thanks. Fixed in man-1.6f-15.fc11.