Bug 484510 - Umbrello builds broken by translation change
Summary: Umbrello builds broken by translation change
Status: RESOLVED FIXED
Alias: None
Product: i18n
Classification: Translations
Component: sl (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jure Repinc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 10:16 UTC by Ralf Habacker
Modified: 2024-03-27 12:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Workaround to fix building (1.26 KB, patch)
2024-03-26 10:51 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2024-03-26 10:16:12 UTC
This pipeline https://invent.kde.org/sdk/umbrello/-/pipelines/643020 fails to build caused by this commit 
https://invent.kde.org/sdk/umbrello/-/commit/8b70c805187d13e4c164702931eb9a29256bc1df, where Slovenian translations has been added.
Comment 1 Ralf Habacker 2024-03-26 10:33:33 UTC
(In reply to Ralf Habacker from comment #0)
> This pipeline https://invent.kde.org/sdk/umbrello/-/pipelines/643020 fails

There issue is caused by a missing entity named 'ie': 

uml_basics.docbook:526: parser error : Entity 'ie' not defined
>Diagrami zaporedja prikazujejo izmenjavo sporočil (&ie; klic metode) med več 
                                                         ^
uml_basics.docbook:778: parser error : Entity 'ie' not defined
>Komponente imajo lahko vmesnike (&ie; abstraktne razrede z operacijami), ki omo
                                      ^
This entity has been added to kdoctools git repo with commit https://invent.kde.org/frameworks/kdoctools/-/commit/f7afe73afa411e5457bc85befc101dc89054f5d4, but on CI, an older version of kdoctools is used, which does not have this definition. 

Also this change breaks building on openSUSE Leap 15.5, where kdoctools version 5.103 is installed by default.
Comment 2 Ralf Habacker 2024-03-26 10:51:44 UTC
Created attachment 167789 [details]
Workaround to fix building

I tried to add a local workaround for this issue, but this was not accepted:

$ git push 
Objekte aufzählen: 13, fertig.
Zähle Objekte: 100% (13/13), fertig.
Delta-Kompression verwendet bis zu 12 Threads.
Komprimiere Objekte: 100% (6/6), fertig.
Schreibe Objekte: 100% (7/7), 838 Bytes | 838.00 KiB/s, fertig.
Gesamt 7 (Delta 4), Wiederverwendet 0 (Delta 0), Pack wiederverwendet 0
remote: Audit failure - Commit 4827e932cce31b000c1ad5eafcd2d8212a1c3761 - Translations maintained separately: po/sl/docs/umbrello/index.docbook
remote: Push declined - commits failed audit
...
 ! [remote rejected]     master -> master (pre-receive hook declined)
Comment 3 Ralf Habacker 2024-03-26 10:53:31 UTC
Also reverting the commit in question did not work:

git revert 8b70c805187d13e4c164702931eb9a29256bc1df
git push 
Objekte aufzählen: 7, fertig.
Zähle Objekte: 100% (7/7), fertig.
Delta-Kompression verwendet bis zu 12 Threads.
Komprimiere Objekte: 100% (3/3), fertig.
Schreibe Objekte: 100% (4/4), 429 Bytes | 429.00 KiB/s, fertig.
Gesamt 4 (Delta 3), Wiederverwendet 1 (Delta 1), Pack wiederverwendet 0
remote: Audit failure - Commit 59006165220fb65b7204996b0320f2a6b8eaf331 - Translations maintained separately: po/sl/docs/umbrello/apphelp/index.docbook
remote: Audit failure - Commit 59006165220fb65b7204996b0320f2a6b8eaf331 - Translations maintained separately: po/sl/docs/umbrello/authors.docbook
remote: Audit failure - Commit 59006165220fb65b7204996b0320f2a6b8eaf331 - Translations maintained separately: po/sl/docs/umbrello/code_import_and_generation.docbook
remote: Audit failure - Commit 59006165220fb65b7204996b0320f2a6b8eaf331 - Translations maintained separately: po/sl/docs/umbrello/credits.docbook
remote: Audit failure - Commit 59006165220fb65b7204996b0320f2a6b8eaf331 - Translations maintained separately: po/sl/docs/umbrello/index.docbook
remote: Audit failure - Commit 59006165220fb65b7204996b0320f2a6b8eaf331 - Translations maintained separately: po/sl/docs/umbrello/introduction.docbook
remote: Audit failure - Commit 59006165220fb65b7204996b0320f2a6b8eaf331 - Translations maintained separately: po/sl/docs/umbrello/other_features.docbook
remote: Audit failure - Commit 59006165220fb65b7204996b0320f2a6b8eaf331 - Translations maintained separately: po/sl/docs/umbrello/settings.docbook
remote: Audit failure - Commit 59006165220fb65b7204996b0320f2a6b8eaf331 - Translations maintained separately: po/sl/docs/umbrello/uml_basics.docbook
remote: Audit failure - Commit 59006165220fb65b7204996b0320f2a6b8eaf331 - Translations maintained separately: po/sl/docs/umbrello/working_with_umbrello.docbook
remote: Push declined - commits failed audit
Comment 4 Ralf Habacker 2024-03-26 14:19:41 UTC
On master branch this depends on bug 484510.
Comment 5 Ralf Habacker 2024-03-26 14:36:07 UTC
(In reply to Ralf Habacker from comment #4)
> On master branch this depends on bug 484510.

In real this bug blocks bug 484507.
Comment 6 Ralf Habacker 2024-03-27 12:57:45 UTC
The issue has been fixed by the translation team.