Closed Bug 786703 Opened 12 years ago Closed 12 years ago

fix dom/ build failures from introducing PARALLEL_DIRS

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: froydnj, Assigned: froydnj)

References

Details

Attachments

(1 file)

I received this error this morning:

xpidl.IDLError: error: File 'domstubs.idl' not found, ../../../dist/idl/nsIDOMEvent.idl line 6:0
#include "domstubs.idl"
make[4]: *** [_xpidlgen/nsIDOMLSProgressEvent.h] Error 1
make[4]: *** Deleting file `_xpidlgen/nsIDOMLSProgressEvent.h'
make[3]: *** [interfaces/load-save_export] Error 2
make[3]: *** Waiting for unfinished jobs....

This failure indicates a bug in my algorithm to fix bug 783357: it's not enough to say:

- what are the includes for all files in this directory?
- where are those includes located?
- ...and add those directories to XPIDL_FLAGS

nsIDOMLSProgressEvent.idl includes nsIEvent.idl, but the above algorithm fails to note that we also need to consider what -I flags nsIEvent.idl would need.  What you really need to do is iterate step 1 until you get *all* the files included by a given file.
Attached patch patchSplinter Review
Patch as requested.  Should fix the idl build failures seen sporadically.
Attachment #658955 - Flags: review?(ted.mielczarek)
Attachment #658955 - Flags: review?(ted.mielczarek) → review?(mh+mozilla)
Attachment #658955 - Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/a36a323e347e
Assignee: nobody → nfroyd
Status: NEW → ASSIGNED
Confirmed that this fixes the build failures on try =)
https://hg.mozilla.org/mozilla-central/rev/a36a323e347e
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Blocks: 790575
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: