Closed Bug 1184034 Opened 9 years ago Closed 9 years ago

Error while running mach mercurial-setup: IOError: [Errno 2] No such file or directory: u'/Users/mikedeboer/.mozbuild/mercurial/setup.lastcheck'

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
blocker

Tracking

(firefox42 affected)

RESOLVED DUPLICATE of bug 1183982
Tracking Status
firefox42 --- affected

People

(Reporter: mikedeboer, Unassigned)

Details

I think it's worth noting that my '/Users/mikedeboer/.mozbuild' directory does not contain a mercurial dir.

This is very painful, because `./mach build` now does _not_ work, because it thinks that I have not configured mercurial and exits.
I don't understand _why_ you'd need mercurial to be configured for building Firefox.

This is the full terminal output:

./mach mercurial-setup
Error running mach:

    ['mercurial-setup']

The error occurred in the implementation of the invoked mach command.

This should never occur and is likely a bug in the implementation of that
command. Consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

IOError: [Errno 2] No such file or directory: u'/Users/mikedeboer/.mozbuild/mercurial/setup.lastcheck'

  File "/Users/mikedeboer/Projects/fx-team/tools/mercurial/mach_commands.py", line 54, in mercurial_setup
    with open(state_path, 'a'):
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.