Bug 1992612 - E: invalid-lc-messages-dir /usr/share/locale/ber/LC_MESSAGES/shutter.mo
Summary: E: invalid-lc-messages-dir /usr/share/locale/ber/LC_MESSAGES/shutter.mo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-11 12:37 UTC by MartinKG
Modified: 2021-08-20 01:21 UTC (History)
4 users (show)

Fixed In Version: rpmlint-1.11-18.fc34
Clone Of:
Environment:
Last Closed: 2021-08-20 01:21:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description MartinKG 2021-08-11 12:37:19 UTC
Description of problem:
rpmlint complains about a invalid lc message directory

shutter.noarch: E: invalid-lc-messages-dir /usr/share/locale/ber/LC_MESSAGES/shutter.mo

Version-Release number of selected component (if applicable):
rpmlint-1.11-17.fc34.noarch
rpmlint-2.0.0-5.fc35.noarch

How reproducible:
rpmlint -v ../RPMS/noarch/shutter-0.98-2.fc35.noarch.rpm

Actual results:
E: invalid-lc-messages-dir /usr/share/locale/ber/LC_MESSAGES/shutter.mo

Expected results:
no error message

Additional info:
same error with a other fedora package

rpmlint -v ../RPMS/noarch/lightdm-settings-1.5.5-1.fc34.noarch.rpm 
lightdm-settings.noarch: W: no-manual-page-for-binary lightdm-settings
lightdm-settings.noarch: E: invalid-lc-messages-dir /usr/share/locale/ber/LC_MESSAGES/lightdm-settings.mo

Comment 1 Tom "spot" Callaway 2021-08-17 21:39:28 UTC
Okay, so, "ber" is not a valid ISO-639-3 alpha-3 language code. It is, however, a valid ISO-639-2 alpha-3 code. The reason it is not in ISO-639-3 is because ISO-639-3 does not include any of the "collective language codes" from ISO-639-2.

Anyways, the missing codes is a legit rpmlint bug, so I made a pull-request to fix it:
https://github.com/rpm-software-management/rpmlint/pull/689

Comment 2 Fedora Update System 2021-08-18 16:34:40 UTC
FEDORA-2021-237091ba68 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-237091ba68

Comment 3 Tom "spot" Callaway 2021-08-18 16:35:18 UTC
Also fixed in 2.1.0-2 in F35+.

Comment 4 Fedora Update System 2021-08-19 01:42:33 UTC
FEDORA-2021-237091ba68 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-237091ba68`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-237091ba68

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-08-20 01:21:00 UTC
FEDORA-2021-237091ba68 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.