Closed
Bug 774111
Opened 12 years ago
Closed 12 years ago
mach: bootstrap support for Ubuntu
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 774112
People
(Reporter: gps, Assigned: kmm)
References
(Blocks 1 open bug)
Details
(Whiteboard: [mach])
Attachments
(2 files, 1 obsolete file)
Mach should have support for bootstrapping the development environment on Ubuntu.
1) Start with a fresh install of Ubuntu.
2) Obtain source code for mozilla-central (either a source bundle or repository clone)
3) Run ./mach and all build prerequisites are installed automatically.
The goal is to make it super simple for people to build mozilla-central. Your terminal-literate grandmother should be able to do it.
This bug essentially involves automating https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Linux_Prerequisites. Basically, query APT and offer to install missing packages.
Ideally, bootstrap support would not require a full copy of mozilla-central. We could provide a one-liner for someone to `curl | python` and magic would ensue. This could just talk to hg.mozilla.org over HTTPS (not using Mercurial) and pull down the latest .py files needed to start performing more magic. This minimal bootstrap is beyond the scope of this bug, but it should be considered during implementation.
Assignee | ||
Comment 1•12 years ago
|
||
Tested on Mint and Ubuntu 12 and worked; still has build command in there to speed up testing; may be a few logic/syntax errors yet as it's not the copy I planned to upload
Attachment #657402 -
Flags: review?(gps)
Comment 2•12 years ago
|
||
> apt-get -y build-dep firefox
Don't do this. It requires deb-src entries, and pulls more stuff than needed. (and yes, the instructions on mdn suck, i though Chris Coulson was going to update them)
Assignee | ||
Comment 3•12 years ago
|
||
removed unnecessary package install on RHEL platforms; implemented platform module to ID specific distro
Assignee: nobody → kmm537
Attachment #657402 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #657402 -
Flags: review?(gps)
Attachment #657436 -
Flags: review?(gps)
Assignee | ||
Updated•12 years ago
|
Attachment #657436 -
Flags: review?(gps) → feedback?(gps)
Assignee | ||
Comment 4•12 years ago
|
||
updating with working CentOS dependency installer; doesn't install libstdc++-static, but appears to build ( hopefully correctly ); already tested and working for Ubuntu/Mint
Attachment #658168 -
Flags: feedback?(gps)
Reporter | ||
Comment 5•12 years ago
|
||
Marking as dupe. Bug 774112 will become a generic Linux bug.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 6•12 years ago
|
||
Comment on attachment 657436 [details]
use platform module to ID distro
Old patch. Code already landed.
Attachment #657436 -
Flags: feedback?(gps)
Reporter | ||
Comment 7•12 years ago
|
||
Comment on attachment 658168 [details]
updated with working CentOS dependency installer
Old patch. Code already landed.
Attachment #658168 -
Flags: feedback?(gps)
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•