Fix parser/expat local patches to apply
Categories
(Core :: XML, defect)
Tracking
()
| 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)
| Assignee | ||
Comment 1•2 months ago
|
||
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.
Comment 3•2 months ago
|
||
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.
Comment 4•2 months ago
|
||
Yep, I have the 2.8.3 update up for review but can rebase on top of this.
Comment 5•2 months ago
|
||
| bugherder | ||
Updated•2 months ago
|
Comment 6•9 days ago
|
||
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
Updated•9 days ago
|
Updated•8 days ago
|
Updated•8 days ago
|
Description
•