Closed Bug 1598099 Opened 2 years ago Closed 2 years ago

`mach clobber python` errors out if there is no objdir

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: ahal, Assigned: ahal)

Details

Attachments

(1 file)

STR

$ mach clobber
$ mach clobber python

Result

mozversioncontrol.MissingConfigureInfo: could not find VCS_CHECKOUT_TYPE in build config; check configure output and verify it could find a VCS binary

  File "/home/ahal/dev/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 223, in clobber
    if conditions.is_hg(self):
  File "/home/ahal/dev/mozilla-central/python/mozbuild/mozbuild/base.py", line 970, in is_hg
    return isinstance(cls.repository, HgRepository)
  File "/home/ahal/dev/mozilla-central/python/mozbuild/mozbuild/util.py", line 982, in __get__
    setattr(instance, name, self.func(instance))
  File "/home/ahal/dev/mozilla-central/python/mozbuild/mozbuild/base.py", line 404, in repository
    return get_repository_from_build_config(self)
  File "/home/ahal/dev/mozilla-central/python/mozversioncontrol/mozversioncontrol/__init__.py", line 546, in get_repository_from_build_config
    raise MissingConfigureInfo('could not find VCS_CHECKOUT_TYPE '
Assignee: nobody → ahal
Status: NEW → ASSIGNED
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/46c23b186d73
[mozbuild] Catch correct exception when instantiating a Repository object without a build config, r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.