Closed Bug 2062946 Opened 2 months ago Closed 2 months ago

Fix parser/expat local patches to apply

Categories

(Core :: XML, defect)

defect

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox-esr153 --- fixed
firefox153 --- unaffected
firefox154 --- wontfix
firefox155 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 external files)

No description provided.

The patch added in bug 2053153 names the file it changes expat/expat/lib/xmltok.c,
with expat/ doubled, while the other thirteen expat patches use expat/lib/... . The
patches are applied with patch -p1 --directory parser/expat, so patch could not find
a file at that path, skipped the whole patch and counted its hunk as ignored. The
change was in the tree anyway, so nothing looked wrong, but re-vendoring expat dropped
it and left upstream's mask, and the next update of expat would have done the same.

With this, ./mach vendor parser/expat/moz.yaml -r R_2_8_2 --patch-mode check --force
reproduces the committed tree exactly.

I guess this is sort of a regression but there's no need to backport it as it only affects updating the patches. Also, bug 2062690 will soon delete this patch entirely.

Yep, I have the 2.8.3 update up for review but can rebase on top of this.

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
QA Whiteboard: [qa-triage-done-c156/b155]

The patch added in bug 2053153 names the file it changes expat/expat/lib/xmltok.c,
with expat/ doubled, while the other thirteen expat patches use expat/lib/... . The
patches are applied with patch -p1 --directory parser/expat, so patch could not find
a file at that path, skipped the whole patch and counted its hunk as ignored. The
change was in the tree anyway, so nothing looked wrong, but re-vendoring expat dropped
it and left upstream's mask, and the next update of expat would have done the same.

With this, ./mach vendor parser/expat/moz.yaml -r R_2_8_2 --patch-mode check --force
reproduces the committed tree exactly.

Original Revision: https://phabricator.services.mozilla.com/D318092

Attachment #9669292 - Flags: approval-mozilla-esr153?
Attachment #9669292 - Flags: approval-mozilla-esr153? → approval-mozilla-esr153+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: