Open Bug 1095630 Opened 11 years ago Updated 3 years ago

error messages during configure: c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/Program Files (x86)/Windows Kits/8.1/bin/x86/c: binary operator expected

Categories

(Firefox Build System :: General, defect)

All
Windows XP
defect

Tracking

(Not tracked)

People

(Reporter: froydnj, Unassigned)

Details

There's a bunch of error messages from tinderbox logs: checking for c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/mozmake.exe... c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/Program Files (x86)/Windows Kits/8.1/bin/x86/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/tools/vs2013/Common7/IDE/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/tools/vs2013/VC/BIN/amd64_x86/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/tools/vs2013/VC/BIN/amd64/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/tools/vs2013/Common7/Tools/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/tools/vs2013/VC/VCPackages/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/moztools/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/Program Files (x86)/Windows Kits/8.1/bin/x86/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/tools/vs2013/Common7/IDE/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/tools/vs2013/VC/BIN/amd64_x86/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/tools/vs2013/VC/BIN/amd64/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/tools/vs2013/Common7/Tools/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/tools/vs2013/VC/VCPackages/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/moztools/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/nsis-3.0a2/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/nsis-2.46u/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/python27/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/buildbotve/scripts/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /usr/local/bin/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/wget/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/7zip/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/blat261/full/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/python/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/svn-win32-1.6.3/bin/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/upx203w/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/emacs-22.3/bin/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/info-zip/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/nsis-2.22/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/nsis-2.33u/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/nsis-2.46u/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/wix-351728/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/hg/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/python/Scripts/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/kdiff3/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/yasm/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: ./c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /usr/local/bin/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /usr/mingw/bin/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /usr/bin/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/windows/system32/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/windows/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/windows/System32/Wbem/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/windows/System32/WindowsPowerShell/v1.0//c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/python27/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/python27/Scripts/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /usr/bin/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/vim/vim72/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/wget/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/info-zip/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/CoreUtils/bin/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/buildbotve/scripts/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn//c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/Program Files/Microsoft SQL Server/100/Tools/Binn//c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/Program Files/Microsoft SQL Server/100/DTS/Binn//c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/Program Files (x86)/Windows Kits/8.0/Windows Performance Toolkit//c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit//c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/Program Files/Microsoft SQL Server/110/Tools/Binn//c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/Program Files (x86)/Microsoft SDKs/TypeScript/1.0//c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/moztools-x64/bin/c: binary operator expected c:/builds/moz2_slave/m-cen-w32-00000000000000000000/build/configure: line 5518: test: /c/mozilla-build/vim/vim72/c: binary operator expected no checking for make... /usr/local/bin/make I assume that's parsing through PATH and not being careful about spaces or something? Happens on 32-bit and 64-bit builds.
I never used to see this, but suddenly today I updated my tree and now I do...
I've been running into the same -- seems to be related to drive letters (in my case it end in e: where the OP issue ends in c:) being at the end of paths listed (and being cut off at the colon). Would there be an easy way to find out when this was introduced?
FTR: the relevant part of configure is: > # Extract the first word of "$ac_prog", so it can be a program name with args. Apparently "ac_word" is filled with a path+driveletter? It then fails on: > if test -f $ac_dir/$ac_word; then
I revisited this and as far as I can tell the problem is that mozmake.exe is used as a full path+drive letter. (possibly others as well) So it will check for "mozmake" by checking for "x:/mozillabuild-path/mozmake.exe" and passing that to a path search "/msyspath/dir/x:/mozillabuild-path/mozmake.exe" - hitting the ":" there, and expecting a binary operator. Solution would be to strip the path from the executable to check for (making it just "mozmake.exe"). Unfortunately I know very little about autotools or this particular part of the build system.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.