Closed Bug 1870874 Opened 1 year ago Closed 1 year ago

bootstrap complains when .hgrc paths use ~/.mozbuild

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect

Tracking

(firefox-esr115 unaffected, firefox121 unaffected, firefox122 wontfix, firefox123 fixed)

RESOLVED FIXED
123 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox121 --- unaffected
firefox122 --- wontfix
firefox123 --- fixed

People

(Reporter: mjf, Assigned: mjf)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Previously, I could use ~/.mozbuild in my .hgrc file that I share between linux and macOS. Since Bug 1842692 landed, I get the following:

The details of the failure are as follows:

Exception: Paths for extensions in your hgrc file appear to be referencing paths that are not in the current '.mozbuild' state directory.
You may have set the MOZBUILD_STATE_PATH environment variable and/or moved the .mozbuild directory. You should update the paths for the following extensions manually to be inside '/Users/mfroman/.mozbuild'
(If you instead wish to hide this error, set 'MACH_IGNORE_HGRC_STATE_DIR_MISMATCH=1' in your environment variables and restart your shell before rerunning mach).

You can either use the command 'hg config --edit' to make changes to your hg configuration or manually edit the 'config file' specified for each extension below:

Extension: 'extensions.evolve' found in config file '/Users/mfroman/.hgrc:14'
Current: ~/.mozbuild/evolve/hgext3rd/evolve
Expected: /Users/mfroman/.mozbuild/evolve/hgext3rd/evolve
Extension: 'extensions.firefoxtree' found in config file '/Users/mfroman/.hgrc:18'
Current: ~/.mozbuild/version-control-tools/hgext/firefoxtree
Expected: /Users/mfroman/.mozbuild/version-control-tools/hgext/firefoxtree
Extension: 'extensions.push-to-try' found in config file '/Users/mfroman/.hgrc:21'
Current: ~/.mozbuild/version-control-tools/hgext/push-to-try
Expected: /Users/mfroman/.mozbuild/version-control-tools/hgext/push-to-try

Keywords: regression
Regressed by: 1842692

Set release status flags based on info from the regressing bug 1842692

:ahochheiden, since you are the author of the regressor, bug 1842692, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(ahochheiden)
Assignee: nobody → mfroman
Status: NEW → ASSIGNED
Pushed by mfroman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e641f7e6c845 use expanduser() when comparing extension paths in bootstrap.py r=firefox-build-system-reviewers,glandium
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Flags: needinfo?(ahochheiden)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: