Closed Bug 1039806 Opened 10 years ago Closed 10 years ago

Local variable 'output' referenced before assignment error using bootstrap.py to pull mozilla-central.

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla34

People

(Reporter: wesj, Assigned: gps)

Details

Attachments

(1 file)

Trying to pull on OSX today I got:

localhost:Documents mozilla$ python bootstrap.py 
Traceback (most recent call last):
  File "bootstrap.py", line 152, in <module>
    sys.exit(main(sys.argv))
  File "bootstrap.py", line 143, in main
    dasboot.bootstrap()
  File "/var/folders/45/nzbvpss15qn0n7297_4t284w0000gn/T/tmpXNitIq/mozboot/bootstrap.py", line 96, in bootstrap
    files = fetch_files(repo_url, repo_type)
  File "/var/folders/45/nzbvpss15qn0n7297_4t284w0000gn/T/tmpXNitIq/mozboot/osx.py", line 176, in install_system_packages
  File "/var/folders/45/nzbvpss15qn0n7297_4t284w0000gn/T/tmpXNitIq/mozboot/osx.py", line 211, in ensure_xcode
UnboundLocalError: local variable 'output' referenced before assignment

python version 2.7.2
Pretty sure this is in the wrong component. Fix if necessary.
Component: Tools → Build Config
Product: Release Engineering → Core
QA Contact: hwine
I think this should fix it.

Try applying patch to cloned Firefox repo and running |mach bootstrap|.
Although, if you've installed XCode already, you may not be able to
repro.
Attachment #8457650 - Flags: review?(mshal)
Attachment #8457650 - Flags: feedback?(wjohnston)
Assignee: nobody → gps
Status: NEW → ASSIGNED
Attachment #8457650 - Flags: review?(mshal) → review+
https://hg.mozilla.org/mozilla-central/rev/1b21108d2a5d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Comment on attachment 8457650 [details] [diff] [review]
UnboundLocalError: local variable 'output'

I had a loaner when I hit this, and don't have it anymore.
Attachment #8457650 - Flags: feedback?(wjohnston)
QA Whiteboard: [qa-]
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: