Bug 1717051 Comment 40 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

With this patch landed I'm not able to run any `mach` command anymore. The failure is:

```
➜ mach build
Traceback (most recent call last):
  File "/Users/henrik/code/gecko/mach", line 167, in <module>
    main(sys.argv[1:])
  File "/Users/henrik/code/gecko/mach", line 159, in main
    mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
  File "/Users/henrik/code/gecko/mach", line 146, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/Users/henrik/code/gecko/mach", line 134, in load_mach
    return mach_initialize.initialize(dir_path)
  File "/Users/henrik/code/gecko/build/mach_initialize.py", line 302, in initialize
    import mach.main
  File "/Users/henrik/code/gecko/python/mach/mach/main.py", line 33, in <module>
    from .dispatcher import CommandAction
  File "/Users/henrik/code/gecko/python/mach/mach/dispatcher.py", line 20, in <module>
    from .decorators import SettingsProvider
  File "/Users/henrik/code/gecko/python/mach/mach/decorators.py", line 13, in <module>
    from mozbuild.base import MachCommandBase
ModuleNotFoundError: No module named 'mozbuild'
```

I requested a backout from the sheriffs.
(In reply to Pulsebot from comment #38)
> Pushed by mhentges@mozilla.com:
> https://hg.mozilla.org/integration/autoland/rev/894fc83e19a0
> Always populate Mach pths r=firefox-build-system-reviewers,glandium

With this patch landed I'm not able to run any `mach` command anymore. The failure is:

```
➜ mach build
Traceback (most recent call last):
  File "/Users/henrik/code/gecko/mach", line 167, in <module>
    main(sys.argv[1:])
  File "/Users/henrik/code/gecko/mach", line 159, in main
    mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
  File "/Users/henrik/code/gecko/mach", line 146, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/Users/henrik/code/gecko/mach", line 134, in load_mach
    return mach_initialize.initialize(dir_path)
  File "/Users/henrik/code/gecko/build/mach_initialize.py", line 302, in initialize
    import mach.main
  File "/Users/henrik/code/gecko/python/mach/mach/main.py", line 33, in <module>
    from .dispatcher import CommandAction
  File "/Users/henrik/code/gecko/python/mach/mach/dispatcher.py", line 20, in <module>
    from .decorators import SettingsProvider
  File "/Users/henrik/code/gecko/python/mach/mach/decorators.py", line 13, in <module>
    from mozbuild.base import MachCommandBase
ModuleNotFoundError: No module named 'mozbuild'
```

I requested a backout from the sheriffs.

Back to Bug 1717051 Comment 40