I just received a new Mac Mini, so I thought I'd use the new
bootstrapping feature to get the development system set up. I ran into
a problem though. I'll file a bug, but also wanted to document it
here:

1. Installed Homebrew using the ruby snippet from the Homebrew website [1]
2. Installed wget using: brew install wget
3. Used the wget snippet at [2] to start the boostrap set up
4. During the Android NDK install, I hit an error:

Error: No available formula for android-ndk-r8e
Searching formulae...
Searching taps...
Traceback (most recent call last):
  File "bootstrap.py", line 154, in <module>
    sys.exit(main(sys.argv))
  File "bootstrap.py", line 145, in main
    dasboot.bootstrap()
  File 
"/var/folders/xw/7cz3cndd4dz1c42n6fc6q_5c0000gn/T/tmpaEHTxf/mozboot/bootstrap.py",
line 115, in bootstrap
    # This should always work.
  File 
"/var/folders/xw/7cz3cndd4dz1c42n6fc6q_5c0000gn/T/tmpaEHTxf/mozboot/osx.py",
line 191, in install_mobile_android_packages
  File 
"/var/folders/xw/7cz3cndd4dz1c42n6fc6q_5c0000gn/T/tmpaEHTxf/mozboot/osx.py",
line 335, in ensure_homebrew_mobile_android_packages
  File 
"/var/folders/xw/7cz3cndd4dz1c42n6fc6q_5c0000gn/T/tmpaEHTxf/mozboot/osx.py",
line 290, in _ensure_homebrew_packages
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '[u'/usr/local/bin/brew',
u'install', u'android-ndk-r8e.rb']' returned non-zero exit status 1

Filed as https://bugzilla.mozilla.org/show_bug.cgi?id=1117357

[1] http://brew.sh/
[2] https://wiki.mozilla.org/Mobile/Fennec/Android#ac

On Tue, Dec 23, 2014 at 6:23 PM, Nicholas Alexander
<[email protected]> wrote:
> Hi folks,
>
> Following up on my blog post [1], I just landed Bug 1108771 [2] on fx-team.
> The patches implement |mach bootstrap| for mobile/android, at least on Mac
> OS X and Debian-like Linux systems.  We have some additional tickets filed
> for supporting other Linuxes (it's relatively easy to add support and I will
> mentor and review).  Try it out!
>
> I've completely over-hauled the Building Fennec documentation at [3] to
> focus on the case where |mach bootstrap| works.  I've also simplified and
> removed what cruft I could identify; and I've focused on first Mac OS X and
> second Linux hosts because those are our two largest developer populations.
>
> Please point folks trying to build Fennec to that documentation and feed
> back whether bootstrapping is working in the wild, and whether we need to
> add new platforms.  And please let me know -- or better yet, correct the
> wiki -- if I've removed essential information or added incorrect
> information.
>
> Let's make 2015 better for ourselves and our community!
> Nick
>
> [1]
> http://www.ncalexander.net/blog/2014/12/08/the-firefox-for-android-build-system-in-2015/
>
> [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1108771
>
> [3] https://wiki.mozilla.org/Mobile/Fennec/Android#Building_Fennec
>
>
> _______________________________________________
> mobile-firefox-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/mobile-firefox-dev
>
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to