Bug 1409403 - Does not recognize 'ber' locale
Summary: Does not recognize 'ber' locale
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: iso-codes
Version: 40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-01 19:20 UTC by Björn Esser (besser82)
Modified: 2025-04-19 09:05 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-04-19 09:05:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Björn Esser (besser82) 2017-01-01 19:20:46 UTC
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

Comment 1 Ville Skyttä 2017-01-02 08:46:04 UTC
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.

Comment 2 Fedora End Of Life 2017-02-28 10:51:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 3 Mike FABIAN 2017-12-06 07:27:04 UTC
Seems to still exist in Fedora 27.

Comment 4 Ben Cotton 2019-02-19 17:12:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 30 development cycle.
Changing version to '30.

Comment 5 Ben Cotton 2022-02-08 21:27:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 6 Jens Petersen 2023-04-03 09:45:31 UTC
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" />

Comment 7 Parag Nemade 2023-04-03 10:12:26 UTC
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.

Comment 8 Jens Petersen 2023-04-04 07:19:48 UTC
Ah I see

Is there an upstream report?

Comment 9 Parag Nemade 2023-04-04 07:44:16 UTC
Someone need to report it.
I am having trouble with login issues at Debian Salsa Gitlab.

Comment 10 Fedora Release Engineering 2023-08-16 07:04:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 12 Jens Petersen 2025-04-19 09:05:00 UTC
Wish we had checked more:

$ rpm -qf /usr/share/locale/ber/LC_MESSAGES/
filesystem-3.18-39.fc43.x86_64

This is long fixed in installations at least (I checked back to Fedora 34!).
However it might have affected some later containers/chroots perhaps.

The Fedora base container has this ownership since fedora:40 anyway.
Also in centos-toolbox:stream10


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