[Bug 1021335] New: desktop files randomly miss translations
http://bugzilla.opensuse.org/show_bug.cgi?id=1021335 Bug ID: 1021335 Summary: desktop files randomly miss translations Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: All OS: openSUSE 42.2 Status: NEW Severity: Major Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de CC: ke@suse.com Found By: Development Blocker: --- While working on making builds reproducible for openSUSE, I found multiple packages randomly missing translations in .desktop files. Affected packages are at least exo gedit gedit-plugins gnome-menus gnome-video-effects lxmenu-data for an example diff see https://www.zq1.de/~bernhard/linux/reproducibleopensuse/compare.factory/exo-... when looking at the build.log it had sequences like [ 49s] Generating and caching the translation database [ 49s] Merging translations into debian-sensible-browser.desktop. [ 49s] LC_ALL=C /usr/bin/intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po epiphany.desktop.in epiphany.desktop [ 49s] Found cached translation database [ 49s] Merging translations into epiphany.desktop. [ 49s] LC_ALL=C /usr/bin/intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po eterm.desktop.in eterm.desktop [ 49s] Generating and caching the translation database [ 49s] Merging translations into encompass.desktop. [ 49s] LC_ALL=C /usr/bin/intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po evolution.desktop.in evolution.desktop [ 49s] Generating and caching the translation database [ 49s] Merging translations into debian-x-terminal-emulator.desktop. [ 49s] LC_ALL=C /usr/bin/intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po firefox.desktop.in firefox.desktop [ 49s] Found cached translation database so my guess is that this is running in parallel with make -j8 and thus there might be races with processes using the cache file before it is fully generated. Assiging to GNOME team as maintainers of intltool-merge tool -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1021335 http://bugzilla.opensuse.org/show_bug.cgi?id=1021335#c1 --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> --- more permantent link to the diff: https://www.zq1.de/~bernhard/linux/reproducibleopensuse/compare.factory-2017... If it is really a race, there are at least two approaches to solve this: either intltool-merge could use filesystem locking and/or checksums so that readers wait until a writer finished and then many readers can read in parallel or you re-design makefiles to have a first "create cache" step and all later translation-merge steps depend on that one to be finished. But that probably needs us update multiple (even future) packages' Makefiles so I guess the first approach is the cleaner one. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1021335 http://bugzilla.opensuse.org/show_bug.cgi?id=1021335#c2 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bnc-team-xfce@forge.provo.n | |ovell.com --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- still saw this happening today -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1021335 http://bugzilla.opensuse.org/show_bug.cgi?id=1021335#c3 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS URL| |https://bugs.launchpad.net/ | |intltool/+bug/1687644 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> --- Filed upstream at https://bugs.launchpad.net/intltool/+bug/1687644 and submitted https://build.opensuse.org/request/show/492503 with my patch -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1021335 http://bugzilla.opensuse.org/show_bug.cgi?id=1021335#c4 Stefan Seyfried <seife@novell.slipkontur.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|bnc-team-xfce@forge.provo.n |seife@novell.slipkontur.de |ovell.com | --- Comment #4 from Stefan Seyfried <seife@novell.slipkontur.de> --- i guess there is nothing, I (as an xfce maintainer) can do for the exo package, right? So I'm removing the xfce-maintainers from the CC list. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1021335 http://bugzilla.opensuse.org/show_bug.cgi?id=1021335#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> --- The fix was merged to our intltool package 9 months ago and is already in Factory but I think we should push a fixed version for Leap 42.2/3 in case we release updates for any package using intltool at build time or people are building software with Leap's intltool in other places. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1021335 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1102408 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1021335 http://bugzilla.opensuse.org/show_bug.cgi?id=1021335#c7 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED Assignee|gnome-bugs@suse.de |bwiedemann@suse.com --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> --- Fix was merged upstream and in our packages 2-3 years ago. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com