race in intltool-merge .desktop file generation
Bug #1687644 reported by
Bernhard M. Wiedemann
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intltool |
Fix Committed
|
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
-
Diff: 34 lines (+5/-0)1 file modifiedintltool-merge.in (+5/-0)
Changed in intltool: | |
status: | New → Triaged |
importance: | Undecided → High |
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.