Closed
Bug 1143412
Opened 9 years ago
Closed 9 years ago
Need to run "apt-get update" after "dpkg --add-architecture"
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect)
Tracking
(firefox39 fixed)
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
Details
Attachments
(1 file)
1.58 KB,
patch
|
nalexander
:
review+
|
Details | Diff | Splinter Review |
When running "python bootstrap.py" on a fresh debian, it will fail with: Executing as root: sudo dpkg --add-architecture i386 Executing as root: sudo apt-get install zlib1g-dev openjdk-7-jdk ant wget libncurses5:i386 libstdc++6:i386 zlib1g:i386 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libncurses5 E: Unable to locate package libstdc++6 E: Couldn't find any package by regex 'libstdc++6' E: Unable to locate package zlib1g Traceback (most recent call last): File "bootstrap.py", line 156, in <module> sys.exit(main(sys.argv)) File "bootstrap.py", line 147, in main dasboot.bootstrap() File "/tmp/tmpeZjVUs/mozboot/bootstrap.py", line 120, in bootstrap File "/tmp/tmpeZjVUs/mozboot/debian.py", line 98, in install_mobile_android_packages File "/tmp/tmpeZjVUs/mozboot/base.py", line 180, in apt_install File "/tmp/tmpeZjVUs/mozboot/base.py", line 156, 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'install', 'zlib1g-dev', 'openjdk-7-jdk', 'ant', 'wget', 'libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386']' returned non-zero exit status 100 apt-get update needs to be run after "dpkg --add-architecture"
Attachment #8577737 -
Flags: review?(nalexander)
Comment 1•9 years ago
|
||
Comment on attachment 8577737 [details] [diff] [review] run_apt_update.diff Review of attachment 8577737 [details] [diff] [review]: ----------------------------------------------------------------- Thanks sylvestre! ::: python/mozboot/mozboot/debian.py @@ +93,5 @@ > # the box. The solution is to add the i386 architecture. See > # "Troubleshooting Ubuntu" at > # http://developer.android.com/sdk/installing/index.html?pkg=tools. > self.run_as_root(['dpkg', '--add-architecture', 'i386']) > + # Need to update the apt list nit: full sentence comment, please.
Attachment #8577737 -
Flags: review?(nalexander) → review+
Assignee | ||
Comment 2•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/c7f6177f04cf
Comment 3•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c7f6177f04cf
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
Updated•5 years ago
|
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 39 → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•