Closed Bug 1347932 Opened 7 years ago Closed 7 years ago

Land NSPR 4.14 into FF 54

Categories

(Firefox Build System :: General, defect)

52 Branch
defect
Not set
normal

Tracking

(firefox52 wontfix, firefox-esr52 affected, firefox53 wontfix, firefox54 fixed, firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox52 --- wontfix
firefox-esr52 --- affected
firefox53 --- wontfix
firefox54 --- fixed
firefox55 --- fixed

People

(Reporter: KaiE, Assigned: KaiE)

References

Details

Attachments

(1 file)

Against the usual NSPR release rules, local patches have been landed into the Mozilla tree.

- parts of the changes requested in bug 1313612 have already been landed
  with bug 1288308, and have been released with Firefox 52 already.

- bug 1331810 was landed into unreleased FF 54

We should clean this up, by creating a NSPR 4.14 release, which gets landed into FF aurora 54.

This seems to be the safest approach.

I don't what happens if Linux distributions use Firefox 52 with an NSPR system package, that lacks the NSPR commits from bug 1288308.

At worst, those branches might have to pick up this newer NSPR for correctness.

I hope that uplifting the UDP bugfix would be safe for the FF 52 and FF 53 branches, too, if it turns out to be required.
Assignee: nobody → kaie
Depends on: 1331810
Depends on: 1313612
Marking all branches as affected, that received an unreleased NSPR.
We can later decide, if any of those need to get the uplift.

For now, let's target FF 54.

Started a try build for NSPR_4_14_BETA2
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d7c9cd923c4f18cfdc412f30c5974018fadfae66
Franziskus agreed to land that NSPR snapshot into m-c. I'll do that if the try build looks good.
Actually, there isn't much point in the try build. The net effect is the removal of two PR_ASSERT statement, which we apparently aren't hitting.
Pushed by kaie@kuix.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3f8e4d46c656
uplift NSPR_4_14_BETA2, r=franziskus
Attached file uplift-nspr-4.14.txt
Approval Request Comment

[Feature/Bug causing the regression]:
bug 1288308 and bug 1331810

[User impact if declined]:
Linux distributions could use Firefox without required NSPR base patches.

[Is this code covered by automated tests?]:
yes

[Has the fix been verified in Nightly?]:
yes

[Needs manual test from QE? If yes, steps to reproduce]: 
no

[List of other uplifts needed for the feature/fix]:
none

[Is the change risky?]:
No.

[Why is the change risky/not risky?]:
We're effectlvy removing two asserts (for consistency), which aren't being reached in released versions, obviously.

[String changes made/needed]:
none
Attachment #8848132 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/3f8e4d46c656
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Reopening, because RTM hasn't landed yet.

(No more code changes planned for RTM, I just wanted to wait until tests are green.)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
How about adding automated tests on beta/release that check that there's no difference between nspr/nss and the tag they're supposed to be coming from?
And/or commit hooks to prevent local changes from landing accidentally.
(In reply to Mike Hommey [:glandium] from comment #8)
> How about adding automated tests on beta/release that check that there's no
> difference between nspr/nss and the tag they're supposed to be coming from?

Good idea, but would prevent us from ever landing any temporary fixes, if ever required (e.g. in the past it had happened that someone really needed to land a build fix to NSPR, to allow everyone to continue their work).

Maybe it's also a lot of bandwidth to do a full checkout of NSPR with every build.
(In reply to Masatoshi Kimura [:emk] from comment #9)
> And/or commit hooks to prevent local changes from landing accidentally.

I like this idea. I've filed bug 1348852 to request it.
Pushed by kaie@kuix.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/207b3f2c43c7
land NSPR_4_14_RTM, no code change, reusing r=franziskus
This is now ready for branch uplifting.
Pushed by kaie@kuix.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8b18beab0cf4
bump configure requirement to NSPR 4.14, forgotten when uplifting NSPR_4_14_RTM, no code change
Julien, could you please help with getting aurora approval?

Maybe you could discuss with the relevant decision makers, if this should target the other older branches, too?
Flags: needinfo?(jcristau)
Comment on attachment 8848132 [details]
uplift-nspr-4.14.txt

bump nspr to 4.14 in aurora54

The change that landed in 52/53 on top of 4.13.1 (in bug 1288308) is windows only so likely users of external nspr (linux distros) should be fine, as far as I can tell.
Flags: needinfo?(jcristau)
Attachment #8848132 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: