Closed Bug 914394 Opened 6 years ago Closed 6 years ago

WindowsError On Linux when doing mach clobber.

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla26

People

(Reporter: ckitching, Assigned: gps)

Details

Attachments

(1 file)

I encounter the following error when running mach clobber on Arch Linux on one, but not all, of my clones:

zsh: correct 'clobber' to 'CLOBBER' [nyae]? n
Error running mach:

    ['clobber']

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:

NameError: global name 'WindowsError' is not defined

  File "/home/chris/Fennec/Fennec/python/mozbuild/mozbuild/mach_commands.py", line 479, in clobber
    except WindowsError as e:



This may or may not be interesting.
Component: Build Config → mach
WindowsError is only exposed on Windows, derp. Will have a patch shortly...
Status: NEW → ASSIGNED
Component: mach → Build Config
Trivial patch.
Attachment #802395 - Flags: review?(ted)
Assignee: nobody → gps
Attachment #802395 - Flags: review?(ted) → review+
https://hg.mozilla.org/mozilla-central/rev/08977d6b4bf1
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.