Closed
Bug 788954
Opened 13 years ago
Closed 13 years ago
Race condition installing nsIZipWriter.idl
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla18
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.47 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
make -C zipwriter export
nsIZipReader.idl
make[7]: Entering directory `/builds/slave/m-cen-lnx64/build/obj-firefox/modules/libjar/zipwriter/public'
mkdir -p /builds/slave/m-cen-lnx64/build/obj-firefox/modules/libjar/zipwriter/public/.deps
/builds/slave/m-cen-lnx64/build/obj-firefox/_virtualenv/bin/python /builds/slave/m-cen-lnx64/build/config/pythonpath.py \
-I/builds/slave/m-cen-lnx64/build/other-licenses/ply \
/builds/slave/m-cen-lnx64/build/obj-firefox/dist/sdk/bin/header.py -I/builds/slave/m-cen-lnx64/build/modules/libjar -I../../dist/idl /builds/slave/m-cen-lnx64/build/modules/libjar/nsIZipReader.idl -d .deps/nsIZipReader.h.pp -o _xpidlgen/nsIZipReader.h
/builds/slave/m-cen-lnx64/build/obj-firefox/config/nsinstall -R -m 644 /builds/slave/m-cen-lnx64/build/modules/libjar/zipwriter/public/nsIZipWriter.idl ../../../../dist/idl
make[6]: Entering directory `/builds/slave/m-cen-lnx64/build/obj-firefox/modules/libjar/zipwriter'
make -C public export
nsIJARChannel.idl
/builds/slave/m-cen-lnx64/build/obj-firefox/_virtualenv/bin/python /builds/slave/m-cen-lnx64/build/config/pythonpath.py \
-I/builds/slave/m-cen-lnx64/build/other-licenses/ply \
/builds/slave/m-cen-lnx64/build/obj-firefox/dist/sdk/bin/header.py -I/builds/slave/m-cen-lnx64/build/modules/libjar -I../../dist/idl /builds/slave/m-cen-lnx64/build/modules/libjar/nsIJARChannel.idl -d .deps/nsIJARChannel.h.pp -o _xpidlgen/nsIJARChannel.h
make[7]: Entering directory `/builds/slave/m-cen-lnx64/build/obj-firefox/modules/libjar/zipwriter/public'
mkdir -p _xpidlgen/
mkdir -p .deps/
/builds/slave/m-cen-lnx64/build/obj-firefox/config/nsinstall -R -m 644 /builds/slave/m-cen-lnx64/build/modules/libjar/zipwriter/public/nsIZipWriter.idl ../../../../dist/idl
nsIJARURI.idl
make[7]: Leaving directory `/builds/slave/m-cen-lnx64/build/obj-firefox/modules/libjar/zipwriter/public'
make -C src export-idl
make[7]: Entering directory `/builds/slave/m-cen-lnx64/build/obj-firefox/modules/libjar/zipwriter/src'
mkdir -p /builds/slave/m-cen-lnx64/build/obj-firefox/modules/libjar/zipwriter/src/.deps
make[7]: Leaving directory `/builds/slave/m-cen-lnx64/build/obj-firefox/modules/libjar/zipwriter/src'
make -C test export-idl
make[7]: Entering directory `/builds/slave/m-cen-lnx64/build/obj-firefox/modules/libjar/zipwriter/test'
make[7]: `export-idl' is up to date.
make[7]: Leaving directory `/builds/slave/m-cen-lnx64/build/obj-firefox/modules/libjar/zipwriter/test'
make[6]: Leaving directory `/builds/slave/m-cen-lnx64/build/obj-firefox/modules/libjar/zipwriter'
make -C test export-idl
/builds/slave/m-cen-lnx64/build/obj-firefox/config/nsinstall: cannot make symbolic link /builds/slave/m-cen-lnx64/build/obj-firefox/dist/idl/nsIZipWriter.idl: File exists
make[7]: *** [../../../../dist/idl/nsIZipWriter.idl] Error 1
make[7]: *** Deleting file `../../../../dist/idl/nsIZipWriter.idl'
| Assignee | ||
Comment 1•13 years ago
|
||
Basically, both these commands happen at the same time:
- make -C zipwriter export-idl
- make -C zipwriter export
What I don't get is where does the export-idl one come from.
https://tbpl.mozilla.org/php/getParsedLog.php?id=15006018&tree=Mozilla-Inbound
OS X 10.7 mozilla-inbound build [busted]
| Assignee | ||
Comment 3•13 years ago
|
||
So, what is going on is that make export is recursing, and it also depends on export-idl, which is recursing too.
An alternative solution would be to remote the export-idl rule altogether, if no one uses it. The build system itself doesn't, really.
Attachment #658806 -
Flags: review?(ted.mielczarek)
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → mh+mozilla
Comment 4•13 years ago
|
||
Where's XPIDLSRCS_TARGET used?
| Assignee | ||
Comment 5•13 years ago
|
||
Attachment #658854 -
Flags: review?(ted.mielczarek)
| Assignee | ||
Updated•13 years ago
|
Attachment #658806 -
Attachment is obsolete: true
Attachment #658806 -
Flags: review?(ted.mielczarek)
Updated•13 years ago
|
Attachment #658854 -
Flags: review?(ted.mielczarek) → review+
| Assignee | ||
Comment 6•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•