Closed
Bug 758732
Opened 13 years ago
Closed 13 years ago
configure sometimes fails with "rm: cannot lstat `conftest.exe': Permission denied" followed by "C++ compiler cannot create executables"
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mayhemer, Unassigned)
References
Details
Attachments
(1 file)
790 bytes,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #545015 +++
The current delay of 1 is not enough. As Ehsan has suggested, I'm using timeout of 2 a long time as a local path. When I sometimes forget to apply it, I get the conftest.exe permission denied error.
Proposing to raise the timeout.
Attachment #627311 -
Flags: review?(ehsan)
Comment 1•13 years ago
|
||
I suggest we just assume that VC++ can create executables and avoid doing this test altogether on Windows, instead of making configure two seconds slower than necessary--especially considering that configure is already ungodly slow on Windows without any sleeping.
Comment 2•13 years ago
|
||
Comment on attachment 627311 [details] [diff] [review]
v1
What could *possibly* go wrong? :-)
Attachment #627311 -
Flags: review?(ehsan) → review+
Comment 3•13 years ago
|
||
(In reply to Brian Smith (:bsmith) from comment #1)
> I suggest we just assume that VC++ can create executables and avoid doing
> this test altogether on Windows, instead of making configure two seconds
> slower than necessary--especially considering that configure is already
> ungodly slow on Windows without any sleeping.
This check is done by one of the autoconfigure macros (AC_LANG_C or whatever they call it) so we can't skip that particular check quite easily.
Comment 4•13 years ago
|
||
And by autoconfigure, I obviously mean autoconf!
![]() |
Reporter | |
Comment 5•13 years ago
|
||
Comment on attachment 627311 [details] [diff] [review]
v1
https://hg.mozilla.org/mozilla-central/rev/e4574b46f0ba
Attachment #627311 -
Flags: checkin+
![]() |
Reporter | |
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 6•13 years ago
|
||
It is possible to override bits of the built-in autoconf macros, m4 is pretty flexible.
Comment 7•13 years ago
|
||
(In reply to Ted Mielczarek [:ted] from comment #6)
> It is possible to override bits of the built-in autoconf macros, m4 is
> pretty flexible.
Filed bug 758752 for this. Can you please fill in the details?
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
•