Closed Bug 1637034 Opened 5 years ago Closed 5 years ago

No minidump-stackwalk (macos64 and win32) toolchain when ./mach bootstrap

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1636797

People

(Reporter: daoshengmu, Unassigned)

Details

When doing ./mach bootstrap, it can't find a minidump-stackwalk toolchain. I have tried Windows and Mac OS. Both of them have the same issue (win32-minidump-stackwalk and macos64-minidump-stackwalk). It should be cause by patches around May 8th ~ May 10th.

Please try mach clobber python and re-bootstrap.

Flags: needinfo?(dmu)

It still happens to me when choosing bootstrap 2 or 4 option on Mac OS even after a ./mach clobber. Windows seems to have no this issue after ./mach clobber python.

Could not find artifacts for a toolchain build named `macosx64-minidump-stackwalk`. Local commits and other changes in your checkout may cause this error. Try updating to a fresh checkout of mozilla-central to use artifact builds.

The details of the failure are as follows:

subprocess.CalledProcessError: Command '['/usr/local/opt/python/bin/python3.6', '/Users/daoshengmu/Projects/mozilla/gecko-dev/mach', 'artifact', 'toolchain', '--from-build', 'macosx64-minidump-stackwalk']' returned non-zero exit status 1.

  File "/Users/daoshengmu/Projects/mozilla/gecko-dev/python/mozboot/mozboot/mach_commands.py", line 44, in bootstrap
    bootstrapper.bootstrap()
  File "/Users/daoshengmu/Projects/mozilla/gecko-dev/python/mozboot/mozboot/bootstrap.py", line 540, in bootstrap
    checkout_root)
  File "/Users/daoshengmu/Projects/mozilla/gecko-dev/python/mozboot/mozboot/bootstrap.py", line 396, in maybe_install_private_packages_or_exit
    self.instance.ensure_minidump_stackwalk_packages(state_dir, checkout_root)
  File "/Users/daoshengmu/Projects/mozilla/gecko-dev/python/mozboot/mozboot/osx.py", line 568, in ensure_minidump_stackwalk_packages
    minidump_stackwalk.MACOS_MINIDUMP_STACKWALK)
  File "/Users/daoshengmu/Projects/mozilla/gecko-dev/python/mozboot/mozboot/base.py", line 358, in install_toolchain_artifact
    subprocess.check_call(cmd, cwd=state_dir)
  File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
daosheng-mu-mbp:gecko-dev daoshengmu$ ./mach bootstrap
Flags: needinfo?(dmu)
Flags: needinfo?(dmu)

./mach clobber python fixed it here on Ubuntu 18.04.4 as well, I hadn't built in this tree for quite a while so that might be why it needed cleaning.

Flags: needinfo?(dmu)
Summary: No minidump-stackwalk(macos64 and win32) toolchain when ./mach bootstrap → No minidump-stackwalk (macos64 and win32) toolchain when ./mach bootstrap

(In reply to Nathan Froyd [:froydnj] from comment #3)

Can you try the solutions in https://bugzilla.mozilla.org/show_bug.cgi?id=1636797#c11 ?

It works for me after rm -rf toolkit/crashreporter/ && git checkout .

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.