race in intltool-merge .desktop file generation
Bug #1687644 reported by
Bernhard M. Wiedemann
on 2017-05-02
This bug affects 2 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | intltool |
High
|
Bernhard M. Wiedemann | ||
Bug Description
When building software by running make -jNUMBER
it can happen that multiple intltool-merge processes are run in parallel.
In such cases we observed .desktop files being produced with a few random missing translations.
This is, because the first intltool-merge process creates a cache file
and the second intltool-merge process uses the cache file
even before the first one is done writing it.
Please apply the attached patch
Related branches
lp:~ubuntubmw/intltool/fix-cache-race
- Данило Шеган: Approve on 2017-05-23
-
Diff: 34 lines (+5/-0)1 file modifiedintltool-merge.in (+5/-0)
| Bernhard M. Wiedemann (ubuntubmw) wrote : | #1 |
Данило Шеган (danilo)
on 2017-05-18
| Changed in intltool: | |
| status: | New → Triaged |
| importance: | Undecided → High |
| Данило Шеган (danilo) wrote : | #2 |
| Bernhard M. Wiedemann (ubuntubmw) wrote : | #3 |
Данило Шеган (danilo)
on 2017-05-23
| Changed in intltool: | |
| status: | Triaged → Fix Committed |
| assignee: | nobody → Bernhard M. Wiedemann (ubuntubmw) |
To post a comment you must log in.

Please make a merge proposal:
- start by branching from lp:intltool using "bzr branch lp:intltool" /code.launchpad .net/~ubuntubmw), select the newly uploaded branch and make a merge proposal explaining the change
- "cd intltool" and apply your patch
- "bzr push lp:~ubuntubmw/intltool/fix-cache-race"
- Browse to your code page (https:/
I'll take a look later and if I see no problems with it (looks good from a quick glance), I'll merge it.