Closed
Bug 1607204
Opened 6 years ago
Closed 6 years ago
Invalid command line in compile_commands.json
Categories
(Firefox Build System :: General, defect, P3)
Firefox Build System
General
Tracking
(firefox74 fixed)
RESOLVED
FIXED
mozilla74
| Tracking | Status | |
|---|---|---|
| firefox74 | --- | fixed |
People
(Reporter: calixte, Assigned: rstewart)
References
Details
(Keywords: in-triage)
Attachments
(2 files, 3 obsolete files)
In compile_commands.json, I get:
{
"directory": "/home/calixte/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/netwerk/srtp/src",
"command": "... '-DPACKAGE_STRING=\"libsrtp2' '2.2.0-pre\"' '-DPACKAGE_VERSION=\"2.2.0-pre\"' ...",
"file": "/home/calixte/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/netwerk/srtp/src/Unified_c_netwerk_srtp_src0.c"
}
I think this is incorrect and it should be '-DPACKAGE_STRING=\"libsrtp2 2.2.0-pre\"'.
This option is defined here:
https://searchfox.org/mozilla-central/source/netwerk/srtp/src/moz.build#40
And for any reason, the argument is splitted around space.
| Reporter | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Assignee: nobody → rstewart
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
See the attached diff in compile_commands.json with my patch. I think this looks right?
Updated•6 years ago
|
Attachment #9119554 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•6 years ago
|
||
Attachment #9119562 -
Attachment is obsolete: true
Pushed by rstewart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/25964226853a
Invalid command line in compile_commands.json r=froydnj
Comment 7•6 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Comment 8•6 years ago
•
|
||
Backed out changeset 25964226853a (Bug 1607204) for causing Bug 1610471 which crashes the reviewbot a=backout CLOSED TREE
Status: RESOLVED → REOPENED
status-firefox74:
fixed → ---
Flags: needinfo?(rstewart)
Resolution: FIXED → ---
Target Milestone: mozilla74 → ---
Updated•6 years ago
|
Attachment #9119555 -
Attachment description: Bug 1607204 - Invalid command line in compile_commands.json → Bug 1607204 - Fix invalid command line in compile_commands.json
| Assignee | ||
Comment 9•6 years ago
|
||
Attachment #9120208 -
Attachment is obsolete: true
Flags: needinfo?(rstewart)
Comment 10•6 years ago
|
||
Would it be possible to have a unit test on this too?
thanks
Comment 12•6 years ago
|
||
Pushed by rstewart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/84891824f497
Fix invalid command line in compile_commands.json r=froydnj
Comment 13•6 years ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in
before you can comment on or make changes to this bug.
Description
•