Closed Bug 1158443 Opened 10 years ago Closed 9 years ago

Using python/mozboot/bin/bootstrap.py to clone mozilla-central crashes after resolving all dependencies

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1232486

People

(Reporter: henry, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 Build ID: 20150421074559 Steps to reproduce: I'm on Fedora 22 beta. This started happening after recent update to my system. I issued `wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py && python bootstrap.py` and selected option 2 to build Firefox for Android. After, it solved all the dependencies and then crashed Actual results: Package autoconf213-2.13-34.fc22.noarch is already installed, skipping. Package mercurial-3.3.3-1.fc22.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! 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/tmpVaien9/mozboot/bootstrap.py", line 134, in bootstrap 'content. Like --repo, you should not need to set this.') File "/tmp/tmpVaien9/mozboot/base.py", line 125, in install_mobile_android_packages NotImplementedError: Cannot bootstrap Firefox for Android: mozboot.base does not yet implement install_mobile_android_packages() Expected results: Expected Firefox for Android to be built successfully
Component: Untriaged → Build Config
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64
Version: 37 Branch → unspecified
The issue is that `/python/mozboot/fedora.py` does not implement `install_mobile_android_packages()`. The base class `python/mozboot/mozboot/base.py` throws an exception if this method is not implemented by a subclass. This was added in Rev 248706. I've patched this locally and will submit upstream after I clean it up.
Duplicate of Bug 1232486
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.