Closed Bug 634943 Opened 13 years ago Closed 13 years ago

configure error for Windows being unable to build conftest.exe because of permissions

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 545015

People

(Reporter: ehsan.akhgari, Unassigned)

Details

I've seen this so many times in configure:  (issuing configure again fixes the problem)

ehsan@BEHEMOTH ~/moz/src
$ build/pymake/make.py -f client.mk build
make.py[0]: Entering directory 'c:\Users\ehsan\moz\src'
Adding client.mk options from c:/Users/ehsan/moz/src/mozconfig:
    MOZ_OBJDIR=$(TOPSRCDIR)/objdir
    MOZ_MAKE_FLAGS=-s -j8
Generating c:/Users/ehsan/moz/src/configure using autoconf
c:\Users\ehsan\moz\src\client.mk:280:0$ cd c:/Users/ehsan/moz/src; /local/bin/autoconf-2.13
make.py[1]: Entering directory 'c:\Users\ehsan\moz\src'
cd c:/Users/ehsan/moz/src/objdir
c:/Users/ehsan/moz/src/configure
Adding configure options from c:/Users/ehsan/moz/src/mozconfig:
  --enable-application=browser
  --enable-debug
  --disable-optimize
loading cache ./config.cache
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking build system type... i686-pc-mingw32
checking for mawk... (cached) gawk
checking for perl5... (cached) /bin/perl
checking for gcc... (cached) cl
checking whether the C compiler (cl  ) works... yes
checking whether the C compiler (cl  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cl accepts -g... (cached) no
checking for c++... (cached) cl
checking whether the C++ compiler (cl  ) works... rm: cannot lstat `conftest.exe': Permission denied
no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
*** Fix above errors and then restart with               "c:/mozilla-build/python/python.exe c:/Users/ehsan/moz/src/build/pymake/pymake/../m
ake.py -f client.mk build"
c:\Users\ehsan\moz\src\client.mk:309:0: command 'cd c:/Users/ehsan/moz/src/objdir &&   c:/Users/ehsan/moz/src/configure  \
  || ( echo "*** Fix above errors and then restart with\
               \"c:/mozilla-build/python/python.exe c:/Users/ehsan/moz/src/build/pymake/pymake/../make.py -f client.mk build\"" && exit 1 )'
 failed, return code 1
c:\Users\ehsan\moz\src\client.mk:315:0: command 'c:/mozilla-build/python/python.exe c:/Users/ehsan/moz/src/build/pymake/pymake/../make.py -f
 c:/Users/ehsan/moz/src/client.mk configure' failed, return code 2
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.