Intermittent [_xpidlgen/nsIWifi.h] Error 1 due to: "xpidl.IDLError: error: File 'nsINetworkManager.idl' not found, /builds/slave/m-cen-ics-armv7a-gecko-ntly/build/dom/wifi/nsIWifi.idl line 8:0"

RESOLVED WORKSFORME

Status

defect
--
major
RESOLVED WORKSFORME
7 years ago
2 years ago

People

(Reporter: emorley, Unassigned)

Tracking

({intermittent-failure})

Trunk
All
Gonk (Firefox OS)
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [red])

Boo race conditions :-(

B2G ics_armv7a_gecko mozilla-central nightly on 2012-09-11 14:07:21 PDT for push fdfaef738a00

slave: bld-centos6-hp-017

https://tbpl.mozilla.org/php/getParsedLog.php?id=15140857&tree=Firefox

{
nsIDOMTelephony.idl
mkdir -p .deps/
/builds/slave/m-cen-ics-armv7a-gecko-ntly/build/obj-b2g/_virtualenv/bin/python /builds/slave/m-cen-ics-armv7a-gecko-ntly/build/config/buildlist.py ../../config/final-link-libs domsystem_s
/builds/slave/m-cen-ics-armv7a-gecko-ntly/build/obj-b2g/config/nsinstall -R -m 644 /builds/slave/m-cen-ics-armv7a-gecko-ntly/build/dom/workers/test/extensions/traditional/nsIWorkerTest.idl ../../../../../dist/idl
nsIWorkerTest.idl
/builds/slave/m-cen-ics-armv7a-gecko-ntly/build/obj-b2g/_virtualenv/bin/python /builds/slave/m-cen-ics-armv7a-gecko-ntly/build/config/pythonpath.py \
  -I/builds/slave/m-cen-ics-armv7a-gecko-ntly/build/other-licenses/ply \
  /builds/slave/m-cen-ics-armv7a-gecko-ntly/build/obj-b2g/dist/sdk/bin/header.py -I/builds/slave/m-cen-ics-armv7a-gecko-ntly/build/dom/workers/test/extensions/traditional -I../../../../../dist/idl /builds/slave/m-cen-ics-armv7a-gecko-ntly/build/dom/workers/test/extensions/traditional/nsIWorkerTest.idl -d .deps/nsIWorkerTest.h.pp -o _xpidlgen/nsIWorkerTest.h
mkdir -p .deps/
Traceback (most recent call last):
  File "/builds/slave/m-cen-ics-armv7a-gecko-ntly/build/config/pythonpath.py", line 56, in <module>
    main(sys.argv[1:])
  File "/builds/slave/m-cen-ics-armv7a-gecko-ntly/build/config/pythonpath.py", line 48, in main
    execfile(script, frozenglobals)
  File "/builds/slave/m-cen-ics-armv7a-gecko-ntly/build/obj-b2g/dist/sdk/bin/header.py", line 513, in <module>
    idl.resolve(options.incdirs, p)
  File "/builds/slave/m-cen-ics-armv7a-gecko-ntly/build/obj-b2g/dist/sdk/bin/xpidl.py", line 287, in resolve
    p.resolve(self)
  File "/builds/slave/m-cen-ics-armv7a-gecko-ntly/build/obj-b2g/dist/sdk/bin/xpidl.py", line 257, in resolve
    raise IDLError("File '%s' not found" % self.filename, self.location)
xpidl.IDLError: error: File 'nsINetworkManager.idl' not found, /builds/slave/m-cen-ics-armv7a-gecko-ntly/build/dom/wifi/nsIWifi.idl line 8:0
#include "nsINetworkManager.idl"
^
make[6]: Leaving directory `/builds/slave/m-cen-ics-armv7a-gecko-ntly/build/obj-b2g/dom/wifi'
make[6]: *** [_xpidlgen/nsIWifi.h] Error 1
make[6]: *** Deleting file `_xpidlgen/nsIWifi.h'
make[5]: *** [wifi_export] Error 2
}
Blocks: 438871
Whiteboard: [orange][red]
Sigh.  I don't know a good way to get people to keep dependencies straight.
Depends on: 786703
Chances are the includes aren't even required. The required interfaces could probably be "forward-declared".
(In reply to Mike Hommey [:glandium] from comment #2)
> Chances are the includes aren't even required. The required interfaces could
> probably be "forward-declared".

In this case, you can, actually; nsIWifi.idl doesn't seem to need anything for inheritance purposes.

Hm.  bug 786703 landed yesterday and added -I$(topsrcdir)/dom/system/gonk to XPIDL_FLAGS.  Which is where nsINetworkManager lives.

If I'm reading the log correctly, though, bug 786703 landed before the revision above...?
I'm going to say that since we haven't seen this in a while, and I believe this instance was fixed by bug 786703, this bug can be closed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange][red] → [red]
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.