Bug 1137970 - MozillaFirefox mis-builds translations
Summary: MozillaFirefox mis-builds translations
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Firefox (show other bugs)
Version: Current
Hardware: Other openSUSE Factory
: P5 - None : Major with 1 vote (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-12 11:22 UTC by Bernhard Wiedemann
Modified: 2020-01-08 11:02 UTC (History)
4 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
firefox all translations are english (357.65 KB, image/png)
2019-06-14 07:41 UTC, Thomas Schäfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2019-06-12 11:22:31 UTC
Probably from a parallelism race. A symlink to a shared file gets written by multiple make -j forks concurrently

also seen in Factory's
MozillaFirefox-translations-common-67.0-1.2.x86_64.rpm

When comparing -j4 and -j1 builds I get

--- old//usr/lib64/firefox/browser/extensions/langpack-de@firefox.mozilla.org/br
owser/chrome/de/locale/browser/bookmarks.html   2019-05-19 12:00:00.000000000 +0
000
+++ new//usr/lib64/firefox/browser/extensions/langpack-de@firefox.mozilla.org/br
owser/chrome/de/locale/browser/bookmarks.html   2019-05-19 12:00:00.000000000 +0
000
@@ -8,20 +8,20 @@
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <!DOCTYPE NETSCAPE-Bookmark-file-1>
 <meta charset="UTF-8">
-<title>Cytańske znamjenja</title>
-<h1>Cytańske znamjenja</h1>
+<title>Bookmarks</title>
+<h1>Bookmarks</h1>


--- old//usr/lib64/firefox/browser/extensions/langpack-xh@firefox.mozilla.org/update.locale     2019-05-29 07:49:01.000000000 +0000
+++ new//usr/lib64/firefox/browser/extensions/langpack-xh@firefox.mozilla.org/update.locale     2019-05-19 12:00:00.000000000 +0000
@@ -1 +1 @@
-zh-TW
+zh-CN


Same problem with the MozillaThunderbird package.
Comment 1 Thomas Schäfer 2019-06-14 07:41:01 UTC
is it also the same bug for opensuse 15.1?

Or should I open a new bug for it?
Comment 2 Thomas Schäfer 2019-06-14 07:41:56 UTC
Created attachment 807583 [details]
firefox all translations are english
Comment 3 Martin Sirringhaus 2019-06-14 07:49:11 UTC
(In reply to Thomas Schäfer from comment #2)
> Created attachment 807583 [details]
> firefox all translations are english

I think that is Bug 1137792
Comment 4 Frank Krüger 2019-06-14 07:58:20 UTC
(In reply to Thomas Schäfer from comment #2)
> Created attachment 807583 [details]
> firefox all translations are english

Which version of Firefox are you using? FF 67 from the openSUSE mozilla repo works fine. As far as 60.6.3esr is concerned, it is probably a dup of bug#1137792.
Comment 5 Thomas Schäfer 2019-06-14 08:02:39 UTC
rpm -qi MozillaFirefox
Name        : MozillaFirefox
Version     : 60.6.3
Release     : lp151.2.3.6
Architecture: x86_64
Install Date: Do 13 Jun 2019 10:20:17 CEST
Group       : Productivity/Networking/Web/Browsers
Size        : 148125941
License     : MPL-2.0
Signature   : RSA/SHA256, Sa 01 Jun 2019 11:51:25 CEST, Key ID b88b2fd43dbdc284
Source RPM  : MozillaFirefox-60.6.3-lp151.2.3.6.src.rpm
Build Date  : Sa 01 Jun 2019 11:25:40 CEST
Build Host  : cloud138
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.mozilla.org/
Summary     : Mozilla Firefox Web Browser
Description :
Mozilla Firefox is a standalone web browser, designed for standards
compliance and performance.  Its functionality can be enhanced via a
plethora of extensions.
Distribution: openSUSE Leap 15.1
rpm -qi MozillaFirefox-translations-common
Name        : MozillaFirefox-translations-common
Version     : 60.6.3
Release     : lp151.2.3.6
Architecture: x86_64
Install Date: Do 13 Jun 2019 10:20:20 CEST
Group       : System/Localization
Size        : 1992365
License     : MPL-2.0
Signature   : RSA/SHA256, Sa 01 Jun 2019 11:51:39 CEST, Key ID b88b2fd43dbdc284
Source RPM  : MozillaFirefox-60.6.3-lp151.2.3.6.src.rpm
Build Date  : Sa 01 Jun 2019 11:25:40 CEST
Build Host  : cloud138
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.mozilla.org/
Summary     : Common translations for Firefox
Description :
This package contains several common languages for the user interface
of Firefox.
Distribution: openSUSE Leap 15.1
Comment 6 Bernhard Wiedemann 2019-06-14 08:19:19 UTC
Tn theory, bug 1137792 could be caused by this race,
but the effect looks too uniform there,
so I'd prefer to keep them separate for now.

btw: the original Leap 15.1 GA MozillaFirefox-60.6.2-lp151.1.1
has correct translations.
Comment 7 Bernhard Wiedemann 2019-06-26 12:35:59 UTC
To check if others are affected I checked
https://www.archlinux.org/packages/extra/any/firefox-i18n-de/
https://fedora.pkgs.org/rawhide/fedora-x86_64/firefox-67.0-3.fc31.x86_64.rpm.html
with
unzip usr/lib/firefox/browser/extensions/langpack-de@firefox.mozilla.org.xpi

but both had correct bookmarks.html so maybe we are doing something wrong in our .spec file? 

The archlinux build just fetches upstream .xpi files though.
Comment 8 Swamp Workflow Management 2019-07-11 15:50:07 UTC
This is an autogenerated message for OBS integration:
This bug (1137970) was mentioned in
https://build.opensuse.org/request/show/714676 Factory / MozillaFirefox
Comment 9 Swamp Workflow Management 2019-07-12 07:30:06 UTC
This is an autogenerated message for OBS integration:
This bug (1137970) was mentioned in
https://build.opensuse.org/request/show/714774 Factory / MozillaThunderbird
Comment 10 Swamp Workflow Management 2019-07-15 15:50:07 UTC
This is an autogenerated message for OBS integration:
This bug (1137970) was mentioned in
https://build.opensuse.org/request/show/715501 Factory / MozillaFirefox
Comment 11 Swamp Workflow Management 2019-07-20 08:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (1137970) was mentioned in
https://build.opensuse.org/request/show/717184 Factory / MozillaFirefox
Comment 12 Swamp Workflow Management 2019-08-12 21:30:06 UTC
This is an autogenerated message for OBS integration:
This bug (1137970) was mentioned in
https://build.opensuse.org/request/show/722924 Backports:SLE-12 / MozillaThunderbird
Comment 13 Swamp Workflow Management 2019-08-23 19:19:00 UTC
openSUSE-SU-2019:1990-1: An update that fixes 10 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1137970,1140868
CVE References: CVE-2019-11709,CVE-2019-11711,CVE-2019-11712,CVE-2019-11713,CVE-2019-11715,CVE-2019-11717,CVE-2019-11719,CVE-2019-11729,CVE-2019-11730,CVE-2019-9811
Sources used:
SUSE Package Hub for SUSE Linux Enterprise 12 (src):    MozillaThunderbird-60.8.0-88.1
Comment 14 Wolfgang Rosenauer 2020-01-08 11:02:29 UTC
consider this fixed