Closed
Bug 1286853
Opened 8 years ago
Closed 3 years ago
Duplicated entries in chrome.manifest for multi build
Categories
(Firefox for Android Graveyard :: General, defect, P5)
Firefox for Android Graveyard
General
Tracking
(firefox50 affected)
RESOLVED
INCOMPLETE
Tracking | Status | |
---|---|---|
firefox50 | --- | affected |
People
(Reporter: mkaply, Unassigned)
Details
Attachments
(2 files)
The multi build of Fennec has the same 29 lines duplicated about 75 times in chrome.manifest. See the attached file.
Reporter | ||
Comment 1•8 years ago
|
||
nalexander said to copy you because this would happen with multilocale desktop as well.
Comment 2•8 years ago
|
||
(In reply to Mike Kaply [:mkaply] from comment #1) > nalexander said to copy you because this would happen with multilocale > desktop as well. Just putting note on record: there is no multi-locale build on desktop, only single locale builds and language packs.
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8854171 [details] Bug 1286853 - Don't put overrides in locale specific jar files. https://reviewboard.mozilla.org/r/126138/#review128714 I think that this achieves your goal, but isn't there a bug in the chrome manifest processing code here? Either we should accept repeated manifest entries and reduce duplicates to a single entry, or we should complain in the face of duplicates. Do you have an opinion on what is better? I'll flag glandium with the same question.
Attachment #8854171 -
Flags: review?(nalexander) → review-
Comment 5•7 years ago
|
||
glandium: do you have an opinion on https://bugzilla.mozilla.org/show_bug.cgi?id=1286853#c4? Is there a use for repeated manifest entries? Is this just an oversight?
Flags: needinfo?(mh+mozilla)
Reporter | ||
Comment 6•7 years ago
|
||
Oddly buildlist.py says that it does take care of duplicates https://dxr.mozilla.org/mozilla-central/source/python/mozbuild/mozbuild/action/buildlist.py#21 def addEntriesToListFile(listFile, entries): """Given a file |listFile| containing one entry per line, add each entry in |entries| to the file, unless it is already present.""" That's what jar.py uses internally.
Comment 7•7 years ago
|
||
Are these artifact builds? Artifact builds may be using a different code path for this. If not artifact builds, then that shouldn't be happening in the first place, and that's what should be fixed.
Flags: needinfo?(mh+mozilla)
Reporter | ||
Comment 8•7 years ago
|
||
No, this is our regular build. Because the multilocale stuff is run as subsequent build requests, each l10n build appends it's information to the end of chrome.manifest. Incidentally, this explains why addEntriesToListFile isn't helping here. It doesn't go back through the already written file. This attachment https://bug1286853.bmoattachments.org/attachment.cgi?id=8770985 Is chrome.manifest as we ship it today.
Comment 9•7 years ago
|
||
> It doesn't go back through the already written file.
Sure it does, that's its whole purpose.
Reporter | ||
Comment 10•7 years ago
|
||
> Sure it does, that's its whole purpose.
Even if it's a brand new open of an existing file (versus the same file).
If so, this is just a bug in addEntriesToListFile, because we're definitely getting duplicates.
Comment 11•6 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Reporter | ||
Updated•6 years ago
|
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Resolution: INACTIVE → ---
Reporter | ||
Updated•6 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 12•6 years ago
|
||
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Needinfo :susheel if you think this bug should be re-triaged.
Priority: -- → P5
Comment 13•3 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 6 years ago → 3 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•