Open Bug 1569960 Opened 5 years ago Updated 2 years ago

Build attempt fails with "Cannot find the assembler" error message

Categories

(Firefox Build System :: General, defect)

Desktop
Windows
defect

Tracking

(Not tracked)

REOPENED

People

(Reporter: MarcoZ, Unassigned)

References

(Blocks 1 open bug)

Details

The exact lines of error I get are:

0:35.46 js/src> checking for nasm... c:/Users/marco/.mozbuild/nasm/nasm.exe
0:35.47 js/src> checking nasm version... 2.14.02
0:35.48 js/src> checking for the assembler... not found
0:35.48 js/src> ERROR: Cannot find the assembler

Today's (roughly 2PM CEST July 30th) checkout of m-c, ran ./mach bootstrap, but that didn't fix it. Worked fine when I last built Firefox on Friday afternoon.

Nevermind, clobbering fixed it, although I can't really imagine why clobbering would cause a tool to be found. ;)

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID

(In reply to Marco Zehe (:MarcoZ) from comment #1)

Nevermind, clobbering fixed it, although I can't really imagine why clobbering would cause a tool to be found. ;)

I just had the same experience. Thanks for the hint.

STR:
I did a ./mach build
I got this error:

 0:15.58 checking for cbindgen...
 0:15.58 DEBUG: trying cbindgen: c:/Users/Valentin/.mozbuild/cbindgen/cbindgen.exe
 0:15.58 DEBUG: Executing: `c:/Users/Valentin/.mozbuild/cbindgen/cbindgen.exe --version`
 0:15.58 DEBUG: c:/Users/Valentin/.mozbuild/cbindgen/cbindgen.exe has version 0.13.0
 0:15.58 DEBUG: trying cbindgen: c:/Users/Valentin/.cargo/bin/cbindgen.exe
 0:15.58 DEBUG: Executing: `c:/Users/Valentin/.cargo/bin/cbindgen.exe --version`
 0:15.58 DEBUG: c:/Users/Valentin/.cargo/bin/cbindgen.exe has version 0.9.0
 0:15.58 DEBUG: trying cbindgen: c:/Users/Valentin/.cargo/bin/cbindgen.exe
 0:15.58 DEBUG: Executing: `c:/Users/Valentin/.cargo/bin/cbindgen.exe --version`
 0:15.58 DEBUG: c:/Users/Valentin/.cargo/bin/cbindgen.exe has version 0.9.0
 0:15.58 DEBUG: trying cbindgen: c:/Users/Valentin/.mozbuild/cbindgen/cbindgen.exe
 0:15.58 DEBUG: Executing: `c:/Users/Valentin/.mozbuild/cbindgen/cbindgen.exe --version`
 0:15.58 DEBUG: c:/Users/Valentin/.mozbuild/cbindgen/cbindgen.exe has version 0.13.0
 0:15.58 ERROR: cbindgen version 0.13.0 is too old. At least version 0.13.1 is required.
 0:15.58 Please update using 'cargo install cbindgen --force' or running
 0:15.58 './mach bootstrap', after removing the existing executable located at
 0:15.58 c:/Users/Valentin/.mozbuild/cbindgen/cbindgen.exe.
 0:15.64 *** Fix above errors and then restart with\
 0:15.64                "./mach build"
 0:15.66 mozmake.EXE: *** [client.mk;115: configure] Error 1

Executed cargo install cbindgen --force and ./mach build again

 0:34.90 js/src> checking for nasm... c:/Users/Valentin/.mozbuild/nasm/nasm.exe
 0:34.91 js/src> checking nasm version... 2.14.02
 0:34.93 js/src> checking for the assembler... not found
 0:34.93 js/src> ERROR: Cannot find the assembler
 0:35.03 *** Fix above errors and then restart with\
 0:35.03                "./mach build"
 0:35.06 mozmake.EXE: *** [client.mk;115: configure] Error 1

I also tried a ./mach bootstrap but that didn't fix it. Finally I clobbered and then it worked.
Seems like there is a small bug somewhere.

Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.