Closed Bug 1042068 Opened 10 years ago Closed 8 years ago

terminal-notifier not installed by default

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(firefox49 fixed)

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: lmandel, Assigned: Nat)

References

Details

Attachments

(1 file)

I see the following error when executing bootstrap.py on OSX 10.9.4.


$ python bootstrap.py

Looks like you have Homebrew installed. We will install all required packages via Homebrew.


We are now installing all required packages via Homebrew. You will see a lot of
output as packages are built.

Homebrew 0.9.4
Error: No available formula for terminal-notifier 
Traceback (most recent call last):
  File "bootstrap.py", line 152, in <module>
    sys.exit(main(sys.argv))
  File "bootstrap.py", line 143, in main
    dasboot.bootstrap()
  File "/var/folders/wg/qmvdnqnx7cq4z27jwp3dyr3h0000gn/T/tmpqshIxr/mozboot/bootstrap.py", line 96, in bootstrap
    files = fetch_files(repo_url, repo_type)
  File "/var/folders/wg/qmvdnqnx7cq4z27jwp3dyr3h0000gn/T/tmpqshIxr/mozboot/osx.py", line 180, in install_system_packages
  File "/var/folders/wg/qmvdnqnx7cq4z27jwp3dyr3h0000gn/T/tmpqshIxr/mozboot/osx.py", line 289, in ensure_homebrew_packages
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 542, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '[u'/usr/local/bin/brew', u'-v', u'install', u'terminal-notifier']' returned non-zero exit status 1
Following the instructions at the following link has allowed me to complete the setup. https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Mac_OS_X_Prerequisites#2.1a_Install_Dependencies_via_Homebrew

It may be of note that I had to run 'brew up' in order to successfully install the prereqs.
Assignee: nobody → nhakkakzadeh
Status: NEW → ASSIGNED
Before, ./mach build would try to use terminal-notifier after building, but would not be able to since it isn't installed.

Review commit: https://reviewboard.mozilla.org/r/54706/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/54706/
Attachment #8755640 - Flags: review?(gps)
Attachment #8755640 - Flags: review?(gps) → review+
Comment on attachment 8755640 [details]
MozReview Request: Bug 1042068 - Added terminal-notifier to the list of packages that should be installed with homebrew.

https://reviewboard.mozilla.org/r/54706/#review51324

Please add a blank line in your commit message after the first line and resubmit.
Comment on attachment 8755640 [details]
MozReview Request: Bug 1042068 - Added terminal-notifier to the list of packages that should be installed with homebrew.

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/54706/diff/1-2/
Back when this bug was filed, not all versions of OS X supported terminal-notifier. Now that we're a few years later, this should no longer be a problem. So installing terminal-notifier globally should be safe. See also bug 913276.
Summary: Homebrew 0.9.4 Error: No available formula for terminal-notifier → terminal-notifier not installed by default
https://hg.mozilla.org/mozilla-central/rev/d174ac797c08
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: