Open Bug 1772784 Opened 3 years ago Updated 3 years ago

Mach bootstrap fails at fetching nasm

Categories

(Firefox Build System :: Toolchains, defect)

Firefox 101
x86_64
Windows 10
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: digika, Unassigned)

Details

Following these instructions: https://firefox-source-docs.mozilla.org/setup/windows_build.html

  1. Unpack/install Mozilla
  2. Set 'MOZILLABUILD' env var to point to MozzilaBuild target dir.
  3. Check out the mozilla mercurial repo with bootstrap
  4. Try building in 'mozilla-unified' with ./mach build
  5. It fails with no C compiler error
  6. Re-bootstrap via ./mach bootstrap
  7. Eventually it fails at:
Installing bootstrapped toolchain in d:/Unlinked/FirefoxBuild/nasm
ERROR!!!!!! Could not find artifacts for a toolchain build named `toolchain-win64-nasm`. Local commits, dirty/stale files, and other changes in your checkout may cause this error. Make sure you are on a fresh, current checkout of mozilla-central. Beware that commands like `mach bootstrap` and `mach artifact` are unlikely to work on any versions of the code besides recent revisions of mozilla-central.
ERROR: Command '['d:\\Unlinked\\FirefoxBuild\\srcdirs\\mozilla-unified-2ae014087e66\\_virtualenvs\\mach\\Scripts\\python.exe', 'D:/Unlinked/GIT/MozillaBuild/mozilla-sources/mozilla-unified/mach', '--log-no-times', 'artifact', 'toolchain', '--from-build', 'toolchain-win64-nasm']' returned non-zero exit status 1.
ERROR: If you can't fix the above, retry with --disable-bootstrap.

At this point I no longer have workarounds

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.