Skip to content

Duplicate in Kurdish language on po/cldr-langs causes build failure #465

Description

@tobfos2611

The issue seems to be the result of commit aa847f5 in the dialect-app/po repo which duplicated Kurdish.
The root cause is in dialect-app/po/blob/main/gen_cldr_langs.py.
This then causes in error in several languages when building.

Current commit
Branch: main
Commit: 172df32

Host

OS: Fedora Linux 44 (Workstation Edition) x86_64
Host: HP EliteBook 840 G6 (SBKPF)
Kernel: Linux 7.0.4-200.fc44.x86_64
Uptime: 16 hours, 43 mins
Packages: 2365 (rpm), 66 (flatpak)
Shell: bash 5.3.9
Display (BOE07EF): 1920x1080 in 14", 60 Hz [Built-in]
DE: GNOME 50.1
WM: Mutter (Wayland)
WM Theme: Adwaita
Theme: Adwaita [GTK2/3/4]
Icons: Adwaita [GTK2/3/4]
Font: Adwaita Sans (11pt) [GTK2/3/4]
Cursor: Adwaita (24px)
Terminal: xterm-256color
CPU: Intel(R) Core(TM) i7-8665U (8) @ 4.80 GHz
GPU: Intel UHD Graphics 620 @ 1.15 GHz [Integrated]
Memory: 9.16 GiB / 15.43 GiB (59%)
Swap: 3.89 GiB / 8.00 GiB (49%)
Disk (/): 556.29 GiB / 929.93 GiB (60%) - btrfs
Local IP (wlp58s0): 192.168.1.83/24
Battery (Primary): 96% [AC Connected]
Locale: vi_VN.UTF-8

I'm building in GNOME Builder flatpak, same error occurs when doing it manually.

Error

Emptying app dir '/home/tobfos/Projects/.gnome-builder/projects/dialect/flatpak/staging/x86_64-main'
Downloading sources
Stopping at module dialect
Starting build of app.drey.Dialect.Devel
Cache hit for python3-beautifulsoup4, skipping build
Cache hit for python3-gtts, skipping build
Cache hit for python3-modules, skipping build
Cache hit for blueprint, skipping build
Cache hit for libspelling, skipping build
Stopping at module dialect
Everything cached, checking out from cache
Pruning cache
[1/63] Building translation po/cldr-langs/es/LC_MESSAGES/dialect-cldr-langs-es.mo
FAILED: [code=1] po/cldr-langs/es/LC_MESSAGES/dialect-cldr-langs.mo 
/usr/bin/msgfmt -o po/cldr-langs/es/LC_MESSAGES/dialect-cldr-langs.mo ../po/cldr-langs/es.po
../po/cldr-langs/es.po:849: duplicate message definition...
../po/cldr-langs/es.po:847: ...this is the location of the first definition
/usr/bin/msgfmt: found 1 fatal error
[2/63] Building translation po/cldr-langs/eu/LC_MESSAGES/dialect-cldr-langs-eu.mo
FAILED: [code=1] po/cldr-langs/eu/LC_MESSAGES/dialect-cldr-langs.mo 
/usr/bin/msgfmt -o po/cldr-langs/eu/LC_MESSAGES/dialect-cldr-langs.mo ../po/cldr-langs/eu.po
../po/cldr-langs/eu.po:660: duplicate message definition...
../po/cldr-langs/eu.po:658: ...this is the location of the first definition
/usr/bin/msgfmt: found 1 fatal error
[3/63] Building translation po/cldr-langs/fa/LC_MESSAGES/dialect-cldr-langs-fa.mo
FAILED: [code=1] po/cldr-langs/fa/LC_MESSAGES/dialect-cldr-langs.mo 
/usr/bin/msgfmt -o po/cldr-langs/fa/LC_MESSAGES/dialect-cldr-langs.mo ../po/cldr-langs/fa.po
../po/cldr-langs/fa.po:843: duplicate message definition...
../po/cldr-langs/fa.po:841: ...this is the location of the first definition
/usr/bin/msgfmt: found 1 fatal error
[4/63] Building translation po/cldr-langs/fi/LC_MESSAGES/dialect-cldr-langs-fi.mo
FAILED: [code=1] po/cldr-langs/fi/LC_MESSAGES/dialect-cldr-langs.mo 
/usr/bin/msgfmt -o po/cldr-langs/fi/LC_MESSAGES/dialect-cldr-langs.mo ../po/cldr-langs/fi.po
../po/cldr-langs/fi.po:969: duplicate message definition...
../po/cldr-langs/fi.po:967: ...this is the location of the first definition
/usr/bin/msgfmt: found 1 fatal error
[5/63] Building translation po/cldr-langs/ca/LC_MESSAGES/dialect-cldr-langs-ca.mo
FAILED: [code=1] po/cldr-langs/ca/LC_MESSAGES/dialect-cldr-langs.mo 
/usr/bin/msgfmt -o po/cldr-langs/ca/LC_MESSAGES/dialect-cldr-langs.mo ../po/cldr-langs/ca.po
../po/cldr-langs/ca.po:900: duplicate message definition...
../po/cldr-langs/ca.po:898: ...this is the location of the first definition
/usr/bin/msgfmt: found 1 fatal error
[6/63] Building translation po/cldr-langs/eo/LC_MESSAGES/dialect-cldr-langs-eo.mo
FAILED: [code=1] po/cldr-langs/eo/LC_MESSAGES/dialect-cldr-langs.mo 
/usr/bin/msgfmt -o po/cldr-langs/eo/LC_MESSAGES/dialect-cldr-langs.mo ../po/cldr-langs/eo.po
../po/cldr-langs/eo.po:636: duplicate message definition...
../po/cldr-langs/eo.po:634: ...this is the location of the first definition
/usr/bin/msgfmt: found 1 fatal error
[7/63] Building translation po/cldr-langs/cs/LC_MESSAGES/dialect-cldr-langs-cs.mo
FAILED: [code=1] po/cldr-langs/cs/LC_MESSAGES/dialect-cldr-langs.mo 
/usr/bin/msgfmt -o po/cldr-langs/cs/LC_MESSAGES/dialect-cldr-langs.mo ../po/cldr-langs/cs.po
../po/cldr-langs/cs.po:939: duplicate message definition...
../po/cldr-langs/cs.po:937: ...this is the location of the first definition
/usr/bin/msgfmt: found 1 fatal error
[8/63] Building translation po/cldr-langs/de/LC_MESSAGES/dialect-cldr-langs-de.mo
FAILED: [code=1] po/cldr-langs/de/LC_MESSAGES/dialect-cldr-langs.mo 
/usr/bin/msgfmt -o po/cldr-langs/de/LC_MESSAGES/dialect-cldr-langs.mo ../po/cldr-langs/de.po
../po/cldr-langs/de.po:930: duplicate message definition...
../po/cldr-langs/de.po:928: ...this is the location of the first definition
/usr/bin/msgfmt: found 1 fatal error
[9/63] Building translation po/cldr-langs/fr/LC_MESSAGES/dialect-cldr-langs-fr.mo
FAILED: [code=1] po/cldr-langs/fr/LC_MESSAGES/dialect-cldr-langs.mo 
/usr/bin/msgfmt -o po/cldr-langs/fr/LC_MESSAGES/dialect-cldr-langs.mo ../po/cldr-langs/fr.po
../po/cldr-langs/fr.po:954: duplicate message definition...
../po/cldr-langs/fr.po:952: ...this is the location of the first definition
/usr/bin/msgfmt: found 1 fatal error
[10/63] Generating dialect/dialect_gresource with a custom command
ninja: build stopped: subcommand failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions