Improve the header file logic in ./mach vendor
Categories
(Developer Infrastructure :: Mach Vendor & Updatebot, defect, P3)
Tracking
(Not tracked)
People
(Reporter: tjr, Assigned: tjr)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
If you take a May 25 2021 checkout of m-c (e.g. 0c8d79edfc9a27b8eab7a71c7addeb223845275f ) and try to update libdav1d to a revision as of that date (e.g. c54add020492e3cca0da5ab90fa69c92ba496384) it will add ../../../third_party/dav1d/src/arm/asm-offsets.h to SOURCES. It should go into EXPORTS.
We should detect if a file added is a header instead of a source file, and if so only consider adding it to EXPORTS rather than SOURCES.
![]() |
||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Depends on D120480
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D120481
Comment 4•4 years ago
|
||
Backed out for Linting failure
Backout link: https://hg.mozilla.org/integration/autoland/rev/9eb10837f685f6a3762bb5db311b6b2006a0de37
Log link: https://treeherder.mozilla.org/logviewer?job_id=347171348&repo=autoland&lineNumber=118
Also:
f8 - https://treeherder.mozilla.org/logviewer?job_id=347171371&repo=autoland&lineNumber=546
mbu - https://treeherder.mozilla.org/logviewer?job_id=347171380&repo=autoland&lineNumber=1591
Comment 7•4 years ago
|
||
Backed out for causing failures at test_rewrite_mozbuild.py.
Backout link: https://hg.mozilla.org/integration/autoland/rev/5f3b07899482fb2b15dfd026e225f9e0c24c2d02
Failure log: https://treeherder.mozilla.org/logviewer?job_id=347266623&repo=autoland&lineNumber=1156
Assignee | ||
Comment 8•4 years ago
|
||
The tests are failing because I am now more relying on ast_get_source_segment in the test and it is failing because while I copy/pasted the function from python 3.8 into 3.7 it has probably been silently failing because end_lindno is not present in Python 3.7
I might be back to trying to get Python 3.8 into the Updatebot Docker image. That would make sure Updatebot works better but not solve the problem for the tests which will run on the normal build machines which are 3.7
Comment 9•4 years ago
|
||
We should detect if a file added is a header instead of a source file, and if so only consider adding it to EXPORTS rather than SOURCES.
Actually... we shouldn't blindly add things to EXPORTS. EXPORTS is an unnecessary step in most cases. In most cases, the few places that need the headers would add a LOCAL_INCLUDES
.
Assignee | ||
Comment 10•4 years ago
|
||
Depends on D121379
Comment 11•4 years ago
|
||
![]() |
||
Comment 12•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4dbaf9a28c11
https://hg.mozilla.org/mozilla-central/rev/a1b4ab355164
https://hg.mozilla.org/mozilla-central/rev/3e1f61fc1927
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 13•4 years ago
|
||
Re-assigning bugs to the new Mach Vendor and Updatebot Component. Guid for this change: ade7b229-ec85-41f8-bafe-9d4451bfeed1
Assignee | ||
Comment 14•4 years ago
|
||
A mass updatebot change inadvertently added a security group to bugs. Removing it. Guid for this change: 09d63db4-11a1-4820-a398-d718f112f885
Description
•