Closed
Bug 896379
Opened 11 years ago
Closed 11 years ago
One-line build command fails with error ("Error: python-2.7.5 already installed")
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla27
People
(Reporter: cmills, Assigned: gps)
Details
Attachments
(1 file)
2.06 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
I am investigating a problem with the documentation on https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions/Mac_OS_X_Prerequisites. I think I've got Xcode and Homebrew set up fine, but when you run the one line setup (see top of doc), it fails with a message "Error: python-2.7.5 already installed". Has anything changed recently, which would require an update to these instructions?
Assignee | ||
Comment 1•11 years ago
|
||
I believe mconnor mentioned a similar error on IRC a few days ago. Can one of you please post the full output to help diagnosing this problem?
Flags: needinfo?(cmills)
Reporter | ||
Comment 2•11 years ago
|
||
I have posted my full output upon running the command into the following pastebin: http://pastebin.com/BLVypJuX
Flags: needinfo?(cmills)
Assignee | ||
Comment 3•11 years ago
|
||
Ahh, I suspect this is a PATH issue. If I run |PATH=/usr/bin:$PATH mach bootstrap| on my OS X machine, /usr/bin/python (2.7.2) is picked up and I can reproduce this error. Let me see if I can whip up a workaround.
Assignee: nobody → gps
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•11 years ago
|
||
This is a quick hack that seems to work. In the future, we may want the bootstrapper to exit or reinvoke self if installing Homebrew and/or MacPorts so it can pick up the environment variable changes each results in. Until then, this should suffice.
Attachment #779853 -
Flags: review?(benjamin)
Comment 5•11 years ago
|
||
Comment on attachment 779853 [details] [diff] [review] Fix build bootstrapper on fresh OS X installs Can this be "Mach will" or "Attempting upgrade"? Having a non-sentence in there is a little weird.
Attachment #779853 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ac848ab26ba8 (We really need a bot/dashboard that tells you when reviewed patches haven't landed.)
Flags: in-testsuite-
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ac848ab26ba8
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•