Description of problem: Rpmlint does not recognize 'ber' locale. Version-Release number of selected component (if applicable): rpmlint-1.9-6.fc26 How reproducible: 100% Steps to Reproduce: 1. Run rpmlint on a package providing 'ber'-locale. Actual results: E: invalid-lc-messages-dir /usr/share/locale/ber/LC_MESSAGES/ Expected results: Should be recognized as valid locale, since filesystem-package ships this. Additional info: 'ber' is a valid ISO 639-2 and ISO 639-5 language code. See: https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes#B
rpmlint's list of valid locale names is generated from the files shipped by (upstream) iso-codes, so problems with the data in it should be reported and fixed there.
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'.
Seems to still exist in Fedora 27.
This bug appears to have been reported against 'rawhide' during the Fedora 30 development cycle. Changing version to '30.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
This looks fixed to me already, even in RHEL 9 (which has iso-codes-4.6.0). ⬢ 9$ rpm -q iso-codes -l | xargs grep ber 2>/dev/null | grep Berber /usr/share/iso-codes/json/iso_15924.json: "name": "Tifinagh (Berber)", /usr/share/iso-codes/json/iso_639-2.json: "name": "Berber languages" /usr/share/iso-codes/json/iso_639-3.json: "name": "Judeo-Berber", /usr/share/iso-codes/json/iso_639-5.json: "name": "Berber languages" /usr/share/xml/iso-codes/iso_15924.xml: name="Tifinagh (Berber)" /> /usr/share/xml/iso-codes/iso_639-2.xml: name="Berber languages" /> /usr/share/xml/iso-codes/iso_639-3.xml: reference_name="Judeo-Berber" /usr/share/xml/iso-codes/iso_639-3.xml: name="Judeo-Berber" /> /usr/share/xml/iso-codes/iso_639-5.xml: name="Berber languages" /> /usr/share/xml/iso-codes/iso_639.xml: name="Berber languages" /> /usr/share/xml/iso-codes/iso_639_3.xml: reference_name="Judeo-Berber" /usr/share/xml/iso-codes/iso_639_3.xml: name="Judeo-Berber" /> /usr/share/xml/iso-codes/iso_639_5.xml: name="Berber languages" />
I think you misunderstood this bug. iso-codes need to provide /usr/share/locale/ber/LC_MESSAGES/ which is still not there. Hence, bug is not fixed.
Ah I see Is there an upstream report?
Someone need to report it. I am having trouble with login issues at Debian Salsa Gitlab.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.