Closed
Bug 1423438
Opened 7 years ago
Closed 7 years ago
.deps/mozilla-config.h.pp has invalid content
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox59 fixed)
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: glandium, Assigned: mshal)
References
Details
Attachments
(1 file)
I noticed when, after doing some hackish modification to mozilla-central.h.in, the build would fail with an error parsing mozilla-config.h.pp.
Examples of things it contains that is invalid:
$(wildcard /home/glandium/gecko/obj-x86_64-pc-linux-gnu/config.statusd/defines/"mozilla/Char16.h")
$(wildcard /home/glandium/gecko/obj-x86_64-pc-linux-gnu/config.statusd/defines/defined(HUNSPELL_STATIC))
$(wildcard /home/glandium/gecko/obj-x86_64-pc-linux-gnu/config.statusd/defines/defined(__clang__))
$(wildcard /home/glandium/gecko/obj-x86_64-pc-linux-gnu/config.statusd/defines/!defined(__ASSEMBLER__))
etc.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → mshal
Comment hidden (mozreview-request) |
Reporter | ||
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8935492 [details]
Bug 1423438 - Fix invalid .pp content for process_define_files.py;
https://reviewboard.mozilla.org/r/206392/#review212068
::: python/mozbuild/mozbuild/action/process_define_files.py:60
(Diff revision 1)
> '#define %s %s' % (name, val)
> for name, val in config.defines['ALLDEFINES'].iteritems()))
> l = l[:m.start('cmd') - 1] \
> + defines + l[m.end('name'):]
> - elif name in config.defines:
> - if cmd == 'define' and value:
> + elif cmd == 'define':
> + if value and name in config.defines:
I /think/ those name in config.defines checks are fine, but I'm not 100% sure.
Attachment #8935492 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8935492 [details]
Bug 1423438 - Fix invalid .pp content for process_define_files.py;
https://reviewboard.mozilla.org/r/206392/#review212584
::: python/mozbuild/mozbuild/action/process_define_files.py:60
(Diff revision 1)
> '#define %s %s' % (name, val)
> for name, val in config.defines['ALLDEFINES'].iteritems()))
> l = l[:m.start('cmd') - 1] \
> + defines + l[m.end('name'):]
> - elif name in config.defines:
> - if cmd == 'define' and value:
> + elif cmd == 'define':
> + if value and name in config.defines:
Those checks do add a dependency, but I'm not sure if there are any that would cause problems. If you continue to hit errors, please re-open this and I can take a look.
Pushed by mshal@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1c287e5f6b09
Fix invalid .pp content for process_define_files.py; r=glandium
Comment 5•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•