Closed
Bug 1181989
Opened 10 years ago
Closed 9 years ago
bootstrap.py fails when there is no corresponding OS version of mercurial in the Ubuntu ppa
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox42 affected)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox42 | --- | affected |
People
(Reporter: gkw, Unassigned)
Details
Attachments
(1 file)
|
9.29 KB,
text/plain
|
Details |
The latest Ubuntu is 15.04, which is Vivid.
According to https://launchpad.net/~mercurial-ppa/+archive/ubuntu/releases - there are no releases for Vivid yet.
Thus, the following line in bootstrap.py on a fresh 15.04 install will fail:
https://hg.mozilla.org/mozilla-central/file/f34a7120f46b/python/mozboot/mozboot/ubuntu.py#l28
because apt-get will say that it is not found.
| Reporter | ||
Comment 1•10 years ago
|
||
console log for ARM install.
Traceback (most recent call last):
File "bootstrap.py", line 163, in <module>
sys.exit(main(sys.argv))
File "bootstrap.py", line 154, in main
dasboot.bootstrap()
File "/tmp/tmp_9HMRT/mozboot/bootstrap.py", line 136, in bootstrap
parser.add_option('--application-choice', dest='application_choice',
File "/tmp/tmp_9HMRT/mozboot/base.py", line 294, in ensure_mercurial_modern
File "/tmp/tmp_9HMRT/mozboot/ubuntu.py", line 28, in upgrade_mercurial
File "/tmp/tmp_9HMRT/mozboot/debian.py", line 134, in _update_package_manager
File "/tmp/tmp_9HMRT/mozboot/base.py", line 196, in apt_update
File "/tmp/tmp_9HMRT/mozboot/base.py", line 159, in run_as_root
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '[u'sudo', u'apt-get', u'update']'
| Reporter | ||
Comment 2•9 years ago
|
||
Fixed by the following changeset as part of bug 1174037 that removed the Ubuntu PPA / bootstrapper, and we recommended to use pip-based installs of Mercurial instead.
http://hg.mozilla.org/mozilla-central/rev/dc6af89505c8
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•